The trick to this is that you must find the class name of the form. The caption won't cut it for non-messagebox modals.
- public void SendTransaction()
- FormTester ft = LaunchForm();
- ButtonTester bt = new ButtonTester("cmdApply", ft.Properties);
- private void CloseUpdateWindow()
- FormTester ft = new FormTester("UpdateInfo");
- Assert.IsTrue(ft.Text == "Updated successfully");
You need to login to post a comment.