TestCaseResult interface
表示測試結果。
屬性
afn |
測試動作錄製的附件識別碼。 |
analysis |
AnalysisFailureGroups |
area | 測試區域路徑的參考。 |
associated |
連結到測試結果之 Bug 的參考。 |
attempt | 嘗試 |
automated |
標識元,表示 dll 中的測試方法。 |
automated |
執行測試的完整名稱。 |
automated |
測試所屬的容器。 |
automated |
自動化測試的類型。 |
automated |
自動化測試的 TypeId。 |
bucketing |
貯體系統 |
bucket |
貯體 Uid |
build | 淺層參考,用來建立與測試結果相關聯的組建。 |
build |
與測試結果相關聯的組建參考。 |
build |
組建類型 |
comment | 使用 MaxSize= 1000 個字元在測試結果中加上批注。 |
completed |
測試執行完成的時間(UTC)。 完成日期應該大於 StartedDate。 |
computer |
執行測試的計算機名稱。 |
configuration | 測試組態的參考。 輸入 ShallowReference。 |
created |
建立測試結果時時間戳(UTC)。 |
custom |
測試結果的其他屬性。 |
dimensions | 尺寸 |
duration |
以毫秒為單位的測試執行持續時間。 如果未提供的值將會設定為 CompletedDate - StartedDate |
error |
測試執行中的錯誤訊息。 |
exception |
例外狀況類型 |
execution |
執行編號 |
failing |
測試結果開始失敗時的資訊。 |
failure |
測試結果失敗類型。 有效值= (已知問題、新問題、回歸、未知、無) |
id | 測試結果的標識碼。 |
is |
布爾值,保留是否為系統問題 |
iteration |
測試反覆專案僅用於手動測試的測試結果詳細數據。 |
last |
上次更新測試結果的身分識別參考。 |
last |
測試結果的上次更新日期時間(UTC)。 |
layout |
LayoutId |
links | 連結 “type” 属性的有效值 = (MoreInfo, ResultInvestigation, TestInfo) |
locale | 現場 |
outcome | 測試結果的測試結果。 有效值 = (Unspecified、None、Passed、Failed、Inconclusive、Timeout、Aborted、Blocked、NotExecuted、Warning、Error、NotApplicable、Paused、InProgress、NotImpacted) |
owner | 測試擁有者的參考。 |
priority | 執行測試的優先順序。 |
project | Team 項目的參考。 |
release | 與測試結果相關聯的發行淺層參考。 |
release |
與測試結果相關聯的發行參考。 |
reset |
ResetCount。 |
resolution |
測試結果的解析狀態。 |
resolution |
解析狀態的標識碼。 |
result |
結果的階層類型,預設值 None 表示其分葉節點。 |
revision | 測試結果的修訂編號。 |
run |
身分識別的參考已執行測試。 |
source |
來自來源系統的 TestResult TestCaseId |
stack |
具有 maxSize= 1000 個字元的 Stacktrace。 |
started |
測試執行開始的時間(UTC)。 |
state | 測試結果的狀態。 輸入TestRunState。 |
sub |
測試結果內的子結果清單,如果 ResultGroupType 不是 None,則會保留對應的類型子結果。 |
test |
執行測試的參考。 |
test |
測試結果所使用的測試參考標識碼。 輸入 TestResultMetaData |
test |
TestCaseRevision Number。 |
test |
測試的名稱。 |
test |
build phase Valid Value= (SystemSetup, UserSetup, Test, UserCleanup, SystemCleanup) |
test |
測試計劃測試案例工作的參考是其中的一部分。 |
test |
執行測試點的參考。 |
test |
測試回合的參考。 |
test |
測試套件測試案例 workitem 的參考是其中的一部分。 |
topology |
拓撲標識碼 |
url | 測試結果的 URL。 |
屬性詳細資料
afnStripId
測試動作錄製的附件識別碼。
afnStripId: number
屬性值
number
analysisFailureGroups
AnalysisFailureGroups
analysisFailureGroups: TestAnalysisFailureGroup[]
屬性值
area
associatedBugs
attempt
嘗試
attempt: number
屬性值
number
automatedTestId
標識元,表示 dll 中的測試方法。
automatedTestId: string
屬性值
string
automatedTestName
執行測試的完整名稱。
automatedTestName: string
屬性值
string
automatedTestStorage
測試所屬的容器。
automatedTestStorage: string
屬性值
string
automatedTestType
自動化測試的類型。
automatedTestType: string
屬性值
string
automatedTestTypeId
自動化測試的 TypeId。
automatedTestTypeId: string
屬性值
string
bucketingSystem
貯體系統
bucketingSystem: string
屬性值
string
bucketUid
貯體 Uid
bucketUid: string
屬性值
string
build
buildReference
buildType
組建類型
buildType: string
屬性值
string
comment
使用 MaxSize= 1000 個字元在測試結果中加上批注。
comment: string
屬性值
string
completedDate
測試執行完成的時間(UTC)。 完成日期應該大於 StartedDate。
completedDate: Date
屬性值
Date
computerName
執行測試的計算機名稱。
computerName: string
屬性值
string
configuration
createdDate
建立測試結果時時間戳(UTC)。
createdDate: Date
屬性值
Date
customFields
dimensions
durationInMs
以毫秒為單位的測試執行持續時間。 如果未提供的值將會設定為 CompletedDate - StartedDate
durationInMs: number
屬性值
number
errorMessage
測試執行中的錯誤訊息。
errorMessage: string
屬性值
string
exceptionType
例外狀況類型
exceptionType: string
屬性值
string
executionNumber
執行編號
executionNumber: number
屬性值
number
failingSince
failureType
測試結果失敗類型。 有效值= (已知問題、新問題、回歸、未知、無)
failureType: string
屬性值
string
id
測試結果的標識碼。
id: number
屬性值
number
isSystemIssue
布爾值,保留是否為系統問題
isSystemIssue: boolean
屬性值
boolean
iterationDetails
測試反覆專案僅用於手動測試的測試結果詳細數據。
iterationDetails: TestIterationDetailsModel[]
屬性值
lastUpdatedBy
lastUpdatedDate
測試結果的上次更新日期時間(UTC)。
lastUpdatedDate: Date
屬性值
Date
layoutUid
LayoutId
layoutUid: string
屬性值
string
links
locale
現場
locale: string
屬性值
string
outcome
測試結果的測試結果。 有效值 = (Unspecified、None、Passed、Failed、Inconclusive、Timeout、Aborted、Blocked、NotExecuted、Warning、Error、NotApplicable、Paused、InProgress、NotImpacted)
outcome: string
屬性值
string
owner
priority
執行測試的優先順序。
priority: number
屬性值
number
project
release
releaseReference
resetCount
ResetCount。
resetCount: number
屬性值
number
resolutionState
測試結果的解析狀態。
resolutionState: string
屬性值
string
resolutionStateId
解析狀態的標識碼。
resolutionStateId: number
屬性值
number
resultGroupType
revision
測試結果的修訂編號。
revision: number
屬性值
number
runBy
sourceSystemTestCaseId
來自來源系統的 TestResult TestCaseId
sourceSystemTestCaseId: string
屬性值
string
stackTrace
具有 maxSize= 1000 個字元的 Stacktrace。
stackTrace: string
屬性值
string
startedDate
測試執行開始的時間(UTC)。
startedDate: Date
屬性值
Date
state
測試結果的狀態。 輸入TestRunState。
state: string
屬性值
string
subResults
測試結果內的子結果清單,如果 ResultGroupType 不是 None,則會保留對應的類型子結果。
subResults: TestSubResult[]
屬性值
testCase
testCaseReferenceId
測試結果所使用的測試參考標識碼。 輸入 TestResultMetaData
testCaseReferenceId: number
屬性值
number
testCaseRevision
TestCaseRevision Number。
testCaseRevision: number
屬性值
number
testCaseTitle
測試的名稱。
testCaseTitle: string
屬性值
string
testPhase
build phase Valid Value= (SystemSetup, UserSetup, Test, UserCleanup, SystemCleanup)
testPhase: string
屬性值
string
testPlan
testPoint
testRun
testSuite
topologyId
拓撲標識碼
topologyId: number
屬性值
number
url
測試結果的 URL。
url: string
屬性值
string