View and manage devices
Note: When preparing a test with a testing tool, select your device through your testing tool interface, such as UFT One or TruClient. For details, see UFT Mobile wizard.
Click DEVICE LAB > DEVICES to display the devices in the Lab.
- Shared space administrators will see all the devices that have been connected to UFT Mobile. A shared space admin user will also have full control over the devices and the workspaces to which they belong.
- Other users will see all UFT Mobile shared devices (devices in Shared Assets), as well as devices assigned to the workspace in which they are working.
In the top right-hand corner, you can see the number of devices that match the current filter, out of the total number of connected devices. You can also view the devices in a list. Click the List and Card view buttons to toggle between the views.
The following details are displayed in the device card:
|Device Host||The device host type, for example, for a hosted device or for an Amazon ADF device. For details about hosted devices, see UFT Mobile hosted device lab integration. In the Filter pane, use the Features section to filter by the type of device: Physical, Emulator, Hosted, or Amazon Device.|
|Settings app blocked||If your administrator has not granted permission to change the settings on the device, the settings app blocked icon is displayed in the top-right of the device card. If the Settings app could not be restricted for non-admin users, this icon will be displayed. Note that while you can still interact with the Settings app, replay will fail with a 2700 error.|
|Operating System and version||A read-only field in the card's top left corner.|
|Device name||Click the name to edit it. The default is the model number of the device.
Note that if your administrator has not granted you permission to update this field, you will not be able to edit the device name.
|Manufacturer, model, and ID||A read-only field indicating the device information.|
|Workspace name||The workspace to which the device is assigned.|
|Device health||The icon indicates an issue with the device health. It is only displayed if one of the metrics exceeds the defined threshold. Hover over the icon to see details about the exceeded threshold. Shared space admin users can configure thresholds for all device health indicators in the Administration settings.|
|Maintenance mode||The icon indicates that the device is in maintenance mode. Only shared space admin users can access devices that are in maintenance mode.|
|Reservations||The reservations for the device. For example, Available or Reserved by... Until. Click this section to view and create reservations. A triangular emblem at the bottom right of the device indicates its status. For details, see View and manage device reservations.|
Note: To use iOS devices with UFT Mobile you must re-sign the Agent apps with a development certificate of an Apple Developer account. For details, see Re-sign the Agent apps. This is not required when using UFT Mobile hosted devices.
Find a specific device in one of the following ways:
- Search. In the right pane, click the Search button. In the text box, specify the name, device ID, model, or manufacturer of the device.
Filter. To focus on the information that is important to you, use the left panel filter in the Devices page to limit what items are displayed. Using the filter panel, specify your criteria in the following areas:
OS Operating System: Android or iOS. Use the slider to select an OS version. Features The type of device: Physical or Emulator; Phone or Tablet ; SV Enabled; Hosted; or Amazon Device. Availability
You can filter devices according to the following availability options:
- Available. Available devices
- Reserved for me. Devices reserved for you or that are currently in use by you.
- Reserved for others. Devices that have been reserved for someone else or are currently in use by someone else.
- Disconnected. Devices that are not connected to . The thumbnails of disconnected devices are faded. Hover over the icon to view the issues that were detected when trying to connect the device.
- In maintenance. Devices on which maintenance mode has been activated. Non shared space admin users are not able to access these devices.
- Not in maintenance. Devices on which maintenance mode has not been activated. Because non shared space admin users are not able to access devices in maintenance, this option is useful to filter out devices that temporarily cannot be used.
Connector The connector whose devices you want to display. Workspace Display devices assigned to a specific workspace.
Tip: Use the Clear link in the upper right corner of the filter panel to remove all your device filters.
When you hover over a specific device in Card view, or select it in List view, the device management options are displayed. In List view, the options are displayed in the toolbar above the device list.
|Option||Use this to ...|
For Available or Reserved for me devices, access the device remotely. This reserves the device for 30 minutes or uses an existing reservation, allowing you to interact with the device
If the device is Reserved and In Use By Me, the interaction with the device in the remote session will be limited. Most options in the control panel will not be available. However, this option is useful when you want to remotely connect to a device while an unattended test (such as an Appium test) is running.
If the device is Reserved for or In use by others, or if you do not have the adequate license capacity, this button will be disabled.
For more details of device states, see View and manage device reservations.
When you are finished working with the device, click END SESSION in the top right-hand corner of the remote window to close the session and delete the device reservation.
For information about exploratory testing and interacting with the device, see Device control panel.
Open the device remotely and start to record the session.
Open the device remotely and record the steps that you perform to conduct exploratory testing. You can then download a file with the steps. For details, see Manual testing.
The ability to access and interact with the device depends on the availability status of the device, and works in a similar way as described in the Open device remotely option above.
Remove a Disconnected device. To remove a device with another status, it must first be disconnected from UFT Mobile.
Release a device that is locked.
Download Dev Access.
Hover over the icon to see details about the exceeded threshold. This indicator is only displayed if one of the metrics exceeds the defined threshold. Shared space admins can configure the thresholds for all device health alerts in the Administration settings.
Opens the Device Information window.
The top section contains general information about the device: its ID; name; network connectivity level; workspace; and availability.
The network connectivity level represents the latency between the client and connector to which the device is connected. Hover over the latency icon to view its value, for example, Remote view latency: 18 ms. For optimal remote view performance, select a device with good latency. The latency is considered good if it is less than 100 ms (green), mediocre if it ranges between 100 and 200 ms (yellow), poor if it ranges between 200 and 300 ms (red), and bad if it exceeds 300 ms (gray).
This window has four tabs: Details, Metrics, Reservations and Actions.
Tip: Access the Device Information window by clicking the lower section of a device card (for example, where it says "Available").
|More information > Details||
Share a specific device with your testers using the device's URL string. They can access the device directly with the URL string, without having to open the UFT Mobile lab and manually navigate to the device.
|More information > Metrics||
Provides admins and users with additional information to help understand the device health and if it is ready for running tests. Metrics include details such as:
You can also get an alert when a device metric such as WiFi connectivity, thermal state, or device temperature deviates from a configured threshold value. For details, see Administration settings.
|More information > Reservations||A list of current reservations for the device, and an option to create a new reservation.|
|More information > Actions||
Interact with the device:
Share space admin users can click
You can perform the following actions in the Connectors tab:
|View device and Agent details||
To view the devices associated with a specific connector, click the X Devices link in the row of the desired connector. The Devices view opens with the devices filtered for the selected connector. If you enabled UFT Mobile Hosted Device Lab integration in the Administration settings, you will also see the hosted device lab connectors. You can also see when the Agent apps were last distributed to connectors, and by hovering over the icon, the versions of the Agent apps that were last distributed.
|Add a new connector||
Click Download Connector.
To allow users to install connectors and connect devices, the administrator needs to provide them with access keys. For details, see Access key management.
|Distribute the Agents||Distribute the Agents to selected connectors:
|Reconnect Devices||Click the button at the top of the grid to reconnect devices. This step is required after the Agent app distribution status is complete. Select multiple rows to perform this action on several connectors at once.|
|Remove a connector||This can only be done for a disconnected connector. The button only removes the connector from the list of connectors; it does not delete the physical connector installed on a remote machine. When a connector that has been removed is restarted, it will be displayed again in the grid|
Tip: You can select multiple connectors and apply an action to all the selected connectors.
To create a reservation:
Click + NEW RESERVATION to open the Create Reservation window.
Select a device.
Note: You can make a reservation for a specific device, provided that you have access to the workspace to which it is assigned. Your administrator can set up workspaces and assign you to one or more of them.
Select the date and time for starting and ending the reservation.
Your administrator may have set limits for device reservations. These may impact the number of reservations that you can make and the total time that you can reserve devices from a specific workspace.
After you reserve a device, it will be locked for you at that time. The Reservations page indicates that you reserved it, and shows the start and end times. A triangular emblem at the bottom right of the device indicates its status:
|Reserved for you|
|Reserved and in use by you|
|Reserved for someone else|
|Reserved and in use by someone else|
Emulated devices are indicated by the Emulator icon in the top corner of their cards.
To connect a Genymotion Cloud emulator to UFT Mobile:
In card view, move the ON/OFF toggle to ON. Wait for the card to show the Connected status. The emulator is now ready to be used for automated or manual testing. The clock icon lets you see when the emulator was connected.
To stop using an emulated device, move the ON/OFF toggle on the device to OFF.
You can use Amazon Device Farm (ADF) devices in all your testing scenarios:
|UFTM Lab console||You can add an ADF device from the UFT Mobile lab. For details, see Add an ADF device to the lab.|
|Micro Focus testing tools||
To select ADF devices with Micro Focus testing tools, open the UFT Mobile wizard.
With this option, the device is connected at the beginning of a test and disconnected at the end. We do not recommend using this if you want to use a device for more than one test because you will need to wait for the device to connect for each test.
|CI (Continuous integration)||To use an ADF device in CI (Continuous integration) testing, connect it using REST API calls. For details, see Use ADF devices with CI.|
Test duration on AWS is limited to 150 minutes. To extend this time, contact Amazon.
Amazon Fire devices are not supported.
If you choose a device based on capabilities, but do not specify an exact operating system, the device will not appear in the UFT Mobile console until after the device initialization is complete.
To add an ADF device from the UFT Mobile lab console:
- Set up the AWS Device Farm integration.
- In the DEVICE LAB tab, click + Device. If no devices are connected to the lab, Click Connect Device on the initial Devices page.
- Choose Select a device from ADF from the dropdown. This option will only be enabled if the AWS Device Farm integration is valid.
- In the How To popup, click Connect Device to open the ADF device selection wizard.
- Connect a device to your lab according to the following guidelines:
You can use capabilities to select a device. Set the desired capabilities and choose an OS, an OS version, manufacturer, model and fleet type: public or private. The list of matching devices, and their availability, are displayed.
Tip: Populate the desired capabilities fields according to the characteristics of a specific device, by clicking the icon next to the device. To clear the set capabilities, click CLEAR at the top of the capabilities section.
Select a specific device from the list of matching devices or have UFT Mobile automatically select the device. When using automatic selection, the device with the best availability status will be allocated.
- In the APPS tab of the wizard, select the apps to install on the device, and click CONNECT DEVICE.
For public iOS devices, the ADF signing service can only be used while setting up the device. You will not be able to install apps on public iOS devices at a later time. For private ADF devices, provided that you add the device id to your provisioning profile, you can install apps on a private ADF device using the app interactions in the control panel. For details, see Device interactions.
When the device is connected, the device's card shows an icon indicating that it is an ADF device. A clock icon lets you see when the ADF device was connected. The device will remain connected until selecting Remove, or until the ADF project execution timeout is reached. When the ADF device reaches its maximum usage time, its status will indicate that it is disconnected.
ADF devices will no longer be displayed in the lab if the following cases:
- The ADF connector is disabled
- AWS settings become invalid
You can use an ADF device in CI (Continuous integration) testing using REST API calls. First make sure you have enabled AWS as described in AWS Device Farm integration.
To connect a device:
Obtain the device ID with one of the following API calls:
Check the response for the deviceID value.
Use a temporary parameter deviceID. Continue to poll the status until the device becomes registered.
After you have the deviceID value, this indicates that the device is connected. Pass the parameter storing the device ID to your REST calls in your CI job.
- Make sure the total expected duration of the tests you plan to run on a connected device does not exceed the ADF timeout.
- After the tests are complete, remove the ADF device from UFTM using the remove device API.
For details about using the REST API, see REST API reference for UFT Mobile.
Download a video recording of a test
After a test run, you can download a video recording of the test from the Video section of the page.
You can also download the connector log for the ADF host. For details, see Troubleshooting.
Check the filter panel to see what options are selected. UFT Mobile displays only the items that fit the filter conditions. To display all items, select all the filter options and clear the search field of any text that you have entered.
To see a device, you need to have access to the workspace to which the device belongs. Make sure that your administrator has allowed you access to the devices you need to test.
If a device remains locked after you ended the remote device session, click Refresh in the Devices tab.
If you use photo or video simulation after installing an app through the Control Panel's device interaction—if you click Install app again, the spinning icon will remain. Workaround: End the remote device session and reopen it.
After a test run, download the connector log for the ADF host from the Amazon Device Farm test run page. In your ADF project Run & Sessions page, select the required test run. In the Files section, click Customer Artifacts to download a zip file with the logs. The connector logs are located in the