public void UIAEdit_Text() { ObjectDescriptor descriptor = ObjectDescriptor.FromJson(calcJsonString); ITestObject parentObject = descriptor.GetObject(); UIATestObject button1Object = (UIATestObject)parentObject.FindRecursive(DescriptorKeys.NodeName, "1"); UIATestObject resultObject = (UIATestObject)parentObject.FindRecursive(DescriptorKeys.NodeName, "1"); UIAEdit uiaEdit = new UIAEdit(new UIACondition(resultObject)); }
public void LAPTest2() { //UIAWindow window = UIA.UIAWindow("LAP (Running) - Microsoft Visual Studio"); UIAEdit searchBox = UIAManager.UIAEdit("Search"); searchBox.Set("abcdef"); string text = searchBox.Text; Assert.AreEqual("abcdef", text); }