Test Case Versioning and Approval

Test Cases will go through life cycles during the course of testing. These life cycles are marked and tracked by Test Case statuses. These statuses can be viewed and edited in the Test Case Properties section on the Test Case page.

When you save a Test Case with new changes, the Test Case's version will automatically increase by 0.1. The version number is visible as a system field on the Test Case page, as shown below.

When editing the Test Case, you can only make changes based on the latest version of the Test Case, not previous versions. Changes made over time, can be viewed on the History tab of the Test Case, as displayed below.

When executing Test Runs in Test Execution, you can select any previously-approved version of the Test Case. If you have permissions to approve Test Cases, you will also be able to execute the latest version of the Test Case during runtime.

Software versioning

A new version of software may require changes to the tests that must be performed. To manage changes to a certain test over time, you can:

This separate Test Case may be more beneficial if you need to continue to test previous versions of your software. If it is not as important to continue testing older versions of your software, you can edit the existing Test Case over time.

Approve Test Cases

qTest Manager provides the ability to control how changes to a Test Case can be incorporated into Test Execution. An approved Test Case means that this version is ready for Test Execution.

If only certain users within your project should have the ability to review and approve Test Case changes, the Project Administrator can remove the Approve Test Cases permission from other users in your project’s User Management Settings. If it is not important to restrict who can approve Test Cases within your project, simply give every user the permission to approve Test Cases.

To identify whether a Test Case is in an approved version, refer to the Test Case version number. When a Test Case is approved, the Test Case's version will automatically increase to the next whole number. For example, when Test Case version 4.2 is approved, the version number is automatically changed to Test Case version 5.0.

The approved versions of edited Test Cases will automatically update in their calling Test Cases.

Approve an individual Test Case

  1. Click Approve on the Test Case page after making a change to the Test Case.

    A confirmation message appears, confirming whether you want to approve the Test Case.

  2. Click Yes to approve the Test Case.

Approve multiple Test Cases

  1. Click the Data Query icon on the tree panel toolbar in Test Design.

  2. Query for Test Cases that need to be approved.

    For more information about creating data queries, refer to Custom Data Queries.

  3. In the Query Result table, select the check boxes for the Test Cases that you want to approve.

  4. Click Batch Approve to approve the selected Test Cases.