HtmlControlsAssertExtensionsAssertAttribute Method (HtmlControl, Boolean)

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Assert methods based on the HtmlControl's attributes

Namespace:  ArtOfTest.WebAii.Controls.HtmlControls
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)

public static AssertAttribute AssertAttribute(
	this HtmlControl control,
	bool throwOnFailure


Type: ArtOfTest.WebAii.Controls.HtmlControlsHtmlControl
The HtmlControl being tested
Type: SystemBoolean
Whether to throw an exception if the assertion fails

Return Value

Type: AssertAttribute
An AssertAttribute object initialized to this HTML control

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