Ejemplo n.º 1
0
        public void HtmlEdit_Wrap_Succeeds()
        {
            GoogleHomePage pgGHomePage = BrowserWindowUnderTest.Launch<GoogleHomePage>("http://www.google.com");

            CUITControls.HtmlEdit tmp = new CUITControls.HtmlEdit(pgGHomePage);
            tmp.SearchProperties.Add("Id", "lst-ib");

            HtmlEdit txtEdit = new HtmlEdit();
            txtEdit.WrapReady(tmp);
            txtEdit.SetText("Coded UI Test enhanced Framework");
            GoogleSearch pgSearch = BrowserWindowUnderTest.GetBrowserWindow<GoogleSearch>();
            pgSearch.Close();
        }