ClassAssertCheck
Class
Assert the checked state for a CheckBox or RadioButton input
Definition
Namespace:ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts
Assembly:ArtOfTest.WebAii.dll
Syntax:
cs-api-definition
public class AssertCheck : BaseControlAssert<HtmlInputControl>
Inheritance: objectBaseControlAssert<HtmlInputControl>AssertCheck
Inherited Members
Constructors
AssertCheck(HtmlInputControl)
Create a new AssertCheck
Declaration
cs-api-definition
public AssertCheck(HtmlInputControl control)
Parameters
control
The control to perform assert against.
AssertCheck(bool)
Create a new AssertCheck
Declaration
cs-api-definition
public AssertCheck(bool throwOnFailure)
Parameters
throwOnFailure
Whether this object throws an exception when a check fails
Methods
IsFalse()
Assert if it is checked.
Declaration
cs-api-definition
public bool IsFalse()
Returns
True if the values match else will throw an AssertException.