Class DesktopFind
Inheritance
Inherited Members
Namespace: ArtOfTest.WebAii.DesktopAutomation
Assembly: ArtOfTest.WebAii.dll
Syntax
public class DesktopFind
Properties
OwnerHost
Methods
AllByClassName(String, Int32, Int32, Int32)
Declaration
public DesktopElement[] AllByClassName(string className, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters
System.String
className
|
System.Int32
maxDepth
|
System.Int32
maxRetries
|
System.Int32
retryDelay
|
Returns
DesktopElement[]
|
AllByControlType(Int32, Int32, Int32, Int32)
Declaration
public DesktopElement[] AllByControlType(int controlType, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters
System.Int32
controlType
|
System.Int32
maxDepth
|
System.Int32
maxRetries
|
System.Int32
retryDelay
|
Returns
DesktopElement[]
|
AllByControlTypeName(String, Int32, Int32, Int32)
Declaration
public DesktopElement[] AllByControlTypeName(string controlTypeName, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters
System.String
controlTypeName
|
System.Int32
maxDepth
|
System.Int32
maxRetries
|
System.Int32
retryDelay
|
Returns
DesktopElement[]
|
AllByExpression(DesktopFindExpression, Int32, Int32, Int32)
Declaration
public DesktopElement[] AllByExpression(DesktopFindExpression expression, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters
DesktopFindExpression
expression
|
System.Int32
maxDepth
|
System.Int32
maxRetries
|
System.Int32
retryDelay
|
Returns
DesktopElement[]
|
AllByName(String, Int32, Int32, Int32)
Declaration
public DesktopElement[] AllByName(string name, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters
System.String
name
|
System.Int32
maxDepth
|
System.Int32
maxRetries
|
System.Int32
retryDelay
|
Returns
DesktopElement[]
|
AllByXPath(String, Int32, Int32, Int32)
Declaration
public DesktopElement[] AllByXPath(string xPath, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters
System.String
xPath
|
System.Int32
maxDepth
|
System.Int32
maxRetries
|
System.Int32
retryDelay
|
Returns
DesktopElement[]
|
ByAutomationId(String, Int32, Int32, Int32)
Declaration
public DesktopElement ByAutomationId(string id, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters
System.String
id
|
System.Int32
maxDepth
|
System.Int32
maxRetries
|
System.Int32
retryDelay
|
Returns
DesktopElement
|
ByClassName(String, Int32, Int32, Int32, Int32)
Declaration
public DesktopElement ByClassName(string className, int occurrence = 0, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters
System.String
className
|
System.Int32
occurrence
|
System.Int32
maxDepth
|
System.Int32
maxRetries
|
System.Int32
retryDelay
|
Returns
DesktopElement
|
ByControlType(Int32, Int32, Int32, Int32, Int32)
Declaration
public DesktopElement ByControlType(int controlType, int occurrence = 0, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters
System.Int32
controlType
|
System.Int32
occurrence
|
System.Int32
maxDepth
|
System.Int32
maxRetries
|
System.Int32
retryDelay
|
Returns
DesktopElement
|
ByControlTypeName(String, Int32, Int32, Int32, Int32)
Declaration
public DesktopElement ByControlTypeName(string controlTypeName, int occurrence = 0, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters
System.String
controlTypeName
|
System.Int32
occurrence
|
System.Int32
maxDepth
|
System.Int32
maxRetries
|
System.Int32
retryDelay
|
Returns
DesktopElement
|
ByExpression(DesktopFindExpression, Int32, Int32, Int32)
Declaration
public DesktopElement ByExpression(DesktopFindExpression expression, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters
DesktopFindExpression
expression
|
System.Int32
maxDepth
|
System.Int32
maxRetries
|
System.Int32
retryDelay
|
Returns
DesktopElement
|
ByName(String, Int32, Int32, Int32, Int32)
Declaration
public DesktopElement ByName(string name, int occurrence = 0, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters
System.String
name
|
System.Int32
occurrence
|
System.Int32
maxDepth
|
System.Int32
maxRetries
|
System.Int32
retryDelay
|
Returns
DesktopElement
|
ByXPath(String, Int32, Int32, Int32)
Declaration
public DesktopElement ByXPath(string xPath, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters
System.String
xPath
|
System.Int32
maxDepth
|
System.Int32
maxRetries
|
System.Int32
retryDelay
|
Returns
DesktopElement
|