UiPath Documentation
test-manager
2023.10
false
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Test Manager 用户指南

上次更新日期 2026年4月22日

Xray for Jira

Xray Test Management for Jira 集成提供了使用 Test Manager 管理测试的替代方法。 要利用此功能,您需要安装 Jira 连接器,并通过在 Test Manager 中配置新连接来完成集成。

要将您的测试管理器实例连接到 XRay 项目,请按照以下步骤操作:

支持的对象类型和数据传输方向

支持的对象

  • 从适用于 Jira 的 Xray 同步到 Test Manager 的项目为只读项目,但附件、对象标签和测试用例链接除外。
  • 缺陷会从 Test Manager 中的测试执行同步到适用于 Jira 的 Xray。

数据传输

下表列出了数据传输的方向和相应的对象:

Xray for Jira方向UiPath Test Manager
要求要求
测试用例测试用例

先决条件

安装适用于 Jira 的 UiPath™ Test Manager

  1. 以管理员身份登录 Jira。
  2. 导航至“设置” > “管理Apps”
  3. 转到“查找新应用程序”
  4. 使用搜索栏查找适用于 Jira 的 UiPath™ Test Manager
  5. 单击“安装”以将应用程序添加到 Jira。

配置 Xray 连接

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

  2. 打开项目。

  3. Navigate to Project Settings > Integration.

  4. 单击“新建连接” ,然后从下拉列表中选择“XRay”以编辑连接。

    文档图像

  5. 配置如下:

    • 名称:输入项目的名称。
    • Description (optional): Add a description.
    • Server URL: Add the Jira Server URL, including the port number. This is the URL of the server that exposes the Jira REST API. It is usually identical to the URL you navigate to when using Jira through your browser. For example: https://company-name.atlassian.net.
    • Web URL (optional): Add the web URL in case the server URL is not hosted under the same address as the web URL used to access Jira resources.
    • Username: The username you use to authenticate to the Jira API.
    • Password (Xray Server only): The password you use to authenticate to the Jira API.
    • Project Key: Enter the project key from Jira which refers to the project you want to integrate.
    • API 令牌(仅适用于 Xray Cloud):生成 API 令牌。有关 Atlassian API 令牌的更多信息,请参阅管理 Atlassian 帐户的 API 令牌
    • 客户端 ID (仅限 Xray Cloud):创建包含 客户端 ID 和 客户端密码 的 API 密钥。您需要是 Jira 管理员才能执行此操作。输入在 Jira Software 中生成的客户端 ID。
    • Client Secret (Xray Cloud only): Enter the Client Secret generated in Jira Software.
  6. 单击“保存”以添加连接。Xray 连接随即添加到“集成”列表中。

  7. Copy the API Key.

  8. 打开 Jira 并导航至“项目设置” > “UiPath™ Test Manager”

  9. Configure project settings and paste the API key in the API Key - XRay Integration field.

    文档图像

编辑 Xray 连接

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

删除 Xray 连接

删除连接将删除所有关联的需求和测试用例。

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

通过 Xray 管理测试

通过 Orchestrator 执行的测试会将结果填充到 Xray。有关使用 Xray 管理测试的更多信息,请参阅 Xray 文档主页

重要提示:
  • 在 Test Manager 中编辑的测试用例不会与 Xray 同步。 相反,在 Xray 中对测试用例所做的更改会反映在 Test Manager 中。

相关文章

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新