UiPath Documentation
test-manager
2.2510
true
Test Manager 用户指南
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

将 Studio 中的测试用例链接到 Test Manager

将 Studio 测试用例链接到 Test Manager 中的相应测试用例和需求,并提供有关首选链接方法的指导。

您可以将 Studio 中的测试用例链接到 Test Manager 中的相应测试用例和需求。

但是,虽然这种将 Studio 测试用例链接到 Test Manager 测试用例的方法仍然可用,但我们建议通过“选择自动化”方法直接在 Test Manager 中链接自动化。有关为测试用例选择自动化的更多信息,请访问“选择自动化”

仅当在 Orchestrator 中找不到等效自动化时,Test Manager 才会在执行期间考虑 Studio 测试用例和 Test Manager 测试用例之间的这种链接。

备注:

Prerequisites(先决条件):在继续之前,完成将 Studio 与 Test Manager 集成的工作。

  1. 在 Studio 中,打开现有项目或创建新的“测试自动化”。

  2. 打开现有测试用例或创建一个新用例。

  3. Project(项目)中,打开测试用例的上下文菜单,然后选择 Link to Test Manager(关联到 Test Manager)。或者,您可以使用 Ctrl + Select 来选择多项,将多个测试用例关联到需求。

    Test Manager 可能会要求您使用凭据登录。4. 配置测试用例信息:

    • Project(项目):选择您的项目。如果您未为 Test Manager 设置默认项目,请参阅与 Studio 集成。* Test(测试):从下拉列表中选择测试用例。
  • Name(名称):仅当您在 Test Manager 中创建新测试用例时,才输入名称。* Requirement(需求):如果您不希望将测试用例关联到现有需求,请将此字段留空。名称在 Test Manager 中为只读。

或者,如果要将测试用例分配给 Test Manager 中的特定需求,则可以从下拉列表中选择 Requirement(需求)

 ![Link to Test Manager dialog in Studio with project and test case fields](https://dev-assets.cms.uipath.com/assets/images/test-manager/test-manager-docs-image-125718-be183542-d5612962.webp)
 ![Link to Test Manager dialog in Studio with project and test case fields](https://dev-assets.cms.uipath.com/assets/images/test-manager/test-manager-docs-image-125718-be183542-d5612962.webp)

5. 选择 OK(确定)以确认。

您可以通过导航到“Test Manager”“打开测试” ,在 “Test Manager”中打开新创建的测试用例。

结果

Studio 测试用例已关联到 Test Manager 中的相应测试用例。您可以通过 Test Manager > Open Test(打开测试),直接从 Studio 打开 Test Manager 中的关联测试用例。

  • 结果

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新