Represents a test step result.

interface TestActionResultModel {
    actionPath?: string;
    comment?: string;
    completedDate?: Date;
    durationInMs?: number;
    errorMessage?: string;
    iterationId?: number;
    outcome?: string;
    sharedStepModel?: SharedStepModel;
    startedDate?: Date;
    stepIdentifier?: string;
    url?: string;
}

Hierarchy (View Summary)

Properties

actionPath?: string

Path identifier for test step in test case workitem. Note: 1) It is represented in Hexadecimal format with 8 digits for a step. 2) Internally, the step ID value for first step starts with 2 so actionPath = 00000002 step 9, will have an ID = 10 and actionPath = 0000000a step 15, will have an ID =16 and actionPath = 00000010 3) actionPath of shared step is concatenated with the parent step of test case. Example, it would be something of type - 0000000300000001 where 00000003 denotes action path of test step and 00000001 denotes action path for shared step

comment?: string

Comment in result.

completedDate?: Date

Time when execution completed(UTC).

durationInMs?: number

Duration of execution.

errorMessage?: string

Error message in result.

iterationId?: number

Iteration ID of test action result.

outcome?: string

Test outcome of result.

sharedStepModel?: SharedStepModel

Reference to shared step workitem.

startedDate?: Date

Time when execution started(UTC).

stepIdentifier?: string

This is step Id of test case. For shared step, it is step Id of shared step in test case workitem; step Id in shared step. Example: TestCase workitem has two steps: 1) Normal step with Id = 1 2) Shared Step with Id = 2. Inside shared step: a) Normal Step with Id = 1 Value for StepIdentifier for First step: "1" Second step: "2;1"

url?: string

Url of test action result. Deprecated in hosted environment.