HtmlControlValidateControl Method

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Validate a HtmlControl using its LocatorExpression.

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

protected bool ValidateControl()

Return Value

Type: Boolean
true of the control validated successfully. Otherwise false.
Exceptions

ExceptionCondition
ArgumentExceptionThrown when the control does not match its FindExpression.
Remarks

ValidateControl uses LocatorExpression if both LocatorExpression and Locator are defined, and uses Locator only if LocatorExpression is not defined.
See Also

Reference