- 发行说明
- 入门指南
- 设置和配置
- 自动化项目
- 依赖项
- 工作流类型
- 文件比较
- 自动化最佳实践
- 源代码控件集成
- 调试
- 诊断工具
- 工作流分析器
- 变量
- 参数
- 导入的命名空间
- 基于触发器的 Attended 自动化
- 控制流程
- 对象存储库
- 日志记录
- ScreenScrapeJavaSupport 工具
- 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.
对于测试用例,描述符覆盖率与进入测试用例的选取器总数有关。例如,如果您有一个带有选取器的测试用例和一个带有选取器的调用工作流,则覆盖率计算将基于选取器的总数。