Represents a test result.

interface TestCaseResult {
    afnStripId?: number;
    area?: ShallowReference;
    associatedBugs?: ShallowReference[];
    attempt?: number;
    automatedTestId?: string;
    automatedTestName?: string;
    automatedTestStorage?: string;
    automatedTestType?: string;
    automatedTestTypeId?: string;
    bucketingSystem?: string;
    bucketUid?: string;
    build?: ShallowReference;
    buildReference?: BuildReference;
    buildType?: string;
    comment?: string;
    completedDate?: Date;
    computerName?: string;
    configuration?: ShallowReference;
    createdDate?: Date;
    customFields?: CustomTestField[];
    dimensions?: TestResultDimension[];
    durationInMs?: number;
    errorMessage?: string;
    exceptionType?: string;
    executionNumber?: number;
    failingSince?: FailingSince;
    failureType?: string;
    id?: number;
    isSystemIssue?: boolean;
    iterationDetails?: TestIterationDetailsModel[];
    lastUpdatedBy?: IdentityRef;
    lastUpdatedDate?: Date;
    layoutUid?: string;
    links?: Link[];
    locale?: string;
    outcome?: string;
    owner?: IdentityRef;
    priority?: number;
    project?: ShallowReference;
    release?: ShallowReference;
    releaseReference?: ReleaseReference;
    resetCount?: number;
    resolutionState?: string;
    resolutionStateId?: number;
    resultGroupType?: ResultGroupType;
    revision?: number;
    runBy?: IdentityRef;
    stackTrace?: string;
    startedDate?: Date;
    state?: string;
    subResults?: TestSubResult[];
    testCase?: ShallowReference;
    testCaseReferenceId?: number;
    testCaseRevision?: number;
    testCaseTitle?: string;
    testPhase?: string;
    testPlan?: ShallowReference;
    testPoint?: ShallowReference;
    testRun?: ShallowReference;
    testSuite?: ShallowReference;
    topologyId?: number;
    url?: string;
}

Properties

afnStripId?: number

Test attachment ID of action recording.

Reference to area path of test.

associatedBugs?: ShallowReference[]

Reference to bugs linked to test result.

attempt?: number

Attempt

automatedTestId?: string

ID representing test method in a dll.

automatedTestName?: string

Fully qualified name of test executed.

automatedTestStorage?: string

Container to which test belongs.

automatedTestType?: string

Type of automated test.

automatedTestTypeId?: string

TypeId of automated test.

bucketingSystem?: string

Bucketing System

bucketUid?: string

Bucket Uid

Shallow reference to build associated with test result.

buildReference?: BuildReference

Reference to build associated with test result.

buildType?: string

Type of build

comment?: string

Comment in a test result with maxSize= 1000 chars.

completedDate?: Date

Time when test execution completed(UTC). Completed date should be greater than StartedDate.

computerName?: string

Machine name where test executed.

configuration?: ShallowReference

Reference to test configuration. Type ShallowReference.

createdDate?: Date

Timestamp when test result created(UTC).

customFields?: CustomTestField[]

Additional properties of test result.

dimensions?: TestResultDimension[]

Dimensions

durationInMs?: number

Duration of test execution in milliseconds. If not provided value will be set as CompletedDate - StartedDate

errorMessage?: string

Error message in test execution.

exceptionType?: string

Exception Type

executionNumber?: number

Execution number

failingSince?: FailingSince

Information when test results started failing.

failureType?: string

Failure type of test result. Valid Value= (Known Issue, New Issue, Regression, Unknown, None)

id?: number

ID of a test result.

isSystemIssue?: boolean

boolean that holds whether it is a system issue or not

iterationDetails?: TestIterationDetailsModel[]

Test result details of test iterations used only for Manual Testing.

lastUpdatedBy?: IdentityRef

Reference to identity last updated test result.

lastUpdatedDate?: Date

Last updated datetime of test result(UTC).

layoutUid?: string

LayoutId

links?: Link[]

Links Valid values for "type" property = (MoreInfo, ResultInvestigation, TestInfo)

locale?: string

Locale

outcome?: string

Test outcome of test result. Valid values = (Unspecified, None, Passed, Failed, Inconclusive, Timeout, Aborted, Blocked, NotExecuted, Warning, Error, NotApplicable, Paused, InProgress, NotImpacted)

owner?: IdentityRef

Reference to test owner.

priority?: number

Priority of test executed.

Reference to team project.

Shallow reference to release associated with test result.

releaseReference?: ReleaseReference

Reference to release associated with test result.

resetCount?: number

ResetCount.

resolutionState?: string

Resolution state of test result.

resolutionStateId?: number

ID of resolution state.

resultGroupType?: ResultGroupType

Hierarchy type of the result, default value of None means its leaf node.

revision?: number

Revision number of test result.

runBy?: IdentityRef

Reference to identity executed the test.

stackTrace?: string

Stacktrace with maxSize= 1000 chars.

startedDate?: Date

Time when test execution started(UTC).

state?: string

State of test result. Type TestRunState.

subResults?: TestSubResult[]

List of sub results inside a test result, if ResultGroupType is not None, it holds corresponding type sub results.

testCase?: ShallowReference

Reference to the test executed.

testCaseReferenceId?: number

Reference ID of test used by test result. Type TestResultMetaData

testCaseRevision?: number

TestCaseRevision Number.

testCaseTitle?: string

Name of test.

testPhase?: string

build phase Valid Value= (SystemSetup, UserSetup, Test, UserCleanup, SystemCleanup)

testPlan?: ShallowReference

Reference to test plan test case workitem is part of.

testPoint?: ShallowReference

Reference to the test point executed.

Reference to test run.

testSuite?: ShallowReference

Reference to test suite test case workitem is part of.

topologyId?: number

Topology Id

url?: string

Url of test result.