Test Suite
2020.10
false
  • StudioPro
  • Orchestrator
  • Testing robots
  • Test Manager
Banner background image
OUT OF SUPPORT
Test Suite User Guide
Last updated Feb 28, 2024

Managing Test Cases

Test Cases can be either manual or automated or both. You can start by creating manual tests and later automate them. Tests that contain both manual steps and automation can be executed manually or automated. From a result perspective, this makes no difference.

Creating Test Cases

To create test cases in a Test Manager project:

  1. In the Test Design menu, navigate to the Test Cases page.


  2. Click the Create Test Case button. The Create Test Case window is displayed.
  3. Fill in the fields accordingly:
    • Name - Enter a name for the Test Case.
    • Version - (Optional) Add a version tag to the test case. This version will show up in reports of results for this test case.
    • Description - (Optional) Enter a description for the test case. To add formatted text, you can use Markdown syntax.
    • Labels - Add any number of labels which makes it easy to find test cases with joint labels.
  4. Click Create. The test case is created and displayed in the Test Cases page.
    Tip:

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. Search - You have two filter tabs to choose from:

    • Browse - to list all test cases.
    • Updated by me (predefined) - to list only the test cases that have been updated by the current user, running the Test Manager instance.
  2. Filter - Use the search bar to find test cases by their key, name or labels (requires full search term match).

Assigning Test Cases to Requirements

To assign test cases to a requirement:

  1. In the Requirements, click the desired requirement to open it.
  2. Click Assign Test Cases from the Tasks menu. The Select Test Cases window is displayed.
  3. Select the test cases you want to add. You can search for key, name, or labels.


  4. Click Assign to save your assignment.

Creating Automated Test Cases

Note: To create automated test cases, the latest UiPath Studio Pro version is required.

To add automation to an existing test case in Test Manager proceed as follows:

  1. Create an automated Test Case with UiPath Studio Pro. To learn how to create automated test cases in Studio Pro, refer to .
  2. In Studio Pro, in the Test Manager menu, click Test Manager Settings. The Project Settings window is displayed.


  3. Select the Test Manager Configuration option.


  4. Enter the Test Manager URL and click OK. This step has to be performed only once for each project in UiPath Studio Pro.
  5. Open the test case in Studio Pro which contains the automation you want to use in Test Manager.
  6. Open the Test Manager menu and click Link to Test. The Link to Test window is displayed.

    You might get asked for your Test Manager login credentials at that point.

  7. Select a test case from Test Manager to link it to the currently opened workflow.
  8. Enter a Test Manager project-prefix to narrow down the search.
  9. Enter a search term (min. 3 characters) which can either be a name or a key of a test case.
  10. Select the Test Case from Test Manager you want to assign the automation to.


  11. Click OK to save your changes. The selected test case in Test Manager is now automated. Whenever this test case is executed in UiPath Orchestrator, the results appear in Test Manager. Make sure to configure Orchestrator to integrate with Test Manager, as described here.

Manual Test Cases

Adding Manual Steps to a Test Case

To make a test case a manual test case, you need to add manual steps to it. Manual steps define actions for manual testers that need to be executed in a defined order. These actions might just be simple user interactions on the user interface or contain verification operations that need to be carried out by the tester. Each action consists of a description and an expected behavior. The latter is an optional description of what should happen after the aforementioned action has been performed. For convenience, a Clipboard value can also be defined on a step. This value is copied to the Clipboard whenever that particular step is executed, so the user does not have to manually type into the input fields.

To add manual steps to a test case open it and in the Manual Steps tab, click CLICK TO ADD A NEW TEST STEP.



Each step can be expanded or collapsed to improve readability. Enter a description and optionally an expected behavior. This can just be a statement about what is expected to happen or can be a verification like “VAT is displayed as 32.44“.

Note: It is important to keep the description short and easy to understand. Descriptions that are too long make tests difficult to read and testing slow. Try to keep only one action per test step.
You can also enter any string in the Clipboard Data field. This gets copied to the Clipboard when this particular test step is being executed. You can use the expression {CLIPBOARD} anywhere in the description. During execution, this expression will be replaced by the Clipboard value to improve readability.


During execution, this step looks like this:



The email address is in the Windows Clipboard so the tester can enter it by pressing Ctrl + V.

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.