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

Test Manager 用户指南

使用 Task Capture 记录测试用例

备注:

功能可用性取决于您使用的云平台。有关详细信息,请参阅Test Manager 功能可用性页面

UiPath™ Task Capture 是一种流程发现工具,可帮助您记录测试用例,以避免手动下载图像并为每个包含的操作键入标题。

Working in the background, the tool captures the performed steps, takes screenshots with every mouse select, and collects smart data about the process statistics (execution time, number of steps, text entries, etc.). You can edit and annotate each screenshot and add information for each step.

UiPath™ Task Capture 基于捕获的数据,以.ssp.docx.jpg (图表图像)格式构建全面的流程定义文档 (PDD),该文档可轻松上传到 Test Manager。

有关更多信息,请参阅Task Capture 简介

使用 Task Capture 记录

要使用 Task Capture 记录测试用例,请执行以下步骤:

  1. 在 Test Manager 中打开项目。
  2. 在 Test Manager 中打开测试用例。如果您还没有测试用例,请访问“创建测试用例”
  3. Open the Manual Steps tab.
  4. 使用“Task Capture”选择“文档”

在尝试使用“导出到 Test Manager”选项之前,请确保先从 Test Manager 启动 Task Capture。否则,此选项将不可用。

如果您已安装 Task Capture,请跳过以下注释。

备注:

Select Download and select the Task Capture version that you want to download. For more information, see Task Capture Installation. If requested, grant permission to your browser to open an external application.

  1. 使用 Task Capture 选择“文档”后,Task Capture 将显示一个弹出窗口。选择“打开 Task Capture” ,然后选择是否构建图表或捕获流程

  2. 在 Task Capture 中完成测试用例的记录后,将工作流发布到 Test Manager

    1. 在 Task Capture 中,转到“文件”
    2. “导出”下,选择“发布到 UiPath Test Manager”

记录的 DOCX 和 JPG(图表图像)文件将在“手动步骤”选项卡中附加到您的测试用例中。

备注:

DOCX 文件模板已在 Task Capture 中预定义,无法自定义。

使用 Task Capture

您可以查看发布到 Test Manager 的 Task Capture 文件,并根据录制内容创建手动步骤。

查看图表文件

To view the action sequence diagram, open a test case in the Test Cases page, navigate to the Manual Steps tab, and select View Diagram to download the file.

有关图表的更多信息,请参阅构建图表

查看录制文件

To view the Process Definition Document (PDD) as a Word exported file open a test case in the Test Cases page, navigate to the Manual Steps tab, and select Open recording to download the file.

如需了解更多录制信息,请参阅有关 PDD 的详细信息

通过录制创建步骤

当您使用带有 Task Capture 的文档功能时,您还可以将任何记录的步骤作为手动步骤添加到测试用例中。

  • 您需要使用 Task Capture 记录测试用例。
  • 对于录制中的每个步骤,系统都会使用 PDD 文件中的步骤标题和说明向测试用例添加一个手动步骤。 相反,如果步骤标题为空,则手动步骤标题将设置为Unnamed
  • 您从录制文件中创建的任何新步骤都将添加到任何先前存在的步骤中。
  1. Open a test case on the Test Cases page.
  2. Navigate to the Manual Steps tab.
  3. Select Create steps from recording and then confirm your action when prompted. You can also use the Sync button from the header panel in Task Capture to export the workflow directly to your Test Manager location. A confirmation message will appear once the process is completed.

结果

The recorded DOCX and JPG diagram files are attached to the test case in the Manual Steps tab, and the captured steps are added as manual steps to the test case.

  • 使用 Task Capture 记录
  • 使用 Task Capture
  • 查看图表文件
  • 查看录制文件
  • 通过录制创建步骤
  • 结果

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新