Manage multiple devices
With Scriptless Mobile, you can manage and test multiple devices simultaneously.
You can create a test with a loop command. The loop command uses a datatable with a list of devices. When the test runs, each device is a loop execution. You can also use multiple devices in embeddable tests. You can use an embeddable test that checks for specific devices. The devices are in sync or async mode.
The devices appear in a row in the devices pane. You can navigate the Device pane by using the vertical and horizontal scroll bars. Every device appears with a device frame.
You can open up to six devices at the same time.
The most recently opened device is activated and stays active until you open another device, or shift your focus to another device. To activate a device, click the device or device frame. Only one device can stay active at a time. The active device appears with a light blue device frame, and the frame's toolbar is also enabled.
When you close the selected device, the selection moves automatically to the most recently opened device.
All widgets respond to the active device. When you switch your focus from one device to another, you lose the data entered with the initial device.
For a demo of how to work with multiple devices, watch this short video. Detailed steps follow.
On this page:
Open, close, and select devices
You can open devices anytime as per your requirement.
-
Near the username on the top toolbar, click Open Device.
-
In the Select device dialog box, select any device from the list. You can also find a specific device and then select it.
-
Repeat these steps to open more devices.
You can close a single device at a time or all devices at once.
To close a single device:
- In the devices pane, click the device to be released, and then click the close button at the top of the device toolbar .
To close all devices:
- In the widgets pane, click the Release all open devices button . Then, in the Release all open devices dialog box, click APPLY.
You can select a device from the widgets pane. Make sure that you have opened more than one device in the devices pane.
-
In the widgets pane, click the Device button.
-
On the Device tab at the top, select the device from the list of devices.
Create more space in the devices pane
While working on multiple devices, you can create more space in the devices pane by expanding it. You can also collapse the Commands and Embeddable Tests pane and widgets pane to free up space.
You can extend the devices pane towards the text editor.
-
Hover over the left border of the device pane. The cursor changes in appearance.
-
Drag the border of the device pane.
You can collapse the Commands and Embeddable Tests pane. This frees up the space on left side of the screen.
-
On the Commands and Embeddable Tests pane, click the collapse button .
You can collapse the individual widgets or tabs opened.
-
To collapse the widget, close the open tab by clicking it.
Move and resize devices
You can change the position of a device within the devices pane. You can resize devices with the device toolbar and zoom buttons.
You can rearrange the order of devices in the device pane by moving devices around.
-
Click anywhere on the device frame. The cursor changes in appearance.
-
Drag the device to another location.
You can change the size of a device to get a better view.
-
On the device toolbar, at the bottom right, drag the Resize device handle to the required size.
You can resize all devices simultaneously.
-
In the devices pane, at the bottom right, click the zoom in or zoom out button.
You can maximize the device size for all devices to fit in the device panel.
-
In the devices pane, at the bottom right, click the Fit button .
You can click the reset device button to reset a device to its default size. The button is enabled only when the device is smaller or larger than the default size.
-
Click the device or device frame.
-
In the device frame, at the bottom right, click the Reset device size button .
Work with the device toolbar
With the device toolbar, you can also set the home location, rotate the device, and add secure text.
While working on a device, you can navigate to your device's default home screen with a single click.
-
On the device toolbar, at the top right, click the Home button .
You can click the rotate button to rotate the device 90 degrees counterclockwise.
-
On the device toolbar, at the top right, click the Rotate button .
If you click the rotate button again, the device rotates back to its original position.
Once rotated, the device maintains its original size. You might have to scroll or zoom out to view the entire device frame.
Some UI fields, such as password fields, are considered secure fields whose content should be masked. With Scriptless Mobile, you can enter text securely. The text appears encrypted in the generated report output.
-
On the device screen, click the text field.
-
On the device toolbar, at the top right, click the Secure text button .
-
In the Enter text dialog box that opens, enter the text and click OK, I'M DONE.
You can turn on or turn off the audio for selected devices. The audio button appears on devices that support audio. By default, all devices are on mute when opened. Unmuting a device might cause increased latency.
-
Click the device.
-
To enable audio, on the device frame, at the bottom right, click the Unmute audio button .
-
(Optional) To disable audio, click the Mute audio button.
The device toolbar offers the location indicator. It appears on the device frame when you set a location through the widgets pane.
After you set the location of a device, you can test applications that use location services on Android and iOS devices.
-
On the widgets pane, click the Location button .
- In the Set Location dialog box, in the search field, enter one of the following, and then press Enter:
-
A full or partial address,city, state, or country
-
Latitude and longitude coordinates as a comma-separated pair, such as 51.4929, 8.2884
-
- Click INSERT LOCATION.
The Environment Location On button appears at the bottom right of the device frame.
Run a test on multiple devices
You can run a test on multiple devices at a time. All test steps are run on each device.
You need a device DUT variable to run a test on multiple devices. A single test can contain multiple DUT variables.
Afterward, the test report includes the device ID or number for each device. In the test report, you can select the devices to view the video execution. Each test step in the report is associated with a device number, indicating the device where the step runs.