/// <summary> /// For backwards compatibility; will be deprecated in the future. /// </summary> public static void AssertVisibility(ControlTester tester, bool expectedVisibility) { if (expectedVisibility) { WebAssert.Visible(tester); } else { WebAssert.NotVisible(tester); } }
/// <summary> /// Submit this form to the server. /// </summary> public void Submit() { WebAssert.Visible(this); browser.SubmitForm(this); }
/// <summary> /// Experimental. May change or go away in future revisions. Allows testers to /// assert that their control should be visible before some operations. Using /// this method provides clearer error messages to users of the tester. /// </summary> protected void AssertVisible() { WebAssert.Visible(this); }