Help Center/ CodeArts TestPlan/ User Guide/ Configuring a Test Case/ Creating Test Case Version Snapshots
Updated on 2026-10-19 GMT+08:00

Creating Test Case Version Snapshots

CodeArts TestPlan enables you to effortlessly track changes of test cases across different versions through snapshots. You can capture snapshots to store test cases from different versions and compare test case details between the current and historical versions. With snapshots, you can quickly identify changes in step descriptions and results of test cases across versions. This helps trace test process, version differences, and issues, improving test verification efficiency and result reliability.

Notes and Constraints

  • A maximum of 10 snapshots can be created for a single project.
  • Snapshots cannot be created for API automation test cases.
  • The number of test cases in a version snapshot is counted in the total number of test cases. For details about the limit on the number of test cases, see Notes and Constraints.

Creating a Test Version Snapshot

  1. In the navigation pane, choose Testing > Testing Case.
  2. Click next to Baseline and select the target version.
  3. Click next to Test case library and select the target test plan.
  4. Click an execution mode tab (Manual Test or Auto Function Test).
  5. Choose More > Create Snapshot.
  6. In the displayed dialog box, enter the snapshot name and click OK.
  7. Choose More > Historical Versions. Find the snapshot in the historical version list.
  8. Click the snapshot name. The snapshot test case list of the historical version is displayed.

    • Test cases cannot be created in the list.
    • You can click a test case name to view the details, but cannot modify the details here.
    • In the list, you can associate test cases with requirements or defects, or export test cases.

Comparing Snapshot Test Cases Across Versions

  1. Create a test version snapshot.
  2. Choose More > Historical Versions.
  3. Click the snapshot name. The snapshot test case list of the historical version is displayed.
  4. Click in the Operation column of the target test case.
  5. Click Compared.
  6. In the displayed dialog box, select the versions to be compared and the target test plans.
  7. View the comparison result between the two versions' test cases. Additions are marked in green, modifications in gray, and deletions in red.

    To view changes only, toggle on Hide Identical Items in the dialog box.

    The snapshot function compares versions of test cases based on test case ID. If the test case ID changes, the comparison fails.