Class
VerificationWaitResult

Represents the result of a verification acting as a wait.

Definition

Namespace:ArtOfTest.Common.Design.Extensibility

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class VerificationWaitResult : IVerificationResult

Inheritance: objectVerificationWaitResult

Implements: IVerificationResult

Constructors

VerificationWaitResult()

Empty constructor for serialization.

Declaration

cs-api-definition
public VerificationWaitResult()

VerificationWaitResult(WaitResult, VerificationResult, DescriptorValueStore)

Create a new VerificationWaitResult

Declaration

cs-api-definition
public VerificationWaitResult(WaitResult waitResult, VerificationResult verificationOutcome, DescriptorValueStore valueStore)

Parameters

waitResult

WaitResult

The wait result from the WaitSync object.

verificationOutcome

VerificationResult

The VerificationResult outcome

valueStore

DescriptorValueStore

Properties

ErrorMessage

Gets the error message in case of an error.

Declaration

cs-api-definition
public string ErrorMessage { get; }

Property Value

string

Implements IVerificationResult.ErrorMessage

Passed

Determines if the wait condition was met.

Declaration

cs-api-definition
public bool Passed { get; }

Property Value

bool

Implements IVerificationResult.Passed

ValueStore

Gets the value store

Declaration

cs-api-definition
public DescriptorValueStore ValueStore { get; }

Property Value

DescriptorValueStore

VerificationOutcome

Contains the verification outcome at the end of the wait. In case of a Timeout, this can give us an indicator why the wait did not pass.

Declaration

cs-api-definition
public VerificationResult VerificationOutcome { get; }

Property Value

VerificationResult

WaitResult

Gets the WaitSync object's result. This will indicate to us whether there was a timeout, an unexpected exception during the wait...etc.

Declaration

cs-api-definition
public WaitResult WaitResult { get; }

Property Value

WaitResult