InterfaceIFindExpressionGenerator
Generates FindExpression objects to locate target elements
Definition
Namespace:ArtOfTest.Common.Design.Extensibility
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
public interface IFindExpressionGenerator
Properties
Scheme
Gets / Sets the scheme used to create FindExpressions
Declaration
IdentificationOptionsScheme Scheme { get; set; }
Property Value
Methods
BuildChainExpressionByParent(ITargetElement, ITargetElement)
Creates a chained FindExpression to locate an element relative to its parent
Declaration
IFindExpression BuildChainExpressionByParent(ITargetElement element, ITargetElement parent)
Parameters
element
The element.
parent
The parent.
Returns
BuildFindExpression(ITargetElement)
Creates a FindExpression to locate an element. Also returns a human-readable identifier for the element.
Declaration
IFindExpression BuildFindExpression(ITargetElement element)
Parameters
element
The element for which we're generating a FindExpression
Returns
A FindExpression object that describes how to locate the element within it's containing context
GenerateFriendlyName(ITargetElement)
Generate a suggested friendly name for the passed in element
Declaration
string GenerateFriendlyName(ITargetElement element)
Parameters
element
The actual element.
Returns
The suggested friendly name
GetDefaultList()
Get the default list of identification descriptors to use for this technology.
Declaration
IdentificationDescriptorList GetDefaultList()
Returns
The identification list