Test Suite
最新
False
横幅背景图像
Test Suite 用户指南
上次更新日期 2024年4月22日

入门指南

In this section, you can build your testing portfolio and learn how to manage test cases and test sets in Test Manager, and document test cases through Task Capture:

You can use Test Manager in Automation CloudTM to test and manage your automations from a single place. To start using Test Manager in Automation CloudTM , you need to enable it first, and then allocate licenses to your users.

For more information on licensing, see the Cloud Plan tab in UiPath® Licensing.

先决条件

You need to be logged into Automation CloudTM as an administrator for your organization.

条件

Enable Test Manager in Automation CloudTM

To use Test Manager, first you need to provision the Test Manager service to the tenant where you want to use it. Secondly, you need to allocate licenses for your users.

重要提示: Test Manager在组织级别使用配置的服务级别许可证,而用户需要先分配其许可证。 您要分配的许可证将永久分配给所选用户。

与 Orchestrator 集成

To start using your Test Manager, the first thing you need to do is to assign an Orchestrator instance to it.

Important: To correctly sync results between Orchestrator and Test Manager, make sure the folder from which you are executing tests is available for the admin user. For more information, see Roles.

After you associate an Orchestrator instance, the execution results are fetched automatically in Test Manager.

与 Studio 集成

To complete the integration with Studio, you need to configure the Test Manager Settings.

重要提示:
  • 您需要 Studio 许可证。有关更多信息,请参阅“关于许可”。
  • 如果 Studio 尚未激活或连接到 Orchestrator 实例,请参阅“激活 Studio”。
  1. 打开 Studio,然后开始一个新项目或打开最近的项目。
  2. In the Design ribbon, navigate to Test Manager > Test Manager Settings.
  3. Go to Test Manager Configuration and enter your Test Manager URL.


  4. Click Connect and log in using your Test Manager credentials. If you don't have the necessary rights to log in, see Troubleshooting.
  5. 从下拉列表中选择您的默认项目


  6. 单击“确定”以保存更改。

创建项目

测试项目由工件(例如需求、测试用例、测试集)。您可以创建无限数量的测试项目。

条件

  • 项目仅对项目创建者和管理员可见。要允许其他用户访问您的项目,请参阅管理用户和组
  • 您可以创建无限数量的测试项目。

谁可以创建项目

任何用户角色都可以创建项目,而只有管理员/项目所有者可以编辑或删除项目。

有关更多信息,请参阅“用户和组访问管理”

Create Project

  1. Log in to Test Manager.
  2. 在“主页”中,单击“新建项目”。


  3. 配置测试项目:
    • 名称 - 输入项目的名称。
    • 前缀 - 输入项目的简短标识符。选择附加到项目中所有工件 ID 的 3-5 个字符。以后无法更改前缀。
    • 说明(可选): 输入项目的说明。



  4. 单击“创建”。您的项目已保存,系统会将您重定向到项目仪表板。
    提示:
    • 您可以在“收藏夹项目”页面上将项目标记为收藏夹。
    • 要编辑项目,请右键单击垂直省略号,然后在要更新的项目上选择“编辑”。您可以更改除前缀以外的所有项目详细信息。

使用 Task Capture 记录测试用例

UiPath® Task Capture is a process discovery tool that helps you document your test cases to avoid manually downloading the images and typing titles for each of the included actions.

该工具在后台工作,可捕获执行的步骤,每单击一次鼠标即可截取屏幕截图,并收集有关流程统计信息(执行时间、步骤数量、文本输入等)的智能数据。您可以编辑每个屏幕截图并为其添加注释,还可以添加每个步骤的信息。

Based on the captured data, UiPath® Task Capture builds a comprehensive Process Definition Document (PDD) in a .ssp, .docx and .jpg (diagram image) format that can be easily uploaded to Test Manager.

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

使用 Task Capture 记录

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

  1. Open your project in Test Manager.
  2. Open a test case in Test Manager. If you do not have a test case yet, see Create Test Cases.
  3. 打开“ 手动步骤” 选项卡。
  4. 单击“使用 Task Capture 记录”。

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

    备注:

    单击“下载”,然后选择要下载的 Task Capture 版本。有关更多信息,请参阅 Task Capture 安装

    根据要求,向浏览器授予打开外部应用程序的权限。

  5. 选择构建图表还是捕获流程
  6. When you complete documenting your test case in Task Capture, publish the workflow to Test Manager.

    工作流将附加到“ 手动步骤” 选项卡中的测试用例。

使用 Task Capture

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

查看图表文件

要查看操作序列图,请在“ 测试用例 ” 页面中打开一个测试用例,导航到“ 手动步骤” 选项卡,然后单击 “查看图表 ” 以下载文件。

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

查看录制文件

要以 Word 导出文件的形式查看流程定义文档 (PDD),请在“ 测试用例 ” 页面中打开一个测试用例,导航到“ 手动步骤” 选项卡,然后单击“ 打开录制 ” 以下载文件。

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

通过录制创建步骤

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

  • 您需要有一个使用 Task Capture 记录的测试用例
  • 对于录制中的每个步骤,系统都会使用 PDD 文件中的步骤标题和说明向测试用例添加一个手动步骤。 相反,如果步骤标题为空,则手动步骤标题将设置为Unnamed
  • 您从录制文件中创建的任何新步骤都将添加到任何先前存在的步骤中。
  1. 在“ 测试用例 ” 页面上打开一个测试用例。
  2. 导航到“ 手动步骤” 选项卡。
  3. 单击“ 通过录制创建步骤 ”,然后在系统提示时确认您的操作。

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.