Test case versions¶
View an earlier version¶
- Open a test case in Library and select History.
- Select a version to see its contents and files. In the versions view, select two versions to compare them.
- A version marked Adopted from project standards opens the corresponding local revision. A Reference baseline opens the saved object in the baseline.
The newest event appears first. Select Show more for older events. The existing Versions action also opens the versions view directly.
Restore earlier content¶
- Open the version you want and select Restore.
- Review the preview. Restore missing field definitions or explicitly exclude the affected fields. You can explicitly convert an unavailable reusable step to its historical text.
- Confirm and check the new current version, which points to the version you restored.
If the case changed after the preview, reload it and review your selection again.
In Windows, open the test case and choose On the web → Versions on the web. Your active Windows session signs you in. If the handoff fails, the sign-in page preserves your destination.
Limits and permissions¶
Viewing requires read access to the case. Restoring also requires edit access. Baseline entries follow current baseline permissions. Quick test cases have no test case versions. An initial snapshot on an older project records the content at capture time.
A version records the case, variants, links, inherited content and saved files. Saving a change creates a version. Restoring preserves permissions, past review decisions, relationships and existing runs. Historical files are part of a full project backup. The file limits are 100 MB per file and 256 MB per version. External file links remain references.
MCP and REST use the same permissions. Use ztm_project_test_case_versions to list, read and compare versions. Restore through prepare and commit with the granted project.test-case-version.restore capability. For the list operation, TakeoverRevisionIDs identifies adopted revisions on the current page. Protected source data stays hidden.