Call Test Cases

qTest Manager allows you to insert one Test Case into another Test Case. This is known as "calling" a Test Case. Users call Test Cases so that the Test Case can be used in numerous other tests within the same project. A classic example is a Test Case to log in to an application.

The calling Test Case function provides the following benefits.

  • Saves time. Instead of entering the Test Steps in every Test Case that uses the called Test Case, the common Test Steps are entered into a single Test Case.

  • Maintains consistency. If a called Test Case must be updated, you can update the called Test Case in a single place. As a result, all other Test Cases that use that called Test Case will have the updated information.

Create a Called Test Case

  1. Access the Test Design module.

  2. Select the Test Case that you want to add your called Test Case to.

  3. In the Test Steps section, select the check box for the Test Step that you want to associate with your called Test Case.

  4. Click the Action icon in the selected Test Step row, and then click the Test Cases option.

    The Test Cases dialog displays.

  5. Select the Test Case you want to insert. Then click Add.

    A Test Case cannot be called in itself.

The Test Step that contains the inserted Test Case will display with a link, which you can click to display the inserted Test Case. The individual steps for the called Test Case are not displayed on this page in the Test Design module. When you add a Test Run in the Test Execution module and select the Run icon, the individual Test Steps of the called Test Case are displayed in the TestPad, as well as the Test Steps of the actual Test Case.

Notes

  • Called Test Cases can be copied to the same or different Test Cases in a project, but NOT across projects.

  • A Test Case cannot call itself either directly or indirectly.

  • Only approved Test Cases can be called by another Test Case.

  • A Test Case can call the same Test Case in different Test Steps.

Try This: Call a Test Case For Your Second Test Step

Watch this video in full-screen mode for highest quality.