订阅

UiPath Test Suite

UiPath Test Suite

测试用例

概述


You can manage and execute your test cases in Test Manager, or assign automation. A test case can contain both manual steps and automation. Respectively, you can execute your test manually or automatically.

条件


  • When you delete a test case in Studio, the artifact is preserved in Test Manager.
  • Changing test case names in Studio will be reflected automatically in Test Manager.
  • You can overwrite an automation linked to a test case in Test Manager.

Navigation and search


To quickly find your test case, use the search function and the filters. Navigate within the page using and configuring the paginator. Alternatively, you can use the breadcrumb to navigate between the pages.

  1. Filter - You can use the filter to narrow your search. For example, you can search for the test cases that have been updated by your user, by specific labels, or the latest results (e.g., Passed). The filters are automatically saved and kept active until you clear them.
  2. Search - Use the search bar to find test cases by their key, name or labels (requires full search term match).
    You can use the search bar at the top of the page to look for test cases.

Viewing test cases


You can glance over your test cases on the Test Cases page. For a detailed view, click a test case key to open the Overview page.

977

You can view the test case log by clicking the open execution log Open execution log icon. For more information, see Analyzing Test Results.

Managing test cases


You can perform the following test case-specific actions:

Assigning test cases to requirements

You can assign a test case to a requirement on the Test Cases page.

  1. 在 Test Manager 中打开项目。如果您还没有项目,请参阅创建项目
  2. 在左侧导航面板中,转到“测试用例”。
    3.Click the test case key to open it.
  3. Click Tasks and select Assign to Requirement from the dropdown list.
  4. Select the requirement to be assigned to your test case. You can assign it to single or multiple requirements.
1013
  1. Click Assign to save changes. Alternatively, you can view the test cases that have been assigned to requirements in the Requirements page.

Linking test cases in Studio to Test Manager

You can link a test case in Studio to a correspondent test case and requirement in Test Manager. To complete this action, you need to integrate Studio to Test Manager.

  1. 在 Studio 中,打开现有项目或创建新的“测试自动化”。
  2. Open an existing test case or create a new one.
  3. In the Project, right-click a test case and select Link to Test Manager. Alternatively, you can use Ctrl + Click for multiple selections to link multiple test cases to a requirement.
    :grey-exclamation: Test Manager might require you to sign in, using your credentials.
  4. Configure the test case information:
  • Project: Select your project. If you did not set a default project for Test Manager, see Integrating with Studio.
  • Test: Select a test case from the dropdown list.
  • Name: Enter a name only if you create a new test case in Test Manager.
  • Requirement: . Leave this field blank if you create a new requirement. The name is read-only in Test Manager. Alternatively, you can select a Requirement from the dropdown list if you want to assign the test case to a specific requirement in Test Manager.
585
  1. Click OK to confirm.

You can open the newly created test case in Test Manager, by navigating to Test Manager > Open Test.

🚧

重要

To execute automated tests in Test Manager, make sure that your project has been published to the Orchestrator Tenant Process Feed.

Unlink automation

You can unlink an automation created in Studio and associated to your Test Manager test cases.

  1. Open your project in Test Manager and go to Test Cases.
  2. Find the test case that is linked to Studio and open it.
  3. Go to the Automation tab and select Unlink Automation.
  4. Click OK to confirm.
989

Delete test cases

You can delete test cases individually or perform a bulk Operation .

  1. 在 Test Manager 中打开项目。
  2. In the left navigation panel, go to Test Cases.
  3. 单击测试用例键以将其打开。
  4. Navigate to Tasks > Delete.
  5. Click OK to confirm.

相关文章


故障排除

约一个月前更新



测试用例


建议的编辑仅限用于 API 参考页面

您只能建议对 Markdown 正文内容进行编辑,而不能建议对 API 规范进行编辑。