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.
|
Returns
T
|
Type Parameters
T
|
Exists()
Declaration
public bool Exists()
Returns
System.
|
InitControl(DesktopElement)
Declaration
protected virtual void InitControl(DesktopElement element)
Parameters
Desktop
|
PointsToSameAs(DesktopControl)
Declaration
public bool PointsToSameAs(DesktopControl control)
Parameters
Desktop
|
Returns
System.
|
ValidateControlType(Int32, String)
Declaration
protected void ValidateControlType(int controlType, string controlName)
Parameters
System.
|
System.
|
ValidatePatternAvailable(Int32, String)
Declaration
protected void ValidatePatternAvailable(int patternAvailableProperty, string patternName)
Parameters
System.
|
System.
|
WaitFor(Func<Boolean>, Int32, Int32)
Declaration
public bool WaitFor(Func<bool> predicate, int delay = 500, int timeout = 2500)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|
WaitForNoMotion(Int32, Int32)
Declaration
public bool WaitForNoMotion(int checkInterval = 500, int timeout = 2500)
Parameters
System.
|
System.
|
Returns
System.
|