Back to QMetry All Products Help Page
Creating Test Case Versions
Ensure your role includes versioning rights.
The admin can configure versioning rights from the Customization screen under the Roles tab.
If test case steps are added or edited in an already executed test case, save it as a new version to retain the original details. Updating overwrites the previous details, while creating a new version preserves the original values and creates a new version of the test case with updated details.
The Save as New Version button is visible on the screen only if you have versioning rights.
To save changes as a new version:
Create a New Version: Use the Save as New Version button to create a new version of the test case with the updated details.
Option A: Click on the Cog icon for the test case and select Create New Version.
Option B: Open the Test Case Detail Page and click on the Create New Version icon on the header.
Save as New Version: Make the required changes and click Save as New Version to create an updated version of the test case.
Option A: From Cog Icon
Option B: From the Test Case details Page
If you add/edit test steps within a test case, it will ask you to create a new version of the test case to save the content of steps along with test case parameters. The associated test suite will still be associated with the previous version of the test case.
If you have set Enable Auto-Sync All Executions on New Test Case Version to ON in project settings, then saving a new version of a test case:
The Save New Version pop-up displays:
A checkbox: Auto-sync latest version of Test Case in all executions.
The Version Comment field.
If the option is selected, the new version is created and automatically synced with all unarchived executions and test suites.
If you have set Enable Auto-Sync All Executions on New Test Case Version to OFF project settings, then saving a new version of a test case:
The Save New Version pop-up displays only the Version Comment field.
The new version is created, but you must manually sync executions to the required version.
Handling Test Case Execution Status
When saving a new version of a test case that has been previously executed, you have two options:
Auto Sync Latest Version
If selected, the test case version will be updated, and its execution status will reset to Not Run on the Test Run screen.
Example: If TC1 previously had a Passed status in TS1, and the user updates TC1 and creates a new version, then TS1 will display TC1’s status as Not Run.
Manual Sync
If auto sync is not selected, a sync icon will appear beside the current version of the test case on the Test Run screen.
To update to the latest version, click the sync button.
A confirmation message will appear, confirming the reset of the execution status.
The synced version does not display previously linked issues.
After syncing, the execution status of the test case will change to Not Run.
Any new test steps added in the latest version are reflected on the execution screen.
You can use different versions of a test case for testing.
Back to QMetry All Products Help Page