public void LAPTest3() { UIAManager.UIAWindow("LAP (Running) - Microsoft Visual Studio").UIAPane("Test Explorer").UIACustom("Search Control").UIAEdit("Search").Set("123456"); string text = UIAManager.UIAWindow("LAP (Running) - Microsoft Visual Studio").UIAPane("Test Explorer").UIACustom("Search Control").UIAEdit("Search").Text; Assert.AreEqual("123456", text); //ITestObject testObject = ControlSearcher.GetTO(null, ControlType.Button, condition1, condition2); }
public void LAPTest1() { UIAWindow window = UIAManager.UIAWindow("LAP (Running) - Microsoft Visual Studio"); UIAEdit searchBox = (UIAEdit)UIAManager.UIAWindow("LAP (Running) - Microsoft Visual Studio").UIAEdit("Search"); searchBox.Set("abcdef"); string text = searchBox.Text; Assert.AreEqual("abcdef", text); }