Script Versions

Prev Next

Script Version Management improves visibility, traceability, and control over test scripts and versions. It allows users to track, compare, and restore script versions as needed. Use Script Version Management to maintain better control of your test scripts. This feature ensures that script changes are recorded, comparable, and recoverable.

Viewing Script Versions

In an automated test, select the Script versions tab.
The history includes metadata such as the Storing method, restore actions, and timestamps.

Good to Know!

All version changes, including manual and automatic storage and restore actions, are recorded in the History tab of the automated test.

Storing Methods

Two storage methods are supported -

Automatic Storage

A new script version is automatically stored in Panaya whenever the script is executed by an agent, provided a change has been detected in the script.
Version number order is not sequential, as not all script saves are stored

Manual Storage

Versions can be manually stored by entering a version name and description. This allows users to capture significant milestones in the script design and maintenance processes.

To store the current version of the script -

  1. Select the Script tab.

  2. Click on the Store version button.

  3. Provide the version name and description, then click Store.

  4. The new version will appear in the Script versions tab as a manually stored version.

Note

Manually stored versions can be deleted. Automatically generated versions are retained in the system for traceability and compliance purposes, and cannot be deleted.

Restore Previous Versions

When restoring previous script versions, Panaya creates two new script versions.

  • Pre-Restore Version
    Captures the script state before committing the restore.

  • Restored Version
    Represents the version that was reinstated.

This process ensures full traceability and allows users to revert the changes at any time.

To restore the script to a previous version -

  1. Select the Script versions tab.

  2. Select a stored version and click the Restore button to revert to the selected version.

Deleting Versions

  1. Select the Script versions tab.

  2. Select a manually stored version and click the Delete button.