New to Telerik Test StudioStart a free 30-day trial

Definition

Namespace:ArtOfTest.Common

Assembly:ArtOfTest.WebAii.dll

Syntax:

C#
public class WaitAsync

Inheritance: objectWaitAsync

Derived Classes: WaitSync

Constructors

C#
public WaitAsync(int timeout, int checkInterval)
Parameters:timeoutintcheckIntervalint

Properties

C#
public int CheckInterval { get; set; }

Methods

C#
public virtual void For<T, V>(Func<T, V, bool> func, T target, V custom, bool invertCondition, int timeout, WaitResultType errorResultType)
Parameters:funcFunc<T, V, bool>targetTcustomVinvertConditionbooltimeoutinterrorResultTypeWaitResultType
C#
public virtual void For<T, V>(Func<T, V, bool> func, T target, V custom, bool invertCondition, int timeout)
Parameters:funcFunc<T, V, bool>targetTcustomVinvertConditionbooltimeoutint
C#
public virtual void For<T>(Predicate<T> predicate, T target, bool invertCondition, int timeout, WaitResultType errorResultType)
Parameters:predicatePredicate<T>targetTinvertConditionbooltimeoutinterrorResultTypeWaitResultType
C#
public virtual void For<T>(Predicate<T> predicate, T target, bool invertCondition, int timeout)
Parameters:predicatePredicate<T>targetTinvertConditionbooltimeoutint
C#
protected void OnWaitComplete(WaitCompleteEventArgs args)
Parameters:argsWaitCompleteEventArgs

Events

C#
public event EventHandler<WaitCompleteEventArgs> WaitCompleted