订阅

UiPath Studio

UiPath Studio 指南

描述符覆盖率

概述


Descriptor Coverage is a panel that shows information on object recognition UI elements that have been covered during execution. The coverage results are shown in Test Explorer, in the Descriptor Coverage panel. You can use this panel to view activity coverage when you work with Selectors or Object Repository.

何时使用描述符覆盖率


测试选取器和对象存储库用户界面元素。

分析描述符覆盖率结果


要在测试执行期间查看覆盖率,您需要运行测试用例以调用包含选取器的工作流或使用对象存储库。

You can analyze selector coverage or debug workflows with failed coverage. If you run all your test cases, the panel shows the number of descriptor references that have passed and provides details on failed selectors. Similarly to Activity Coverage, you can view the activities that have been covered in the Design panel. You can double-click a failed descriptor resolution to go directly to the failed selector, within the workflow.

🚧

重要

对于测试用例,描述符覆盖率与进入测试用例的选取器总数有关。例如,如果您有一个带有选取器的测试用例和一个带有选取器的调用工作流,则覆盖率计算将基于选取器的总数。

3个月前更新

描述符覆盖率


建议的编辑仅限用于 API 参考页面

您只能建议对 Markdown 正文内容进行编辑,而不能建议对 API 规范进行编辑。