New to Telerik Test StudioStart a free 30-day trial

Definition

Namespace:ArtOfTest.Common

Assembly:ArtOfTest.WebAii.dll

Syntax:

C#
public class WaitSync : WaitAsync

Inheritance: objectWaitAsyncWaitSync

Inherited Members WaitAsync.OnWaitComplete(WaitCompleteEventArgs)WaitAsync.CheckIntervalWaitAsync.WaitCompleted

Constructors

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

Properties

C#
public bool AutoCheckResult { get; set; }
C#
public int PendingTaskTimeout { get; set; }
C#
public WaitResult SyncWaitResult { get; }

Methods

C#
public static void CheckResult(WaitSync wait, string extraExceptionInfo, object target = null)
Parameters:waitWaitSyncextraExceptionInfostringtargetobject
C#
public static void CheckResult(WaitSync wait)
Parameters:waitWaitSync
C#
public override 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

Overrides: WaitAsync.For<T, V>(Func<T, V, bool>, T, V, bool, int, WaitResultType)

C#
public override void For<T, V>(Func<T, V, bool> func, T target, V custom, bool invertCondition, int timeout)
Parameters:funcFunc<T, V, bool>targetTcustomVinvertConditionbooltimeoutint

Overrides: WaitAsync.For<T, V>(Func<T, V, bool>, T, V, bool, int)

C#
public void For<T, V>(Func<T, V, bool> func, T target, V custom, int timeout)
Parameters:funcFunc<T, V, bool>targetTcustomVtimeoutint
C#
public void For<T>(Func<T, bool> assert, T control, int timeout, int checkInterval, object target)
Parameters:assertFunc<T, bool>controlTtimeoutintcheckIntervalinttargetobject
C#
public override void For<T>(Predicate<T> predicate, T target, bool invertCondition, int timeout, WaitResultType errorResultType)
Parameters:predicatePredicate<T>targetTinvertConditionbooltimeoutinterrorResultTypeWaitResultType

Overrides: WaitAsync.For<T>(Predicate<T>, T, bool, int, WaitResultType)

C#
public override void For<T>(Predicate<T> predicate, T target, bool invertCondition, int timeout)
Parameters:predicatePredicate<T>targetTinvertConditionbooltimeoutint

Overrides: WaitAsync.For<T>(Predicate<T>, T, bool, int)

C#
public void For<T>(Predicate<T> predicate, T target, int timeout)
Parameters:predicatePredicate<T>targetTtimeoutint