NUnitAsp

WebAssert.NotVisible Method

Asserts that a specific control is not on the current web page, or if it is, its "Visible" parameter is set to "false." This method does not distinguish between non-existant controls and non-visible controls: use with caution.

Overload List

Asserts that a specific control is not on the current web page, or if it is, its "Visible" parameter is set to "false." This method does not distinguish between non-existant controls and non-visible controls: use with caution.

public static void NotVisible(Tester);

Asserts that a specific control is not on the current web page, with the "Visible" parameter set to "true." This method does not assert that the control is actually visible to the user.

public static void NotVisible(Tester,string);

See Also

WebAssert Class | NUnit.Extensions.Asp Namespace