All your previous test versions are always available
Every time you make a change to a test and save it, the version of the test before the change is automatically stored. Each of these versions of the test is called a revision.
Revisions gives you the power to always look back at your changes and revert back to an older revision.
How are revisions created?
Revisions are created automatically. You don't have to do anything.
In the following example there is a test called "login_test", in which the step that sets the password was updated. After saving the test, the following dialog is displayed, prompting to optionally specify the purpose of the change:
Click OK, and that's it! a new revision is created.
Viewing the test revisions
To see the all the revisions of a test:
- Click on the Test Properties ().
- Click See old revision.
A list of revisions is displayed, containing the change message, the name of the user who made the change, and date in which it was made:
Automated revisions following a Locator’s auto-improve process
Testim automatically creates a new revision after it replaces a degraded locator with an auto-improved locator. The new revision is labeled in the Revision History panel as “Testim auto improve”. For more information, see Locators: Auto Improve. You can also view which steps in a test have been auto-improved.
To view which steps have been auto-improved:
- Open a test that has been auto-improved.
- Toggle the Show improved steps switch to the right.
The steps that have been auto-improved are highlighted.
Accessing a previous revision
To view a revision, simply hover the revision you want to view, and click View:
Reverting to a previous revision
To revert to a previous revision, access the previous revision and click Save.
Tests with shared step
Reverting changes with a shared step
If you choose to open an older revision of the test, it will also open the older revision of the shared steps that were being used in that revision. So, if a shared step was changed while saving previous revision, all of the instances of the folder will be affected too.
Updated over 1 year ago