uipath-cli
latest
false
UiPath CLI 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
“uip tm teststeplog list”的语法和选项,可检索手动或混合测试用例运行各个步骤的执行日志。
uip tm teststeplog管理测试用例执行期间记录的步骤级别日志。测试步骤日志捕获测试用例日志中单个步骤的结果,提供测试用例级别以下的精细通过/失败信息。
大纲
uip tm teststeplog list --test-case-log-id <uuid> [--project-key <key>] [--limit <n>] [--offset <n>]
uip tm teststeplog list --test-case-log-id <uuid> [--project-key <key>] [--limit <n>] [--offset <n>]
uip tm 测试步骤日志列表
列出特定测试用例日志的步骤日志。
参数
无。
选项
--test-case-log-id <uuid>(必填) — 要检索其步骤日志的测试用例日志的 UUID。从uip tm executions testcaselogs list或uip tm testcases list-result-history获取。--project-key <key>— 拥有项目。可选;非必需。--limit <n>— 页面大小。默认为50。--offset <n>— 要跳过的结果。默认为0。
示例
uip tm teststeplog list \
--test-case-log-id c3d4e5f6-0000-0000-0000-000000000001
uip tm teststeplog list \
--test-case-log-id c3d4e5f6-0000-0000-0000-000000000001
数据形状
{
"Code": "TestStepLogsList",
"Data": [
{
"Id": "d4e5f6a7-0000-0000-0000-000000000001",
"StepName": "Navigate to login page",
"Result": "Passed",
"Duration": "00:00:02"
},
{
"Id": "d4e5f6a7-0000-0000-0000-000000000002",
"StepName": "Enter credentials",
"Result": "Failed",
"Duration": "00:00:01",
"ErrorMessage": "Element not found: #password-field"
}
]
}
{
"Code": "TestStepLogsList",
"Data": [
{
"Id": "d4e5f6a7-0000-0000-0000-000000000001",
"StepName": "Navigate to login page",
"Result": "Passed",
"Duration": "00:00:02"
},
{
"Id": "d4e5f6a7-0000-0000-0000-000000000002",
"StepName": "Enter credentials",
"Result": "Failed",
"Duration": "00:00:01",
"ErrorMessage": "Element not found: #password-field"
}
]
}
相关内容
- 执行测试用例日志列表—
--test-case-log-id的来源。 - testcaselogs list-assertions — 测试用例日志的断言级别详细信息。
- 报告— 简要执行摘要。