Assert methods based on the HtmlControl's style.
Namespace: ArtOfTest.WebAii.Controls.HtmlControls
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
Parameters
- control
- Type: ArtOfTest.WebAii.Controls.HtmlControlsHtmlControl
The HtmlControl being tested. - throwOnFailure
- Type: SystemBoolean
Whether this assert object should throw an exception if the check fails
Return Value
Type: AssertStyleAn AssertStyle object initializated to this HTML cotnrol.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type HtmlControl. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also