Work with test versions
Scriptless Mobile saves all versions of a test. In the Scriptless MobileUI, a test version is called a snapshot. You can select and open any version in the test editor. In addition, you can save any opened version as the latest version of the test.
When you open a test snapshot in a tab in the test editor, the test version or snapshot number is displayed as part of the test title. For example, if you open snapshot number one, the title of the test is shown as the <test name> (Snapshot -1). For the current or latest version, the test title does not include the snapshot number. This naming convention helps you easily identify the test version you are looking at.
You can add comments to a test snapshot any time and later refer to these comments to identify the test snapshot and, if needed, revert to it.
Snapshots are beneficial when multiple users collaborate on tests. Scriptless Mobile saves each user's updates as snapshots that facilitate viewing updates saved in various snapshots at any given time.
Moving a test to a new location moves the test along with all its snapshots to the new location. Copying a test to a new location moves only the most current snapshot (the latest version) to the new location.
To learn how to work with test versions in Scriptless Mobile, watch this video or review the instructions following the video.
You can view any version of a test. Before you open a snapshot, you must close the test in the test editor.
-
In Scriptless Mobile, on the top toolbar, click the Tests menu and select Manage tests.
-
In the Manage tests view, in the left pane, navigate to the test and select it.
Restriction: You can select only one test at a time. -
On the top toolbar, click Snapshots.
In the Open snapshot dialog box, the table shows test version-related information like version number, modification date and time, comments, and the modifier of the test. You can sort tests by clicking the column headers. You can refresh this view by clicking the Refresh button at the top right.
-
To open a test version in the test editor, select the required snapshot and click OPEN.
You can edit a comment for a test version at any time. You can add a comment when you save a test. To learn more, see To save a version and To save with comment.
-
In the Open snapshot dialog box, select the required test version.
-
Next to the comment, click the edit button .
-
Edit the comment and then click the confirmation button .
You can delete a comment for a test version anytime.
-
In the Open snapshot dialog box, select the required test version.
-
Next to the comment, click the delete button .
After you open a test or snapshot, you can save it. Doing this creates a new snapshot as the latest version of the test.
-
In the test editor, navigate to the tab with the selected version of the test.
-
On the top toolbar, click the Tests menu and click Save or Save as.
-
If you clicked Save as, in the Save as Test dialog box, do the following:
-
In the left pane, select a destination folder for the test.
-
Above the table, in the Test name field, enter a name for the test.
-
(Optional) At the top right, add a comment for the snapshot.
-
Click SAVE.
-
You can save the open version of a test with a comment. You can also add a comment to a test when you select the Save as option.
-
In the test editor, navigate to the tab with the selected version of the test and make any required changes.
-
On the top toolbar, click the Tests menu and click Save with comment. In the Save with a comment dialog box, do the following:
-
Enter a comment.
-
Click SAVE.
Important: The Save with comment option is enabled only when you edit the existing test in the test editor. -