NUnitAsp

WebAssert.NotVisible Method (Tester, String)

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 tester,
   string message
);

Parameters

tester
The tester for the control to check.
message
The error message to display if the assertion fails.

See Also

WebAssert Class | NUnit.Extensions.Asp Namespace | WebAssert.NotVisible Overload List