UiPath Documentation
test-manager
2022.4
false
Test Manager 用户指南
  • 入门指南
    • 入门指南
      • 与 Studio 集成
      • 创建项目
      • 创建测试用例
      • 使用 Task Capture 记录测试用例
  • 项目管理
  • 项目操作和实用程序
  • Test Manager 设置
  • ALM 工具集成
  • API 集成
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

Azure DevOps

将 Azure DevOps 集成到 Test Manager,以支持您的测试管理工作、敏捷规划或缺陷跟踪。 通过此集成,您可以将工作项目同步到 Test Manager。

要将 Test Manager 实例连接到 Azure DevOps 项目,请按照以下过程操作:

先决条件

在 Azure DevOps 中创建项目

  1. 登录到 Azure DevOps。

  2. Click Create new project and configure your project settings:

    • 项目名称: 输入项目的名称。
    • Description: Add a description to help you easily identify the use of each project.
    • Version control: Choose your version control.
    • 工作项目流程:从下拉列表中选择“敏捷”作为默认流程,以支持您的敏捷规划方法,包括开发和测试活动。
  3. 单击“创建”。

    您的项目随即添加到集合中。

配置 Azure DevOps 连接

Prerequisites: To save the UiPath®Test Manager extension on Azure DevOps, you must be an Azure Administrator user.

  1. 以管理员身份登录 Test Manager。

  2. 打开项目。

  3. Navigate to Project Settings > Integration.

  4. Click New Connection and select Azure DevOps from the dropdown.

  5. 配置以下连接设置:

    • Name: Enter a name for your Azure DevOps connection.

    • 说明(可选): 添加说明以供参考。

    • Server URL: Add the Azure Dev Ops server URL. For example: https://company-name-serverRegion.cloudapp.azure.com.

    • Personal Access Token: Create a PAT and paste it into this field to authorize Test Manager to perform actions. For more information, see Use personal access tokens.

      警告:

      创建 Azure DevOps 连接时,PAT 需要拥有对 Azure DevOps 服务的完全访问权限。为此,在创建或编辑 PAT 时,请在“作用域”下选择“完全访问权限” 。连接完成后,您可以将 PAT 作用域缩小为: Test Management - Read & Write工作项目- Read & Write适用于 PAT 作用域)。有关更多信息,请参阅使用个人访问令牌

    • Defect Type: Enter an object type used for bug reporting in Azure DevOps. Otherwise, leave empty if you do not want to use defect integration.

      根据为新创建的 Azure DevOps 项目选择的对象类型输入缺陷类型。 例如: BugIssue

    • Project Name: Enter your Azure DevOps project name.

  6. Click the connection to expand the panel and copy the API Key for later use.

  7. Open your project in Azure Dev Ops and go to Project settings.

  8. Under Extensions, go to UiPath Test Manager.

  9. 配置以下扩展程序设置:

    • Requirement Types: Select the types of objects you want to assign a test to. These will show up as requirements in Test Manager. For more information, see Requirements.
    • 服务器 URL :添加 Test Manager URL。URL 应采用以下格式:https://{yourDomain}。
    • API: Paste the API key.
    • Manage Tests with Azure DevOps: Select this option to manage your tests through Azure DevOps. Otherwise, leave this option off, to manage your tests through Test Manager.
  10. 单击“保存”

使用 Azure DevOps 集成

要了解集成的工作原理,请考虑以下示例:

同步工作项目

You can create work items (e.g. Epic) in Azure DevOps and synchronize them with Test Manager. The work items will show up on the Requirements page.

  1. 登录到 Azure DevOps 并打开项目。

  2. 单击“文档图像加号按钮,然后从下拉列表中选择“ 新建工作项目 ”

  3. 配置您的工作项目,然后单击“保存并关闭” 。有关详细信息,请参阅添加和更新工作项目

  4. Log in to Test Manager and go to Requirements to view the synchronized work item. To refresh the page, click the Requirements breadcrumb element.

    备注:

    要同步在集成之前创建的工作项目,请打开单个项目,然后单击文档图像“操作”按钮,然后从下拉列表中选择“推送到 Test Manager”

通过 Azure DevOps 管理测试

You can use for test automation and Azure DevOps for test management. To use both solutions together, first you need to select Manage Tests with Azure DevOps in the integration configuration. For more information, see Configure an Azure DevOps Connection.

现在,您可以通过将测试用例从 Azure DevOps 推送到 Test Manager 来管理测试。换句话说,系统会将类型为“测试用例”的全部 Azure 工作项目都将推送到 Test Manager。确保将测试用例添加到您的 Azure 测试计划中,因为这里是推送结果的目标位置。有关更多信息,请参阅创建测试计划和测试套件

完成此同步后,您可以通过 Studio 自动化测试用例。之后,如果您使用 Orchestrator 执行测试用例,则系统会将结果推送到您的 Azure 测试计划。

管理 Azure DevOps 连接

下表列出了可以用来管理 Azure DevOps 连接的操作。

操作 描述 程序

编辑

编辑连接设置。

  1. 以管理员身份登录 Test Manager。
  2. 打开项目。
  3. 单击“设置”按钮以打开“项目设置”。
  4. 在“集成”列表中,单击 Azure DevOps 连接以展开面板。
  5. 单击“编辑”以配置连接。
  6. 单击“保存”以确认。

删除

删除选定的连接及其关联的要求。

  1. 以管理员身份登录 Test Manager。
  2. 打开项目。
  3. 单击“设置”按钮以打开“项目设置”。
  4. 在“集成”列表中,单击 Azure DevOps 连接以展开面板。
  5. 单击“删除”以删除连接。
  6. 单击“确定”以确认。

相关文章

管理 Azure DevOps 连接

下表列出了可以用来管理 Azure DevOps 连接的操作。

操作 描述 程序

编辑

编辑连接设置。

  1. 以管理员身份登录 Test Manager。
  2. 打开项目。
  3. 单击“设置”按钮以打开“项目设置”。
  4. 在“集成”列表中,单击 Azure DevOps 连接以展开面板。
  5. 单击“编辑”以配置连接。
  6. 单击“保存”以确认。

删除

删除选定的连接及其关联的要求。

  1. 以管理员身份登录 Test Manager。
  2. 打开项目。
  3. 单击“设置”按钮以打开“项目设置”。
  4. 在“集成”列表中,单击 Azure DevOps 连接以展开面板。
  5. 单击“删除”以删除连接。
  6. 单击“确定”以确认。

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新