TestCaseResult interface
Represents a test result.
Properties
afn |
Test attachment ID of action recording. |
analysis |
AnalysisFailureGroups |
area | Reference to area path of test. |
associated |
Reference to bugs linked to test result. |
attempt | Attempt |
automated |
ID representing test method in a dll. |
automated |
Fully qualified name of test executed. |
automated |
Container to which test belongs. |
automated |
Type of automated test. |
automated |
TypeId of automated test. |
bucketing |
Bucketing System |
bucket |
Bucket Uid |
build | Shallow reference to build associated with test result. |
build |
Reference to build associated with test result. |
build |
Type of build |
comment | Comment in a test result with maxSize= 1000 chars. |
completed |
Time when test execution completed(UTC). Completed date should be greater than StartedDate. |
computer |
Machine name where test executed. |
configuration | Reference to test configuration. Type ShallowReference. |
created |
Timestamp when test result created(UTC). |
custom |
Array of custom data for additional categorization of the test result. Value of the CustomTestField cannot be more than 1KB. |
dimensions | Dimensions |
duration |
Duration of test execution in milliseconds. If not provided value will be set as CompletedDate - StartedDate |
error |
Error message in test execution. |
exception |
Exception Type |
execution |
Execution number |
failing |
Information when test results started failing. |
failure |
Failure type of test result. Valid Value= (Known Issue, New Issue, Regression, Unknown, None) |
id | ID of a test result. |
is |
boolean that holds whether it is a system issue or not |
iteration |
Test result details of test iterations used only for Manual Testing. |
last |
Reference to identity last updated test result. |
last |
Last updated datetime of test result(UTC). |
layout |
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. |
release |
Reference to release associated with test result. |
reset |
ResetCount. |
resolution |
Resolution state of test result. |
resolution |
ID of resolution state. |
result |
Hierarchy type of the result, default value of None means its leaf node. |
revision | Revision number of test result. |
run |
Reference to identity executed the test. |
source |
TestCaseId for the testResult from the source system |
stack |
Stacktrace with maxSize= 1000 chars. |
started |
Time when test execution started(UTC). |
state | State of test result. Type TestRunState. |
sub |
List of sub results inside a test result, if ResultGroupType is not None, it holds corresponding type sub results. |
test |
Reference to the test executed. |
test |
Reference ID of test used by test result. Type TestResultMetaData |
test |
TestCaseRevision Number. |
test |
Name of test. |
test |
build phase Valid Value= (SystemSetup, UserSetup, Test, UserCleanup, SystemCleanup) |
test |
Reference to test plan test case workitem is part of. |
test |
Reference to the test point executed. |
test |
Reference to test run. |
test |
Reference to test suite test case workitem is part of. |
topology |
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
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
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
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
priority
Priority of test executed.
priority: number
Property Value
number
project
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
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
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
testRun
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