- Getting Started with Test Suite
- Studio
- Orchestrator
- Testing robots
- Test Manager
Test Suite User Guide
Test sets
Test Sets are logical groups of test cases. The purpose of test sets is to define groups of tests that should be executed together within one run. For instance, a smoke test is a group of tests that only check for top-critical capabilities. Whenever any test case from a smoke test fails, there is a critical problem. Executing a smoke test should not take too long. They are executed for instance whenever a developer commits changes to the source code. By comparison, a regression test is a comprehensive test which should provide a detailed overview over the system under test. Execution often takes hours or even days. To define the set of tests to be executed for those purposes, test sets are created. A test case can be assigned to several test sets.
- Test sets in Test Manager can include both manual and automated test cases, including automated test cases from multiple Studio projects.
- Test sets linked from Orchestrator to Test Manager include only the test cases from Orchestrator.
- You can run test sets from either a default or a specified execution folder. This allows you to exclusively execute test cases that are part of that particular folder. Moreover, you also have the option to specify particular packages and their versions from which the test cases will be exclusively run.
- Using Static Assignment - select the test cases manually.
- Using Dynamic Assignment - input the label of the test cases that you want to assign.
- Open the test set for which you want to enable activity coverage.
- Go to the Configuration tab.
- Select Enable RPA activity coverage calculation.
Within a test set, you can automatically execute test cases only from a default or selected Orchestrator folder (also known as the Execution folder). If you want to execute the test cases from a specific package and version within a folder, you can select the package and its corresponding version.
To limit test case execution to a specific Orchestrator folder, follow these steps:
- Navigate to your Project Settings and set a default execution folder.
This selection applies to all your test sets.
Visit Automation project configuration for more information about setting a default execution folder.
- To set a unique folder for a specific test set, go to Test Sets and
select the test set for configuration.
- In the Test Cases tab, opt for Select Automation.
- Choose a folder from the Execution folder dropdown list.
- Select Save to ensure your test cases are executed within this specified folder.
In addition to the execution folder, you can also select a specific package and version from which to run test cases. To select a specific package and version, perform the following steps:
- Navigate to Test Sets and open a test set.
- Go to the Test Cases tab.
- Use Select Automation.
- To define a package and version, the following options are available:
- Autoselect Packages: Automatically selects all packages located in the execution folder and their latest versions, based on the test cases assigned to the test set.
- Add automation: Allows you to manually select the desired
packages and corresponding versions. Use the following steps:
- From the Package dropdown list, select a package.
- From the Version dropdown list, select a version for that package.
- Use Select to finalize the selection.
Repeat the previous steps for each package you wish to add to the test set.
Figure 2. Display of Selected Automations menu illustrating the chosen execution folder, associated packages, and their respective versions for a specific test set
- Select More Options for the Test Set that you want to duplicate, and select Clone.
- Rename the Test Set and choose the information you want to clone, such as:
- Documents
- Labels
Test Cases assigned to the original Test Set (both statically and dynamically) are automatically linked to the clone. Custom field definitions, and custom field values are also cloned if they exist.
- Select Confirm to start the cloning process. The clone is created in the background.
You can export your test sets, separately from your testing project, so you can import them back into a different project. The export process for test sets is similar to the project export process. Visit Export project to check how exporting projects works.
Remember that the export only includes custom field values, and not their definitions.
Perform the following steps to export test sets:
- Open your project and go to Test Sets.
- Depending on the number of test sets
you wish to export, execute one of the following steps:
- To export a single test set, select More Options for the specific test set and then select Export.
- To export multiple test sets, select all the test sets you want to export, and then select Export.
- When the export is ready, you will receive a Project export completed notification. Select the notification to download the TMH file containing the exported test sets.
You can then import the downloaded TMH file to a different project, to re-create the test objects. Visit Import project to learn how to perform the import process.
You can link your test sets from Orchestrator and execute them in Test Manager.
You can apply filters and store them in views for your test objects. Depending on the scope of a view (personal or public), you can persist the view containing the filters for a user or for all users within the project.
- Properties native to a test object (such as Labels, Updated by, Source, and others)
- Custom labels
Follow these steps to customize your filters and view:
- Go to the desired test object section (i.e. Requirements) and select Filters.
- Select Add filter to
choose the filters that you want to apply.
When you select the filter, also select the value that you want it to have.
- Select Apply to include the filters in your view.
- To save these filters as a view, select Views, and then Save view.
- In the Save view window, choose to create a New view or Update
an existing view with the filters.
Decide whether to keep the new view private or set it to Public for other users to access.
- Select Save to confirm changes.
- To apply a view that you created,
select Views, and then Open views.
- Choose a personal view
(My views) or a Public view.
You can also change the visibility of your created views between private and public, according to your needs.
- Select the desired view and select Open to apply.
- Choose a personal view
(My views) or a Public view.
- Conditions
- Creating test sets
- Assigning test cases to a test set
- Statically assigning test cases to test set
- Dynamically assigning test cases to test set
- Navigation and search
- Enabling activity coverage
- Configuring test sets for specific execution folders
- Selecting an execution folder
- Selecting a specific package and version
- Cloning test sets
- Exporting test sets
- Linking Orchestrator test sets
- Applying filters and views