The Dev Access plugin (Android) and app (iOS) provide a user-friendly interface for connecting to and interacting with devices in the UFT Mobile lab, from within your integrated development environment (IDE).
For iOS, you must have the socat tunneling tool on your machine.
To install it on a Mac machine, run the brew command:
brew install socat
If you do not have brew package manager, retrieve and install it with the following command :
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Note: If you have SIP (System Integrity Protection) enabled, you will not be able to install brew with the curl command. Disable SIP to use the above command.
Install Dev Access
To conect to Android devices, install the plugin from the JetBrains Marketplace.
- To connect to iOS devices download the app from UFT Mobile as follows:
- Navigate to the DEVICE LAB > DEVICES page. Hover over the device's card and click the Dev Access , or in list mode, select a device and click Dev Access.
- Select the Mac operating system and click Download.
- Extract the files on your IDE machine.
- Open Terminal and grant execution permission to the files by running the following command in the folder to which you extracted the files:
sudo chmod –R 777 *
Before starting, make sure that have an execution token. If not, generate one. For details, see Generate and manage access keys (non-admin users).
- Open the plugin/app. For iOS, users with sudo permissions can double click dev-access-ui.command to open the dev access interface.
- In the Settings tab, provide the following:
- URL for the UFT Mobile server and port.
- Your execution token
- If connecting via proxy server, specify the details of the proxy machine.
- ADB execution file path (Android only): This is automatically detected from your IDE. You can browse to select a different ADB version file if needed.
- Click Log in.
Connect to Lab devices
- Select the Devices tab.
- Enable the connection by clicking the Enable UFT Mobile Dev Access radio button.
- Select a UFT Mobile workspace. The list of devices allocated to that workspace and all shared devices are displayed.
Note that the Android plugin displays Android devices only. The iOS app displays iOS devices only.
- Select a device from the list, and click CONNECT DEVICE. Repeat this step to connect to multiple devices. For iOS, you can connect to multiple devices provided that they are connected ot the same conector.
- When you connect to a Lab device, the remote device view opens and you can interact with the device.
- To end a device session, select the device in the list and click DISCONNECT DEVICE.
To switch back to your local devices, click the disable UFT Mobile Dev Acces radio button.
- When using the Dev access plugin with Android Studio using JDK 11 or above, the remote device viewer shrinks. This issue is caused by JavaFX not respecting the Windows OS scale.
Workaround: In Settings >Display > Scale and Layout> Change the size of text, app, and other items change the scale to 100%.
- When using JRE/JDK version 8u211/8u212/8u222, a white screen is displayed on the remote device viewer. This issue is resolved when using JDK 8u231
Dev access is not supported if there is firewall or proxy between the connector and dev-access client.