test-suite
2022.10
false
UiPath logo, featuring letters U and I in white
Test Suite User Guide
Automation CloudAutomation Cloud Public SectorAutomation SuiteStandalone
Last updated Jul 15, 2024

Test cases

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.

Conditions

  • 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.

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.



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

Assigning test cases to requirements

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

  1. Open your project in Test Manager. If you do not have a project yet, see Creating a Project.
  2. In the left navigation panel, go to Test Cases.

    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.


  5. 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. In Studio, open an existing project or create a new Test Automation.
  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.

    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 don't want to link the test case to an existing 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.



  5. Click OK to confirm.

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

Important: 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.

Delete test cases

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

  1. Open your project in Test Manager.
  2. In the left navigation panel, go to Test Cases.
  3. Click the test case key to open it.
  4. Navigate to Tasks > Delete.
  5. Click OK to confirm.

Related articles

Create test cases

To start building your testing portfolio, create a test case in Test Manager. You can later provide manual steps or assign automation.

  1. Open your project in Test Manager. If you do not have a project yet, see Creating a Project.
  2. In the left navigation panel, go to Test Cases.
  3. Click Create Test Case.


  4. Configure the test case:
    • Name - Enter a name for your test case.
    • Version - (Optional) Add a version tag to the test case.
    • Description - (Optional) Enter a description for the test case. To add formatted text, you can use the Markdown syntax.
    • Labels - Add any number of custom labels.



  5. Click Create to confirm. The test case is created and displayed on the Test Cases page.
    Tip:

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.