Skip to main content Skip to complementary content

Adding Route test instances

About this task

Upon creation, a test case has one test instance named Default. You can add as many instances as you need to run the same test case with different sets of data files. From the Test Cases view, you run an instance individually or run all the instances of the test case at the same time. To add a test instance, do the following:


  1. From the Repository tree view, double-click the test case to open it. The Test Cases view is shown.
  2. On the left panel of the Test Cases, right-click the test case you want to set up, and select Add Instance from the contextual menu.
    Test Cases view.
  3. Type in a name for the instance or accept the proposed name.
    The newly created test instance appears under the test case name node.
    Test Cases view.
    You can remove the instance, add test data to all existing instances, or run the instance by right-clicking on the instance and select the relevant item of the contextual menu. You can also remove a test data item by right-clicking it and select Remove TestData from the context menu.
    Information noteNote:

    Note that if you remove a test data item from an instance, this item is also removed from all the other instances.

  4. Specify a new context for the newly created test instance. For more information, see the procedure below.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!