ClassDesktopFindClause
Holds a single clause as part of a desktop element FindExpression.
Definition
Namespace:ArtOfTest.WebAii.DesktopAutomation.FindExpressions
Assembly:ArtOfTest.WebAii.dll
Syntax:
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0")]
public class DesktopFindClause : FindClause
Inheritance: objectFindClauseDesktopFindClause
Inherited Members
Constructors
DesktopFindClause()
Create new instance of DesktopFindClause class.
Declaration
public DesktopFindClause()
DesktopFindClause(string)
Create new instance of DesktopFindClause class.
Declaration
public DesktopFindClause(string clause)
Parameters
clause
A clause expression.
Methods
ExtractValue(string, ITargetElement)
Given a specific search term, get the actual value from the passed in target element.
Declaration
public override string ExtractValue(string propertyName, ITargetElement element)
Parameters
propertyName
element
The target element to use.
Returns
The actual value of that search term.
Overrides
Match(ITargetElement)
Match this expression.
Declaration
public override bool Match(ITargetElement element)
Parameters
element
The element to match
Returns
True/False whether the clause matches this element.
Overrides
Match(ITargetElement, ITargetElement)
Match this expression starting at a specific element
Declaration
public override bool Match(ITargetElement element, ITargetElement startElement)
Parameters
element
startElement
Returns
Overrides
OnParsed()
Called once the expression is parsed. Extenders can override this method to allow for post processing after parsing.
Declaration
public override void OnParsed()
Overrides