WaitSync Class

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Waits Synchronously for a condition.
Inheritance Hierarchy

SystemObject
  ArtOfTest.CommonWaitAsync
    ArtOfTest.CommonWaitSync

Namespace:  ArtOfTest.Common
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

public class WaitSync : WaitAsync

The WaitSync type exposes the following members.

Constructors

  NameDescription
Public methodWaitSync
Create a new synchronous wait object.
Top
Properties

  NameDescription
Public propertyAutoCheckResult
Gets or sets whether to automatically check for timeouts or errors once the wait is done. Default is true.
Public propertyCheckInterval
Gets or sets the check interval for this wait object.
(Inherited from WaitAsync.)
Public propertySyncWaitResult
Gets the result of the last synchronous wait.
Top
Methods

  NameDescription
Public methodStatic memberCheckResult(WaitSync)
Check the result of a WaitSync.
Public methodStatic memberCheckResult(WaitSync, String, Object)
Check the sync wait result.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodForT(PredicateT, T, Int32)
Wait for a custom condition defined by predicate on a pooled thread.
Public methodForT(PredicateT, T, Boolean, Int32)
Wait for an action async. Attach to WaitCompleted to get notification when wait is completed
(Inherited from WaitAsync.)
Public methodForT(PredicateT, T, Boolean, Int32)
Wait for a custom condition defined by predicate on a pooled thread.
(Overrides WaitAsyncForT(PredicateT, T, Boolean, Int32).)
Public methodForT(PredicateT, T, Boolean, Int32, WaitResultType) (Inherited from WaitAsync.)
Public methodForT(FuncT, Boolean, T, Int32, Int32, Object)
Wait for a specific assert.
Public methodForT(PredicateT, T, Boolean, Int32, WaitResultType) (Overrides WaitAsyncForT(PredicateT, T, Boolean, Int32, WaitResultType).)
Public methodForT, V(FuncT, V, Boolean, T, V, Int32)
Wait for a custom condition defined by func on a pooled thread.
Public methodForT, V(FuncT, V, Boolean, T, V, Boolean, Int32)
Wait for an action async. Attach to WaitCompleted to get notification when wait is completed
(Inherited from WaitAsync.)
Public methodForT, V(FuncT, V, Boolean, T, V, Boolean, Int32)
Wait for a custom condition defined by func on a pooled thread.
(Overrides WaitAsyncForT, V(FuncT, V, Boolean, T, V, Boolean, Int32).)
Public methodForT, V(FuncT, V, Boolean, T, V, Boolean, Int32, WaitResultType) (Inherited from WaitAsync.)
Public methodForT, V(FuncT, V, Boolean, T, V, Boolean, Int32, WaitResultType) (Overrides WaitAsyncForT, V(FuncT, V, Boolean, T, V, Boolean, Int32, WaitResultType).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnWaitComplete
Invoke the wait complete event.
(Inherited from WaitAsync.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events

  NameDescription
Public eventWaitCompleted
Triggered when the wait operation is completed
(Inherited from WaitAsync.)
Top
See Also

Reference