Class
ElementFindResult

Represents a result of a search for an element using a FindExpression

Definition

Namespace:ArtOfTest.Common.Design.Extensibility

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class ElementFindResult

Inheritance: objectElementFindResult

Constructors

ElementFindResult()

Declaration

cs-api-definition
public ElementFindResult()

ElementFindResult(bool, string, FindExpressionElement)

Declaration

cs-api-definition
public ElementFindResult(bool found, string error, FindExpressionElement expr)

Parameters

found

bool

error

string

expr

FindExpressionElement

Properties

ErrorMessage

Declaration

cs-api-definition
public string ErrorMessage { get; set; }

Property Value

string

Expression

Gets the find expression

Declaration

cs-api-definition
public FindExpressionElement Expression { get; set; }

Property Value

FindExpressionElement

Found

Declaration

cs-api-definition
public bool Found { get; set; }

Property Value

bool

FoundByImage

Declaration

cs-api-definition
public bool FoundByImage { get; set; }

Property Value

bool

ImageClause

Declaration

cs-api-definition
public ImageSearchClause ImageClause { get; set; }

Property Value

ImageSearchClause

TargetHost

Gets or sets the target host.

Declaration

cs-api-definition
public IAutomationHost TargetHost { get; set; }

Property Value

IAutomationHost