Handle tests
A test is a set of commands and checkpoints. You can create a new test, save it, open an existing one and save it with a new name, or delete a test.
After making changes to a test, each time you save the test, Scriptless Mobile saves a new version of the test called a snapshot. To learn more, see Work with test versions.
If a test contains loops or conditions, or if steps have been combined into a logical step, commands in the test appear indented. In the test editor, indented commands are identified through expand/collapse controls next to the line number and down/right arrows to the left of a test step. You can click these controls to expand or collapse the respective code block as needed.
To expand or collapse all indented code blocks at once, you can also use the following keyboard shortcuts (on both Windows and macOS machines):
-
To expand the code, press Ctrl+].
-
To collapse the code, press Ctrl+[.
To learn how to handle tests in Scriptless Mobile, watch this video or review the instructions following the video.
-
On the top toolbar, click the Tests menu and select New.
-
Add commands and checkpoints as needed.
-
On the top toolbar, click the Tests menu and select Save As.
-
On the top toolbar, click the Tests menu and select Open.
-
In the Open Test dialog box, expand the folders in the left pane.
-
(Optional) To sort the table in the right pane, click a column name. You can sort the order of appearance of the tests based on the file name (default), creation date and time, modification date and time, owner, modified by, and parameters.
-
Select a test from the available list.
-
Click OPEN.
-
On the top toolbar, click the Tests menu and select Save As.
-
In the Save as Test dialog box, select a folder in the left pane.
Tip: The available default folders are Public Tests and My Tests. A Group Test folder option is visible only if you are you are logged in as a user that is in a group. You can create a new folder in any of these folders.If you hover over an empty folder that is not one of the default folders, a delete folder icon appears.
-
(Optional) To create a new folder, hover over an existing folder and click the folder button .
-
(Optional) Enter the name for the new folder and press Enter.
Restriction: A folder name cannot contain any of these characters \ / : *? “ < > |. -
Enter a test name and click SAVE.
Every time you save an existing test, Scriptless Mobile creates a new test version, or snapshot.
-
On the top toolbar, click the Tests menu and select Save or Save As.
-
If you selected Save As, in the Save as Test dialog box, select a folder in the left pane.
The folders appear as Public Tests and My Tests. A Group Tests folder option is visible only if you are you are logged in as a user that is part of a group. You can create a new folder under any of these folders.
Tip: If you hover over an empty folder , a delete folder button appears. This icon appears only for empty folders. -
(Optional) To create a new folder, hover over the folder and click the folder button .
-
(Optional) Enter the name for the new folder and click the confirmation button .
Restriction: A folder name cannot contain any of these characters \ / : *? “ < > |. -
Enter a test name.
-
(Optional) Add comments.
-
Click SAVE.
You can delete tests that are no more required.
-
On the top toolbar, click the Tests menu and select Open.
-
In the Open Test dialog box, expand the folders in the left pane.
-
(Optional) To sort the table in the right pane, click a column name. You can sort the order of appearance of the tests based on the file name (default), creation date and time, modification date and time, owner, modified by, and parameters.
-
Hover over the test you want to delete and, on the right, click the Delete test button .
-
In the Delete test dialog box, click YES to confirm the action.