- 入门指南
- 项目管理
- 项目操作和实用程序
- Test Manager 设置
- ALM 工具集成
- API 集成
- 故障排除
Test Manager 用户指南
为用户分配手动执行
您可以通过为用户分配手动测试用例执行并为其设置截止日期,在测试项目中分配工作。 您可以为任何用户分配手动执行,请记住他们应具有执行测试的权限。
先决条件
To assign or unassign manual test case logs, you must have the Change test case executions assignments task permission in one of your roles. By default, this task permission is integrated in the Test Manager pre-defined role.
分配手动执行
要为用户分配一个或多个手动执行,请执行以下步骤:
- 转到项目的“执行”部分。
- 选择测试执行的名称并将其打开。
备注:
Any test execution can be selected, regardless of its type. This is because the objective is to facilitate manual execution by the user, irrespective of the method used in its prior execution.
- 通过以下方式之一分配手动测试用例执行:
- To assign a single manual test case execution: select More Options for the desired test case, and then select Assignment.
- To assign multiple manual test case executions: select the check boxes next to the desired manual test case keys, and then select Assign.The Assignment dialog box opens.
- In the Assignee field, enter the username or email address of the user to which you want to assign the test cases. Ensure that the user to which you assign the test case has permissions to execute tests.
- In the Set the due date field, enter the date by which you want the user to run the test case. The format of the date is: Month/Day/Year. You can also use the date picker for this step.
- Select Assign to complete your action. If subscribed to these events, the user will receive a notification that test cases were assigned to them.
提示:
You can also change the assignment and due date from the header of the test case execution log.
Figure 1. Overview of the Assignment dialog box

取消分配手动执行
要为用户取消分配一个或多个手动执行,请执行以下步骤:
- 转到项目的“执行”部分。
- 选择目标测试执行的名称并将其打开。
- 通过以下方式之一取消分配手动测试用例执行:
- To unassign a single manual test case execution: select the check box next to the desired test case, and then select Clear assignment.
- To unassign multiple manual test case executions: select the check boxes next to the desired manual test case keys, and then select Clear assignment.If subscribed to these events, the user will receive a notification that test cases were unassigned from them.
计划手动执行的截止日期
您可以设置手动执行测试用例的截止日期。 如果在该日期过去了而没有运行测试用例日志,则该到期日期将高亮显示。
要设置手动测试用例执行的到期日期,请执行以下操作:
- 转到项目的“执行”部分。
- 选择并打开手动测试执行。
- 打开测试用例日志。
- In the Due Date field, from the test case log header, enter the due date. The format should be: Month/Day/Year. You can also select the date using the date picker.
备注:
You can also set the due date when assigning the manual test case execution to a user.
手动执行测试用例
Test Manager 测试集和从 Orchestrator 链接的测试集都可以手动执行。如果已为测试用例定义手动步骤。
- 在“测试管理器”中打开项目,然后导航至“测试集”。
- 为要执行的测试集选择“更多选项” 。
- 选择“手动执行” 。
手动执行助理将在新窗口中打开。如果您使用的是弹出窗口阻止程序,请配置为允许打开窗口。
有关更多信息,请参阅分析测试结果。
自动化测试用例可以定义手动步骤,也可以手动执行。
或者,您可以打开测试集,选择“执行” ,然后从下拉列表中选择“手动” 。
手动执行助理
手动执行助理允许您逐个执行一组手动测试。 您需要为每个手动步骤设置一个结果,以便进入测试集中的下一个测试用例。 通过手动执行助理,您需要将每种情况下的步骤标记为通过或失败。
Figure 2. Executing manual tests using the Manual Execution Assistant

- 要在测试用例中标记每个步骤的进度,请选择“设置失败”或“设置通过” 。
- 添加注释,以提供有关结果的特定信息,尤其是在将步骤标记为失败时。
- 标记一个步骤后,您可以将以下几个步骤设置为“通过”。为此,选择“设置在此之前传递” 。
- 通过将结果分配给最后一个步骤来结束测试用例后,请选择“下一步” 。此操作使您可以进入测试集中的下一个测试用例。
- 重复步骤 1 到步骤 4,直到到达测试集中的最终测试用例。
- 如果为手动测试指定了后置条件,请在将结果分配给测试用例的最后一步后进行验证。
- 如果满足后置条件,请选择“已满足条件” 。
- 如果不满足后置条件,请取消选中“满足条件” 。
- 完成最后一个测试用例后,选择“完成”以完成整个执行流程。
手动执行测试时截取屏幕截图
按照以下步骤,在手动测试执行期间使用屏幕截图捕获应用程序的行为:
- 导航至项目的“测试集”部分,然后打开手动测试集。
- 选择“执行” > “手动” 。手动执行助理将打开,显示第一个准备执行的手动测试用例。
- 开始手动执行测试。
- When you reach a test step where you want to take a screenshot of the application, go to More options > Capture screen. The Choose what to share with https://cloud.uipath.com/portal_ window appears, offering the following capture options, which apply to most browsers:
- 整个屏幕:此选项会截取所需活动屏幕的屏幕截图。
- “窗口” :此选项会截取所需应用程序窗口的屏幕截图。
- <Broswer>“” 选项卡 :此选项会截取特定浏览器选项卡的屏幕截图,例如 Chrome。名称因使用的浏览器而异。
备注:
捕获窗口或浏览器选项卡的屏幕截图时,该选项卡或窗口将获得焦点。要继续执行手动测试,您必须手动返回到手动执行助理。此步骤是因为存在浏览器的安全限制。
Figure 3. Capturing a screenshot in the Choose what to share window
5. After you select the element that you want to capture, select Share. Your captured screenshot now appears as a preview within the test step.
如果捕获到除 Test Manager 以外的任何窗口或选项卡的屏幕截图,则该窗口或选项卡将成为主要焦点。要在截取屏幕截图后继续手动执行,您需要手动导航回手动执行助理。
- 您可以在测试步骤中选择“查看”以查看预览。
Figure 4. The preview of the screenshot inside the manual execution assistant

结果:完成手动测试执行后,打开捕获屏幕截图的测试用例的日志。屏幕截图显示在“附件”列下。
Figure 5. The test case log displaying the screenshot as an attachment

您还可以在执行期间将在剪贴板中复制的任何图像粘贴到手动测试步骤中,以添加该图像。
手动执行测试时上传附件
要为手动测试执行添加更多详细信息,请通过以下步骤上传附件:
- 导航至项目的“测试集”部分,然后打开手动测试集。
- 选择“执行” > “手动” 。手动执行助理将打开,显示第一个准备执行的手动测试用例。
- 开始手动执行测试。
- 当您到达要附加文件的测试步骤时,请转到“更多选项” > “上传附件” 。计算机的文件资源管理器将打开,允许您选择要上传的文件。根据附件类型,您可以通过以下方式与这些附件进行交互:
- 对于图像,请选择“查看”以查看预览。
- 对于其他文件类型,请选择“下载”以检索附加的文件。
结果:完成手动测试执行后,打开附件上传到其中的测试用例的日志。附件将显示在“附件”列下,根据文件类型,您可以在其中查看或下载附件。
同时执行测试用例
您可以与其他用户同时执行手动测试用例。 这允许即使在手动测试集运行正在进行时也可以重新执行测试用例。 测试用例日志状态会根据最近的用户活动(包括测试的开始和结束)不断更新。 当用户开始重新执行先前完成的测试用例日志时,状态更新会立即发生,而在整个重新执行过程中不会保留先前的结果。 虽然维护了过去执行的记录,但任何新结果都将覆盖旧结果,这意味着测试用例日志反映最近执行的结果。
识别上一个测试用例执行者
Within the Results tab of a manual execution, the ExecutedBy column displays the username of the most recent user who executed the test case log. This information refreshes each time you or other users take any of the following actions on a test case:
- 首次执行手动测试集;
- 运行手动测试执行的待处理执行;
- 重新执行手动执行中的测试用例日志。
跟踪测试用例日志
If you re-execute a test case log during a particular test execution, Test Manager will not preserve the test case log's history and will overwrite it. However, you can review the execution history for each test case, across different test executions and associated user details, in the Latest Results tab.