Device control panel
The UFT Mobile Device Control Panel enables you to interact with a device and perform simulation of common events. When opening a device remotely directly from the mobile lab, you can also perform exploratory testing sessions on a device. These sessions can also be recorded.
Accessing the device control panel
The Control Panel is available from:
- The UFT Mobile lab, as exploratory interaction with the device. To access it, open the device remotely by clicking or while hovering over a device in Card view, or by clicking Open or Open & Record in List view. Click the List and Card view buttons in the upper right corner to toggle between the views.
- Testing tools that integrate with UFT Mobile such as UFT, Sprinter, and TruClient. To access it, begin your record or replay session.
Secure connection only (HTTPS): When using the default self-signed certificate, the browser displays a warning or error when you first try to access a device through a connector with a secure connection. For web browsers to trust the certificate, the SSL certificate must be issued by a recognized Certificate Authority (CA). The connector's self-signed certificate still works to encrypt data, the warning is letting you know that the SSL certificate was self-signed and is not signed by a CA. To view the device, you need navigate to the URL of the connector and trust the self-signed SSL certificate.
Note: Depending on the tool that you are using and the testing state (idle, capturing, or running), certain options may not be available.
This section lets you interact with the device during the capture or replay session, or when idle.
The Simulations section lets you perform common event simulations. Some simulations are not available when conducting exploratory testing from the Lab console, and are only available when accessing the Control Panel using testing tools.
|Simulate incoming call. The dialog box that opens lets you indicate the number calling, and how to handle the call.|
|Simulate incoming SMS. The dialog box that opens lets you indicate the number sending the message and the message text.
Note: SMS simulations are not supported for Android 6 and above.
|Simulate sending app to background. The dialog box that opens lets you indicate the duration for which the app should be sent to the background.|
Simulate GPS relocation. The dialog box that opens lets you specify the latitude and longitude for the simulation. Note that for iOS, GPS simulation is only supported for packaged apps.
For Android 6.0 and higher, you need to set the mock location app as follows: Developer options > Select mock location app and select UFTM Agent.
|Simulate photo. Supported only for packaged apps. Enables you to replace the photo taken by the device's camera. The dialog box that opens lets you specify a image files. For details, see Photo and video simulation.|
|Simulate video. Supported only for packaged apps. Enables you to replace the video taken by the device's camera. The dialog box that opens lets you specify a video file. For details, see Photo and video simulation.|
QR code or barcode scan Enables you to replace a scan of a QR code or barcode with an image. For details, see QR code and barcode simulation.
|Simulate authentication. Supported for package apps only. Enables you to simulate Fingerprint or Face ID authentication on mobile devices. Authentication Simulation is active by default on packaged apps that require fingerprint or face ID authentication. Navigate to the screen in the app that uses authentication. When prompted, select an authentication result. For details, see Fingerprint and Face ID simulation.|
|Network Virtualization. Simulate network conditions to test how various mobile networks affect your application's performance on different mobile devices. For details, see Perform exploratory testing with Network Virtualization. (Disabled for Genymotion or AWS devices)|
Device metrics are only available when accessing the Control Panel using a testing tool, not when interacting with a device from the lab console.
This section lets you view the device metrics collected during the test. You can only select which metrics to collect via your testing tool's options.
- CPU. CPU usage during the test run.
- Memory. The amount of memory used during the test run.
- Free Memory. The amount of free memory on the device, during the test run.
In this section, you adjust the resolution of the images in the displayed device. You can scale down the image to the desired size.
Scaling down an image lowers its quality, but improves the performance of your tests and other interactions with the device.
Your scaling preference is preserved per browser and machine.
If Network Virtualization (NV) has been enabled, you can run an exploratory test using network virtualization. See Perform exploratory testing with NV, or click the Network Virtualization button to open the How to wizard.
The General information section is located at the bottom of the Control Panel.
The current zoom level. Use the plus and minus signs to zoom in and out.
The latency between the client and the connector to which the device is connected. The latency level is indicated as follows:
|Green||Good||Less than 100 ms|
|Yellow||Mediocre||From 100 - 200 ms|
|Red||Poor||From 200 - 300 ms|
Exceeding 300 ms
The device properties such as the device type, name, and ID.
To learn more about the device and its reservations, or to perform an action on the device (such as Restart or Reconnect) click the More information button to open the Device window.
You can open a device remotely from the mobile lab to perform manual testing. These exploratory sessions can also be recorded. To open a device for an exploratory session, click or while hovering over a device in Card view, or click Open or Open & Record in List view. For more details on manual testing, see Manual testing.