/ Published in: C#

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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
[Test] public void SendTransaction() { FormTester ft = LaunchForm(); FillFormDetails(ft); ExpectModal("UpdateInfo","CloseUpdateWindow"); bt.Click(); } private void CloseUpdateWindow() { Assert.IsTrue(ft.Text == "Updated successfully"); ft.Close(); }
Comments
