New to Telerik Test StudioStart a free 30-day trial

Definition

Namespace:ArtOfTest.WebAii.DesktopAutomation

Assembly:ArtOfTest.WebAii.dll

Syntax:

C#
public class DesktopFind

Inheritance: objectDesktopFind

Properties

C#
public IDesktopAutomationHost OwnerHost { get; }

Methods

C#
public DesktopElement[] AllByClassName(string className, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters:classNamestringmaxDepthintmaxRetriesintretryDelayintReturns:

DesktopElement[]

C#
public DesktopElement[] AllByControlType(int controlType, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters:controlTypeintmaxDepthintmaxRetriesintretryDelayintReturns:

DesktopElement[]

C#
public DesktopElement[] AllByControlTypeName(string controlTypeName, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters:controlTypeNamestringmaxDepthintmaxRetriesintretryDelayintReturns:

DesktopElement[]

C#
public DesktopElement[] AllByExpression(DesktopFindExpression expression, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters:expressionDesktopFindExpressionmaxDepthintmaxRetriesintretryDelayintReturns:

DesktopElement[]

C#
public DesktopElement[] AllByName(string name, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters:namestringmaxDepthintmaxRetriesintretryDelayintReturns:

DesktopElement[]

C#
public DesktopElement[] AllByXPath(string xPath, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters:xPathstringmaxDepthintmaxRetriesintretryDelayintReturns:

DesktopElement[]

C#
public DesktopElement ByAutomationId(string id, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters:idstringmaxDepthintmaxRetriesintretryDelayintReturns:

DesktopElement

C#
public DesktopElement ByClassName(string className, int occurrence = 0, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters:classNamestringoccurrenceintmaxDepthintmaxRetriesintretryDelayintReturns:

DesktopElement

C#
public DesktopElement ByControlType(int controlType, int occurrence = 0, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters:controlTypeintoccurrenceintmaxDepthintmaxRetriesintretryDelayintReturns:

DesktopElement

C#
public DesktopElement ByControlTypeName(string controlTypeName, int occurrence = 0, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters:controlTypeNamestringoccurrenceintmaxDepthintmaxRetriesintretryDelayintReturns:

DesktopElement

C#
public DesktopElement ByExpression(DesktopFindExpression expression, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters:expressionDesktopFindExpressionmaxDepthintmaxRetriesintretryDelayintReturns:

DesktopElement

C#
public DesktopElement ByName(string name, int occurrence = 0, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters:namestringoccurrenceintmaxDepthintmaxRetriesintretryDelayintReturns:

DesktopElement

C#
public DesktopElement ByXPath(string xPath, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters:xPathstringmaxDepthintmaxRetriesintretryDelayintReturns:

DesktopElement