Class DesktopControl
Inheritance
System.Object
DesktopControl
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()
Namespace: ArtOfTest.WebAii.DesktopAutomation.Controls
Assembly: ArtOfTest.WebAii.dll
Syntax
public class DesktopControl
Constructors
DesktopControl()
Declaration
public DesktopControl()
Fields
element
Properties
Element
Find
User
Methods
CreateOrNull<T>(Func<T>)
Declaration
protected T CreateOrNull<T>(Func<T> creator)
Parameters
System.Func<T>
creator
|
Returns
T
|
Type Parameters
T
|
Exists()
Declaration
public bool Exists()
Returns
System.Boolean
|
InitControl(DesktopElement)
Declaration
protected virtual void InitControl(DesktopElement element)
Parameters
DesktopElement
element
|
PointsToSameAs(DesktopControl)
Declaration
public bool PointsToSameAs(DesktopControl control)
Parameters
DesktopControl
control
|
Returns
System.Boolean
|
ValidateControlType(Int32, String)
Declaration
protected void ValidateControlType(int controlType, string controlName)
Parameters
System.Int32
controlType
|
System.String
controlName
|
ValidatePatternAvailable(Int32, String)
Declaration
protected void ValidatePatternAvailable(int patternAvailableProperty, string patternName)
Parameters
System.Int32
patternAvailableProperty
|
System.String
patternName
|
WaitFor(Func<Boolean>, Int32, Int32)
Declaration
public bool WaitFor(Func<bool> predicate, int delay = 500, int timeout = 2500)
Parameters
System.Func<System.Boolean>
predicate
|
System.Int32
delay
|
System.Int32
timeout
|
Returns
System.Boolean
|
WaitForNoMotion(Int32, Int32)
Declaration
public bool WaitForNoMotion(int checkInterval = 500, int timeout = 2500)
Parameters
System.Int32
checkInterval
|
System.Int32
timeout
|
Returns
System.Boolean
|