Class DesktopFind
Inheritance
System.Object
DesktopFind
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: ArtOfTest.WebAii.dll
Syntax
Properties
Declaration
public IDesktopAutomationHost OwnerHost { get; }
Property Value
Methods
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
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
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
Declaration
public DesktopElement[] AllByExpression(DesktopFindExpression expression, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters
Returns
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
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
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
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
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
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
Declaration
public DesktopElement ByExpression(DesktopFindExpression expression, int maxDepth = 50, int maxRetries = 3, int retryDelay = 250)
Parameters
Returns
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
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