TestActionResultModel interface

表示测试步骤结果。

Extends

属性

actionPath

测试用例工作项中测试步骤的路径标识符。 注意:1) 它以十六进制格式表示,步骤为 8 位数字。 2) 内部,第一步的步骤 ID 值以 2 开头,因此 actionPath = 00000002步骤 9,将具有 ID = 10 且 actionPath = 0000000a 步骤 15,ID =16 且 actionPath = 00000010 3) actionPath 与测试用例的父步骤连接。 例如,该类型为 - 0000000300000001其中00000003表示测试步骤的操作路径,00000001表示共享步骤的操作路径

iterationId

测试操作结果的迭代 ID。

sharedStepModel

对共享步骤工作项的引用。

stepIdentifier

这是测试用例的步骤 ID。 对于共享步骤,它是测试用例工作项中共享步骤的步骤 ID;共享步骤中的步骤 ID。 示例:TestCase workitem 有两个步骤:1) Id = 1 2 的普通步骤) Id = 2 的共享步骤。 在共享步骤中:id = 1 的常规步骤) 第一步的 StepIdentifier 值:“1”第二步:“2;1”

url

测试操作结果的 URL。 在托管环境中已弃用。

继承属性

comment

结果中的注释。

completedDate

执行完成的时间 (UTC) 。

durationInMs

执行持续时间。

errorMessage

结果中的错误消息。

outcome

结果的测试结果。

startedDate

开始执行的时间 (UTC) 。

属性详细信息

actionPath

测试用例工作项中测试步骤的路径标识符。 注意:1) 它以十六进制格式表示,步骤为 8 位数字。 2) 内部,第一步的步骤 ID 值以 2 开头,因此 actionPath = 00000002步骤 9,将具有 ID = 10 且 actionPath = 0000000a 步骤 15,ID =16 且 actionPath = 00000010 3) actionPath 与测试用例的父步骤连接。 例如,该类型为 - 0000000300000001其中00000003表示测试步骤的操作路径,00000001表示共享步骤的操作路径

actionPath: string

属性值

string

iterationId

测试操作结果的迭代 ID。

iterationId: number

属性值

number

sharedStepModel

对共享步骤工作项的引用。

sharedStepModel: SharedStepModel

属性值

stepIdentifier

这是测试用例的步骤 ID。 对于共享步骤,它是测试用例工作项中共享步骤的步骤 ID;共享步骤中的步骤 ID。 示例:TestCase workitem 有两个步骤:1) Id = 1 2 的普通步骤) Id = 2 的共享步骤。 在共享步骤中:id = 1 的常规步骤) 第一步的 StepIdentifier 值:“1”第二步:“2;1”

stepIdentifier: string

属性值

string

url

测试操作结果的 URL。 在托管环境中已弃用。

url: string

属性值

string

继承属性详细信息

comment

结果中的注释。

comment: string

属性值

string

继承自TestResultModelBase.comment

completedDate

执行完成的时间 (UTC) 。

completedDate: Date

属性值

Date

继承自TestResultModelBase.completedDate

durationInMs

执行持续时间。

durationInMs: number

属性值

number

继承自TestResultModelBase.durationInMs

errorMessage

结果中的错误消息。

errorMessage: string

属性值

string

继承自TestResultModelBase.errorMessage

outcome

结果的测试结果。

outcome: string

属性值

string

继承自TestResultModelBase.outcome

startedDate

开始执行的时间 (UTC) 。

startedDate: Date

属性值

Date

继承自TestResultModelBase.startedDate