UiPath Documentation
studio
latest
false
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

Studio 用户指南

测试结果

概述

您可以使用“测试结果”面板来汇总已通过和失败的测试。

在“测试资源管理器”中查看测试结果

单击“测试资源管理器”中的测试运行,以在“测试结果”面板中查看其信息。在父级测试用例上,您可以看到已通过或失败的测试用例,而对于单个测试用例,您可以看到有关异常以及任何已通过或失败的断言的信息。

如果启用了屏幕截图并在测试运行中使用,则可以在“测试”下的“项目设置”中配置的“屏幕截图”路径中查看它们。

提示:

要查看可以在“测试资源管理器”中执行的操作,请参阅使用测试资源管理器

将测试结果上传到 Test Manager

将 Studio 执行条目添加到 Test Manager 项目。

条件

将结果上传到 Test Manager

  1. In the Test Results panel, open the context menu for an executed test case and select Upload results to Test Manager. You can select multiple test results that will be added to the test case configured in the following step. You are prompted to configure the Test Manager integration with Studio if it's not yet configured.

  2. 配置测试信息,以将测试结果链接到相关的 Test Manager 对象。

  3. Select Ok to confirm. The results can be seen in Test Manager.

将屏幕截图上传到 Test Manager

将测试结果上传到 Test Manager 时,本地断言屏幕截图也会上传并显示在相应测试用例结果的“断言”选项卡中。

备注:

要将本地断言屏幕截图上传到 Test Manager,请确保您使用的是 Testing.Activities 23.4.0 或更高版本。

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新