UiPath Documentation
test-manager
latest
false
Test Manager 用户指南
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

Grouping objects

Group test objects by custom field definitions of the type Label to organize them into a structured view.

Organize a flat list of test cases into groups by sprint or component, using custom fields of the type Label. Group by is available only when Test Manager is delivered through Test Cloud.

重要提示:

仅当通过 Test Cloud 提供时,Test Manager 中才提供“分组依据”功能(属于自定义结构化视图的一部分)。

场景​

请考虑以下场景。您想检查在特定 Sprint 中在特定应用程序组件上运行的测试用例。您还想检查 Sprint 和测试“GUJDM:15”的组件。您导航到“测试用例”视图,但难以从“测试用例”列表中获取此信息。

The flow has the following steps:

  1. 创建以下自定义字段定义及其值。自定义字段定义是一个多选字段。
    • 测试周期

图 1.测试周期自定义字段

  • 产品组件

图 2. 产品组件自定义字段

2. 转到“测试用例” 。3. 选择“分组依据”,然后选择“测试周期”。

图 3. 按测试周期分组

4. 在左侧的“分组依据”面板中,查看括号中的 Sprint 和相关测试用例的数量。选择一个 Sprint 并查看测试用例详细信息。“未指定”类别包括所有未附加自定义字段的测试用例。

图 4. “按测试周期分组”- 面板

5. 从“分组依据”下拉列表中,选择“产品组件”。请参阅括号中的组件和关联测试用例的数量。系统将显示一个结构,允许您查看是否为一个组件运行了多个测试用例,或者是否在多个 Sprint 中测试了一个组件。

图 5. “按产品组件分组”- 面板

6. 接下来,应用筛选器或将更改保存为自定义结构化视图。

步骤​

  1. 创建“标签”类型的自定义字段,并将其与您的测试对象相关联。
  2. Go to the desired test object section (that is, Requirements/Test Cases/Test Sets).

图 6.自定义结构化视图的筛选条件

3. Select Group by, and select or clear the check boxes of the custom fields. 4. Select Apply. 5. In the Group by panel, sort your groups ascending or descending using the available sort options. 6. To revert your changes, in the Group by panel, select Remove.

结果​

Your test objects are grouped according to the selected custom field definitions, with the Unspecified category listed last regardless of the sort order you choose.

  • 场景​
  • 步骤​
  • 结果​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新