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

Test Manager 用户指南

入门指南

先决条件

以管理员身份登录到您的云平台(Automation Cloud 或 Test Cloud)组织。

许可

备注:

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

您可以通过以下 UiPath™ Platform 界面访问和使用 Test Manager:

  • 原生 Automation Cloud 界面:可用于执行 RPA 测试。
  • Test Cloud 界面:用于执行应用程序和 RPA 测试。有关 Test Cloud 的更多信息,请访问关于 Test Cloud

每种体验都附带一组相应的 Test Manager 访问许可证。请查看以下部分,了解如何根据您拥有的 UiPath™ Platform 经验访问 Test Manager。

Automation Cloud 中的 Test Manager 许可

要开始在 Automation Cloud 中使用 Test Manager,您至少需要以下许可证类型:

  • Test Manager服务许可证:您可以使用该许可证将 Test Manager 服务添加到组织。
  • 具有 Test Manager 访问权限的用户许可证(例如Tester - Named User, Automation Developer - Named User):这允许您打开 Test Manager 并使用它。
    重要提示:

    Test Manager 管理员可以访问所有租户设置,无论他们是否拥有Tester – Named User许可证。

Test Cloud 中的 Test Manager 许可

要开始在 Test Cloud 中使用 Test Manager,您至少需要以下许可证类型:

  • The App Test Platform - Standard or Enterprise平台许可证:此许可证允许您访问和使用 Test Cloud 和 Test Manager。有关平台许可证的更多信息,请参阅Test Cloud 计划细分
  • The App Tester - Named User or App Test Developer - Named User license: This allows you to access and use both Test Cloud and Test Manager。
    重要提示:

    Test Manager 管理员可以访问所有租户设置,无论他们是否拥有Tester – Named User许可证。

有关 Unified Pricing 许可并在组织中启用的更多信息,请参阅“Unified Pricing:许可 Test Manager”

有关 Flex 许可并在组织中启用它的更多信息,请参阅“Flex:许可 Test Manager”

为租户启用 Test Manager

要使用 Test Manager,首先需要为要使用它的租户配置 Test Manager 服务。

请访问配置服务,查看如何在租户中启用 Test Manager。

分配用户许可证

备注:

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

用户许可证分配是 Cloud 的商业功能,也是 Cloud 公共部门版的功能。

根据您当前使用的 UiPath 平台界面,您需要分配不同的用户许可证。Automation Cloud 中的 Test Manager 需要Tester - Named User许可证,而 Test Cloud 中的 Test Manager 需要App Tester - Named UserApp Test Developer - Named User许可证。

在租户中启用 Test Manager 后,您必须为需要访问 Test Manager 的用户分配用户许可证。

重要提示:

Test Manager 管理员可以访问所有租户设置,无论他们是否拥有Tester – Named User许可证。

要分配用户许可证,请执行以下操作:

  1. 导航到“管理员”页面,然后转到“许可证”
  2. 转到“用户”选项卡。
  3. “查看许可证”部分中,检查您的组织可用的许可证数量。
  4. 根据您分配许可证的方式(为用户或一组用户),执行以下步骤:
    • 对于用户:
      1. 展开“向用户分配许可证”部分。
      2. 对于所需的用户,选择“编辑许可证分配”
      3. 根据当前使用的 UiPath 平台界面,选择以下选项之一:
        • Automation Cloud:具有 Test Manager 访问权限的用户许可证(例如Tester - Named UserAutomation Developer - Named User)。
        • Test Cloud: Tester - Named User or App Test Developer.
      4. 选择“保存”以确认许可证分配。
    • 对于一组用户:
      1. 展开“向用户分配许可证”部分。
      2. 对于所需的组,选择“编辑组分配规则”
      3. 根据当前使用的 UiPath 平台界面,选择以下选项之一:
        • Automation Cloud:具有 Test Manager 访问权限的用户许可证(例如Tester - Named UserAutomation Developer - Named User)。
        • Test Cloud: Tester - Named User or App Test Developer.
      4. 选择“保存”以确认许可证分配。

请访问分配用户许可证,了解如何在组织中分配用户许可证。

重要提示:

Test Manager works with a provisioned service-level license at the organization level, while users need to have their licenses allocated. The license that you are going to allocate is going to be permanently assigned to your selected user.

条件

  • 只有 Test Manager 管理员可执行 Test Manager 的管理功能,例如创建项目集成应用程序生命周期管理工具定义自定义字段
  • 组织管理员的用户也是 Test Manager 管理员。
  • Test Manager 管理员不需要Tester - Named User许可证即可使用 Test Manager 或访问所有租户设置。
  • 要在 Orchestrator 和 Test Manager 之间正确同步结果,请确保管理员用户可以使用从中执行测试的文件夹。有关更多信息,请参阅角色

与 Studio 集成

要完成与 Studio 的集成,您需要配置“Test Manager 设置”。

重要提示:
  • 您需要 Studio 许可证。有关更多信息,请参阅关于许可章节。
  • 如果 Studio 尚未激活或连接到 Orchestrator 实例,请参阅激活 Studio
  1. 打开 Studio,然后开始一个新项目或打开最近的项目。

  2. 在“设计”功能区中,导航至“Test Manager”>“Test Manager 设置”。

  3. 转到“ Test Manager 配置”并输入您的 Test Manager URL。

  4. Select Connect and log in using your Test Manager credentials.

  5. 从下拉列表中选择您的默认项目

  6. 选择“确定”以保存更改。

创建项目

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

条件

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

谁可以创建项目

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

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

要快速查找测试项目,请使用搜索功能和筛选器。使用并配置分页器,在页面中导航。或者,您可以使用面包屑导航在页面之间导航。

  1. “筛选器” - 您有两个筛选器选项卡可供选择:
    • 所有项目 - 以列出所有测试项目。
    • 收藏项目- 仅列出已标记为收藏的测试项目。
  2. 搜索 - 使用搜索栏按名称或前缀查找测试项目。

Create project

Create a new test project to serve as the container for your requirements, test cases, and test sets, assigning it a unique name and prefix.

  1. 登录到 Test Manager。

  2. In the Home page select Create new project.

  3. 配置测试项目:

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

  4. Select Create. Your project is saved and you are redirected to the project dashboard.

    提示:
    • 您可以在“收藏夹项目”页面上将项目标记为收藏夹。
    • To edit a project, open the context menu for the vertical ellipsis and select Edit on the project you want to update. You can change all project details except for the prefix.

使用 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 简介

结果

Test Manager is set up with the required licenses allocated, Studio connected, and the test project created. You can now start creating requirements, test cases, and test sets.

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新