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

Filtering objects

Filter requirements, test cases, or test sets by native properties such as updated by or latest result to narrow down the object list.

您可以按对象的原生属性(例如,更新依据、 Studio 项目等)筛选对象。

备注:

The filters and saved views described on this topic apply to the Requirements, Test Cases, and Test Sets object lists. Filters within an open requirement's assigned test cases are a separate filter context and do not affect or share state with these saved views.

Filtering objects​

Filters narrow the object lists in the Requirements, Test Cases, and Test Sets sections to the objects that match your criteria.

步骤​

  1. Go to the desired test object section (that is, Requirements/Test Cases/Test Sets).
  2. 选择一个或多个可用的筛选条件。

Figure 1. Filter criteria for custom structured views

结果​

The object list shows only the objects that match the filtering criteria you selected.

Managing the displayed columns​

The columns of the object list show the native properties that you choose.

步骤​

  1. To manage the columns that are displayed in the table, select Columns, and select or clear the check boxes of one or more native properties of the object. Select Apply. The Created by and Updated by columns show the user who created or last updated the object.

结果​

The table shows the columns that you selected.

Adding a filter to the filter bar​

A filter can appear as a standalone selection criterion in the filter bar.

步骤​

  1. To have a filter appear as a standalone selection criterion in the filter bar, select More filters, and select or clear the check boxes of native properties or of custom fields (of the type label). Select Apply. To remove a filter from the filter bar, select More filters > Clear selection.

结果​

The filter appears as a standalone selection criterion in the filter bar.

Viewing objects updated by users​

Filtering by Updated by lists the objects that you or other users updated.

步骤​

  1. To view objects updated by you or other users, select Updated by, and select or clear the check boxes of one or more users. Select Apply. To revert your changes, select the x sign next to Updated by.

结果​

The list shows only the objects updated by the users you selected.

Updating custom fields in bulk​

You can update a custom field of the type label for several objects at once.

步骤​

  1. To bulk update the custom field (of the type label) for several data objects, select the check boxes of one or more objects, and then select Update. In the Update labels and custom fields pane, select a custom field, and perform the operation of interest: Add values, Remove values, Clear all values.

结果​

The custom field is updated for the objects you selected.

场景​

您想要检查针对“会计”产品组件失败的所有测试用例。

步骤​

  1. 创建“产品组件”自定义字段。添加“Accounting”作为其一个值。
  2. 前往“测试用例” 。
  3. 选择“分组依据” ,然后选中“产品组件”复选框。
  4. 在“分组依据”面板中,选择“会计”。
  5. 选择更多筛选器>最新结果。筛选栏上将显示“最新结果”筛选器。展开“最新结果”筛选器,然后选中“失败”复选框。

Figure 2. Grouping and filtering in a custom structured view

结果​

The list shows the failed test cases of the “Accounting” product component.

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新