Class DesktopElementContainer
Inheritance
System.Object
DesktopElementContainer
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.TestTemplates
Assembly: ArtOfTest.WebAii.dll
Syntax
public abstract class DesktopElementContainer : ElementContainer<DesktopElement, DesktopFindExpression>
Constructors
DesktopElementContainer(DesktopFind)
Properties
EnsureClickable
Declaration
public bool EnsureClickable { get; set; }
Property Value
System.Boolean
|
Find
Methods
Get(DesktopFindExpression)
Declaration
public override DesktopElement Get(DesktopFindExpression expr)
Parameters
DesktopFindExpression
expr
|
Returns
DesktopElement
|
Overrides
ArtOfTest.WebAii.TestTemplates.ElementContainer<ArtOfTest.WebAii.DesktopAutomation.DesktopElement, ArtOfTest.WebAii.DesktopAutomation.FindExpressions.DesktopFindExpression>.Get(ArtOfTest.WebAii.DesktopAutomation.FindExpressions.DesktopFindExpression)
Get<TControl>(DesktopFindExpression)
Declaration
public TControl Get<TControl>(DesktopFindExpression expr)
where TControl : DesktopControl, new()
Parameters
DesktopFindExpression
expr
|
Returns
TControl
|
Type Parameters
TControl
|
Get<TControl>(DesktopFindExpression, Boolean, Int32)
Declaration
public TControl Get<TControl>(DesktopFindExpression expr, bool waitOnElement, int timeout)
where TControl : DesktopControl, new()
Parameters
DesktopFindExpression
expr
|
System.Boolean
waitOnElement
|
System.Int32
timeout
|
Returns
TControl
|
Type Parameters
TControl
|
Get<TControl>(String[])
Declaration
public TControl Get<TControl>(params string[] clauses)
where TControl : DesktopControl, new()
Parameters
System.String[]
clauses
|
Returns
TControl
|
Type Parameters
TControl
|
GetElement(DesktopFindExpression, Boolean, Int32)
Declaration
protected override DesktopElement GetElement(DesktopFindExpression expr, bool waitOnElement, int timeout)
Parameters
DesktopFindExpression
expr
|
System.Boolean
waitOnElement
|
System.Int32
timeout
|
Returns
DesktopElement
|
Overrides
ArtOfTest.WebAii.TestTemplates.ElementContainer<ArtOfTest.WebAii.DesktopAutomation.DesktopElement, ArtOfTest.WebAii.DesktopAutomation.FindExpressions.DesktopFindExpression>.GetElement(ArtOfTest.WebAii.DesktopAutomation.FindExpressions.DesktopFindExpression, System.Boolean, System.Int32)
WaitFor(Func<Boolean>, Boolean, Int32, Int32)
Declaration
public void WaitFor(Func<bool> predicate, bool stopOnException = false, int delay = 500, int timeout = 2500)
Parameters
System.Func<System.Boolean>
predicate
|
System.Boolean
stopOnException
|
System.Int32
delay
|
System.Int32
timeout
|
WaitForNot(Func<Boolean>, Boolean, Int32, Int32)
Declaration
public void WaitForNot(Func<bool> predicate, bool stopOnException = false, int delay = 500, int timeout = 2500)
Parameters
System.Func<System.Boolean>
predicate
|
System.Boolean
stopOnException
|
System.Int32
delay
|
System.Int32
timeout
|