Add a mobile device, emulator, or simulator
The Mobile Scan automatically displays the following types of devices:
You can manually add iOS or Android devices, emulators, or simulators. To do so, follow the steps below:
-
Click Add device.
Add device button in the Mobile Scan
-
In the subsequent Add device window, select the type of connection from the Choose a connection drop-down menu. By default, only the option Local (TMA) appears in the Choose a connection drop-down menu. Use this connection type for locally connected Android and iOS devices.
You can add a different Appium Server address on which your device is running. To do so, follow the steps described in chapter "Add a new connection" below.
-
Into the Enter a name for your device field, enter a custom name for your mobile device.
The Mobile Engine 3.0 uses this name as a mobile configuration name under the node Mobile->Connections.
-
Into the Enter the device ID field, enter the device ID of your mobile device.
To find the device ID of a locally connected Android or iOS device, emulator, or simulator use the Tricentis Mobile Agent portal: http://localhost:8585/
-
Select the iOS or Android radio button.
-
If you selected iOS, specify the device type:
-
Select Real for a real device.
-
Select Simulated for an iOS simulator.
-
Add device pop-up window
-
Click Add.
The device appears in the Mobile Scan. Additionally, the Mobile Engine 3.0 saves the device in configurations, so you can use it in your TestCases.
Add a new connection
When you add iOS or Android devices, emulators, or simulators, the default connection is Local (TMA), for locally connected Android or iOS devices. You can specify a different Appium Server address on which your device is running.
To do so, follow the steps below:
-
In the Add device window, click Add New.
-
Into the Enter a name for your connection field, enter a custom name for this connection.
-
Select the connection type from the Type drop-down menu. You can choose from the following types of connections:
-
Remote (TMA) for real devices connected through USB to a remote PC running on Windows, Linux, or Mac operating system.
Add connection window with Remote (TMA) connection.
-
Cloud (Appium) for cloud devices.
Add connection window with Cloud (Appium) connection
-
-
Into the Enter the Appium Server address field, enter the address of the respective Appium Server.
-
Click Add. You can then select the connection from the Choose a connection drop-down menu in the Add device window.
The Mobile Engine 3.0 also saves the connection in mobile configurations.