TestCaseResult interface

Represents a test result.

Properties

afnStripId

Test attachment ID of action recording.

analysisFailureGroups

AnalysisFailureGroups

area

Reference to area path of test.

associatedBugs

Reference to bugs linked to test result.

attempt

Attempt

automatedTestId

ID representing test method in a dll.

automatedTestName

Fully qualified name of test executed.

automatedTestStorage

Container to which test belongs.

automatedTestType

Type of automated test.

automatedTestTypeId

TypeId of automated test.

bucketingSystem

Bucketing System

bucketUid

Bucket Uid

build

Shallow reference to build associated with test result.

buildReference

Reference to build associated with test result.

buildType

Type of build

comment

Comment in a test result with maxSize= 1000 chars.

completedDate

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

computerName

Machine name where test executed.

configuration

Reference to test configuration. Type ShallowReference.

createdDate

Timestamp when test result created(UTC).

customFields

Array of custom data for additional categorization of the test result. Value of the CustomTestField cannot be more than 1KB.

dimensions

Dimensions

durationInMs

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

errorMessage

Error message in test execution.

exceptionType

Exception Type

executionNumber

Execution number

failingSince

Information when test results started failing.

failureType

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

id

ID of a test result.

isSystemIssue

boolean that holds whether it is a system issue or not

iterationDetails

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

lastUpdatedBy

Reference to identity last updated test result.

lastUpdatedDate

Last updated datetime of test result(UTC).

layoutUid

LayoutId

links

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

locale

Locale

outcome

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

owner

Reference to test owner.

priority

Priority of test executed.

project

Reference to team project.

release

Shallow reference to release associated with test result.

releaseReference

Reference to release associated with test result.

resetCount

ResetCount.

resolutionState

Resolution state of test result.

resolutionStateId

ID of resolution state.

resultGroupType

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

revision

Revision number of test result.

runBy

Reference to identity executed the test.

sourceSystemTestCaseId

TestCaseId for the testResult from the source system

stackTrace

Stacktrace with maxSize= 1000 chars.

startedDate

Time when test execution started(UTC).

state

State of test result. Type TestRunState.

subResults

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

testCase

Reference to the test executed.

testCaseReferenceId

Reference ID of test used by test result. Type TestResultMetaData

testCaseRevision

TestCaseRevision Number.

testCaseTitle

Name of test.

testPhase

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

testPlan

Reference to test plan test case workitem is part of.

testPoint

Reference to the test point executed.

testRun

Reference to test run.

testSuite

Reference to test suite test case workitem is part of.

topologyId

Topology Id

url

Url of test result.

Property Details

afnStripId

Test attachment ID of action recording.

afnStripId: number

Property Value

number

analysisFailureGroups

AnalysisFailureGroups

analysisFailureGroups: TestAnalysisFailureGroup[]

Property Value

area

Reference to area path of test.

area: ShallowReference

Property Value

associatedBugs

Reference to bugs linked to test result.

associatedBugs: ShallowReference[]

Property Value

attempt

Attempt

attempt: number

Property Value

number

automatedTestId

ID representing test method in a dll.

automatedTestId: string

Property Value

string

automatedTestName

Fully qualified name of test executed.

automatedTestName: string

Property Value

string

automatedTestStorage

Container to which test belongs.

automatedTestStorage: string

Property Value

string

automatedTestType

Type of automated test.

automatedTestType: string

Property Value

string

automatedTestTypeId

TypeId of automated test.

automatedTestTypeId: string

Property Value

string

bucketingSystem

Bucketing System

bucketingSystem: string

Property Value

string

bucketUid

Bucket Uid

bucketUid: string

Property Value

string

build

Shallow reference to build associated with test result.

build: ShallowReference

Property Value

buildReference

Reference to build associated with test result.

buildReference: BuildReference

Property Value

buildType

Type of build

buildType: string

Property Value

string

comment

Comment in a test result with maxSize= 1000 chars.

comment: string

Property Value

string

completedDate

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

completedDate: Date

Property Value

Date

computerName

Machine name where test executed.

computerName: string

Property Value

string

configuration

Reference to test configuration. Type ShallowReference.

configuration: ShallowReference

Property Value

createdDate

Timestamp when test result created(UTC).

createdDate: Date

Property Value

Date

customFields

Array of custom data for additional categorization of the test result. Value of the CustomTestField cannot be more than 1KB.

customFields: CustomTestField[]

Property Value

dimensions

Dimensions

dimensions: TestResultDimension[]

Property Value

durationInMs

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

durationInMs: number

Property Value

number

errorMessage

Error message in test execution.

errorMessage: string

Property Value

string

exceptionType

Exception Type

exceptionType: string

Property Value

string

executionNumber

Execution number

executionNumber: number

Property Value

number

failingSince

Information when test results started failing.

failingSince: FailingSince

Property Value

failureType

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

failureType: string

Property Value

string

id

ID of a test result.

id: number

Property Value

number

isSystemIssue

boolean that holds whether it is a system issue or not

isSystemIssue: boolean

Property Value

boolean

iterationDetails

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

iterationDetails: TestIterationDetailsModel[]

Property Value

lastUpdatedBy

Reference to identity last updated test result.

lastUpdatedBy: IdentityRef

Property Value

lastUpdatedDate

Last updated datetime of test result(UTC).

lastUpdatedDate: Date

Property Value

Date

layoutUid

LayoutId

layoutUid: string

Property Value

string

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

links: Link[]

Property Value

Link[]

locale

Locale

locale: string

Property Value

string

outcome

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

outcome: string

Property Value

string

owner

Reference to test owner.

owner: IdentityRef

Property Value

priority

Priority of test executed.

priority: number

Property Value

number

project

Reference to team project.

project: ShallowReference

Property Value

release

Shallow reference to release associated with test result.

release: ShallowReference

Property Value

releaseReference

Reference to release associated with test result.

releaseReference: ReleaseReference

Property Value

resetCount

ResetCount.

resetCount: number

Property Value

number

resolutionState

Resolution state of test result.

resolutionState: string

Property Value

string

resolutionStateId

ID of resolution state.

resolutionStateId: number

Property Value

number

resultGroupType

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

resultGroupType: ResultGroupType

Property Value

revision

Revision number of test result.

revision: number

Property Value

number

runBy

Reference to identity executed the test.

runBy: IdentityRef

Property Value

sourceSystemTestCaseId

TestCaseId for the testResult from the source system

sourceSystemTestCaseId: string

Property Value

string

stackTrace

Stacktrace with maxSize= 1000 chars.

stackTrace: string

Property Value

string

startedDate

Time when test execution started(UTC).

startedDate: Date

Property Value

Date

state

State of test result. Type TestRunState.

state: string

Property Value

string

subResults

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

subResults: TestSubResult[]

Property Value

testCase

Reference to the test executed.

testCase: ShallowReference

Property Value

testCaseReferenceId

Reference ID of test used by test result. Type TestResultMetaData

testCaseReferenceId: number

Property Value

number

testCaseRevision

TestCaseRevision Number.

testCaseRevision: number

Property Value

number

testCaseTitle

Name of test.

testCaseTitle: string

Property Value

string

testPhase

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

testPhase: string

Property Value

string

testPlan

Reference to test plan test case workitem is part of.

testPlan: ShallowReference

Property Value

testPoint

Reference to the test point executed.

testPoint: ShallowReference

Property Value

testRun

Reference to test run.

testRun: ShallowReference

Property Value

testSuite

Reference to test suite test case workitem is part of.

testSuite: ShallowReference

Property Value

topologyId

Topology Id

topologyId: number

Property Value

number

url

Url of test result.

url: string

Property Value

string