Interface
IFindExpressionGenerator

Generates FindExpression objects to locate target elements

Definition

Namespace:ArtOfTest.Common.Design.Extensibility

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public interface IFindExpressionGenerator

Properties

Scheme

Gets / Sets the scheme used to create FindExpressions

Declaration

cs-api-definition
IdentificationOptionsScheme Scheme { get; set; }

Property Value

IdentificationOptionsScheme

Methods

BuildChainExpressionByParent(ITargetElement, ITargetElement)

Creates a chained FindExpression to locate an element relative to its parent

Declaration

cs-api-definition
IFindExpression BuildChainExpressionByParent(ITargetElement element, ITargetElement parent)

Parameters

element

ITargetElement

The element.

parent

ITargetElement

The parent.

Returns

IFindExpression

BuildFindExpression(ITargetElement)

Creates a FindExpression to locate an element. Also returns a human-readable identifier for the element.

Declaration

cs-api-definition
IFindExpression BuildFindExpression(ITargetElement element)

Parameters

element

ITargetElement

The element for which we're generating a FindExpression

Returns

IFindExpression

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

cs-api-definition
string GenerateFriendlyName(ITargetElement element)

Parameters

element

ITargetElement

The actual element.

Returns

string

The suggested friendly name

GetDefaultList()

Get the default list of identification descriptors to use for this technology.

Declaration

cs-api-definition
IdentificationDescriptorList GetDefaultList()

Returns

IdentificationDescriptorList

The identification list