3 | Create your test
With Scriptless Mobile, you can create your test or use one of the available sample tests. The test editor display an existing test and lets you build new tests.
While creating a new test, you can add commands and checkpoints available on the side toolbar to the test editor. You can also use the Object Spy option for the open device to add commands to a test.
Object Spy helps to find objects on a device screen and identify elements. You can add the actions performed on the device screen as commands to the test.
Sample tests help you learn and play around with the application. You can customize the sample tests by making changes and saving them to a different location.
-
On the top toolbar, click the File icon and select Open.
-
In the Open Test dialog box, expand the Public Tests folders on the left panel.
-
Click the Samples folder and select a test from the available list.
-
Click OPEN.
Restriction: You can edit the test and save it in a location other than the Public Tests folder.
For more information on how to save a test, see Work with Scriptless Mobile
-
On the top toolbar, click the File icon and select New.
-
Add commands and checkpoints as needed. To add a command or checkpoint, on the Commands and checkpoints sidebar, do one of the following:
-
Drag and drop a command or checkpoint to the test editor
-
Double-click a command or checkpoint to add it to the test editor
Tip: You can also search for a specific command or checkpoint and then add it to your test. -
-
On the top toolbar, click the File icon and select Save.
-
When a device is ready, on the open device, open the app you want to work with.
-
In the side toolbar, click the scouting icon . The Object Spy pane opens between the open device and the side toolbar, and the side toolbar changes to display Object Spy-related icons only.
-
Turn on Object Spy mode.
-
In Object Spy mode, click an object on the device screen.
-
From the object command menu, click the desired command.
-
(Optional) In the parameter pane below the object tree, configure parameter information as needed.
To view advanced parameters, above the parameter table or on the side toolbar, click the Advanced Parameters icon .
-
On the object command menu, select whether you want to execute the selected command on the device, add it to the test, or both:
-
Select the Run command on device checkbox to execute the selected action on the device.
-
Select the Add command to test checkbox to add the selected action to the test.
-
-
To confirm your selections, select the Apply checkbox .
Tip: You can also select the required checkbox to execute actions on a device or to add actions to the test in the basic parameters pane below the object tree. Then click Apply.
For more information on Object Spy, including a video, see Find and validate objects with Object Spy.
Next:4 | Run your test