订阅

UiPath Test Suite

UiPath Test Suite

分析测试结果

概述


To view test executions, open Test Results in Test Manager. The execution of each test is listed as a test execution entry. To understand how the test executions work behind the scenes, see Test Results.

955955

通过分析测试执行,您可以采取以下操作:

  • 查找已通过 Orchestrator 手动或自动执行的测试结果。
  • 检查运行测试执行的进度。
  • Open the test set that have been executed.
  • 检查日志和附件。
  • Create defects in your defect management system directly from Test Manager, if you have an Application Lifecycle Management tool integration. For more information, see ALM Tool Integration.

默认情况下,测试执行根据执行完成日期进行排序。当前正在运行和待处理的执行位于顶部。

您可以通过分配给每个测试执行的颜色代码来识别状态,如下所示:

  • 绿色: 通过的测试用例。
  • 红色: 失败的测试用例。
  • 灰色: 没有明确结果的测试用例,例如尚未执行但属于当前正在执行的测试集的一部分的测试用例。

自动化测试的结果


自动化测试执行的结果会自动从 Orchestrator 导入。要将自动化测试导入 Test Manager,您需要满足以下条件:

📘

注意

如果 Orchestrator 中的测试执行包含 Test Manager 中多个项目的测试用例的结果,则测试执行将在 Test Manager 中拆分。结果显示在测试用例所在的项目中。

Navigation and search


To quickly find your test results, use the search function and the filters. Navigate within the page using and configuring the paginator. Alternatively, you can use the breadcrumb to navigate between the pages.

Use the search bar to find test results by their key, execution type or status (requires full search term match).

You can use the search bar at the top of the page to look for test results.

设置测试执行结果


To get detailed results from a test execution, go to Test Results and click an entry to open the detailed view. A typical test execution detailed view shows information on when the executions started, duration, and execution logs.

您可以使用“报告日期”筛选器为测试执行的所有结果设置单个日期。当您在一夜之间运行测试时,这非常有用,其中一些测试用例在午夜之前和之后执行。否则,结果将在报告中的不同日期之间拆分。

In the Results section you can examine all the test cases that were executed within the test set. You can take actions for each test case. For more info, see Execution log.

You can also open the executed test set by right-clicking an entry in the Test Sets page and selecting Open Test Set, or directly within the test execution.

947947

执行日志


作为测试报告的一部分,执行日志保存诸如执行详细信息(例如,数据变化和屏幕截图)、失败和通过的断言以及执行事件的详细日志等信息。

要打开测试用例日志,请转到“测试结果”,打开测试执行,然后单击测试用例“密钥”。

947947

在下表中,您可以查看在测试用例执行期间收集的信息类型。

Test execution reportingDescription
AssertionsView failed or passed assertions (e.g.,Verify expression activity), and associated screenshots if any were taken during test case execution.

To make sure that Orchestrator takes screenshots during executions, check for Test Case Execution Artifacts permissions.
LogsView INFO level logs as part of the RobotLogs, with information about processes, execution robot, and event logs.
Execution detailsView argument details such as input and output values, as well as execution and robot details (e.g., project, machine, robot).
Affected requirementsView the requirements that are assigned to the test case that has been executed. You can use this tab to go directly to the affected requirement.

根据测试结果创建缺陷


You can create defect reports including the execution log to your external defect management system, if you already have it integrated with Test Manager. For more information, see ALM Tool Integration.

To create a defect out of an execution log, you need to open a test case log, click Tasks, and then select Create Defect. After the defect has been created, a link is available in the execution log, so you can access the integrated external tool.

相关文章


约一个月前更新


另请参阅

关于测试结果

分析测试结果


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

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