public void Test03_ListWindowTextFields() { string windowName = "Documents"; if (WindowController.WindowExists(windowName)) { Dictionary <int, string> textFields = WindowController.GetTextFields(windowName); Assert.AreNotEqual(0, textFields.Count); } }
public void Test06_WriteToWindowTextFields() { string windowName = "Document1"; if (WindowController.WindowExists(windowName)) { Dictionary <int, string> textFields = WindowController.GetTextFields(windowName); Assert.AreNotEqual(0, textFields.Count); for (int i = 0; i < textFields.Count; i++) { WindowController.WriteToTextBox(windowName, i, string.Format("Test Write {0}", i.ToString("15"))); } } }