Test Suite
2023.4
false
Test Cases - Standalone 2023.4
Banner background image
logo
Test Suite
Last updated Feb 8, 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:

Cloning Test Cases

You can only clone one test case at a time.
  1. Select More Options docs image for the test case that you want to duplicate, and then Clone.
    The Clone panel appears.
  2. Rename the test case and select the information that you want to clone:
    1. Assignment to requirements
    2. Documents
    3. Labels

    Manual steps, custom field definitions, and custom field values are also cloned if they exist.

  3. Select Confirm to clone the test case.
    The Test case will be cloned in the background message appears.
A clone of the test case is created, with a different Id.
docs image
Note:
  • Automation information isn't cloned.
  • Assignments to external requirements aren't cloned.


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