Using Devices from UFT Mobile through Silk Central

Micro Focus UFT Mobile provides an end-to-end quality lab of real devices and emulators that help you test, monitor, and optimize your mobile apps for an enhanced user experience.

Note: Silk4J supports testing against devices that are managed by UFT Mobile 3.0 or later.

You can either access the devices that are managed by UFT Mobile directly from Silk4J, or through Silk Central.

To access the devices that are managed by UFT Mobile through Silk Central:

  1. Integrate Silk4J with Silk Central. For additional information, see Integrating Silk4J with Silk Central.
  2. Configure Silk Central to use UFT Mobile.
    Note: While installing UFT Mobile, ensure that the appropriate Android SDK version is used. Ensure that the same version is used in Silk4J by setting the environment variable SILK_ANDROID_HOME, for example to C:\Users\<user>\AppData\Local\Android\android-sdk. For additional information, refer to the Silk Central Help.
  3. To test on iOS, ensure that the following IPA files are signed:
    • HP4M-Agent.ipa
    • HPMC-AgentLauncher.ipa
    • WebDriverAgentRunner-Runner.ipa
    Note: Silk4J does not support testing iOS simulators through UFT Mobile.

In the Select Applications dialog, you can now select the UFT Mobile device on which you want to test.

Note: You cannot test the same device with Silk Test Mobile and UFT Mobile at the same time. When switching between these products, you need to remove all apps that are used for automation and restart the mobile device.
Android
Before testing an Android device with Silk Test Mobile or before installing UFT Mobile, you need to remove the following apps from the device:
  • Appium Android Input Manager
  • Appium Settings
  • io.appium.uiautomator2.server
  • io.appium.uiautomator2.server.text
  • MC Agent
  • Silk Screencast
  • Unlock
iOS
Before testing an iOS device with Silk Test Mobile or before installing UFT Mobile, you need to remove the WebDriverAgent from the device.
UFT Mobile might re-install some of these apps.
Note: When testing on a device that is managed through UFT Mobile, Silk4J does not support using the methods typeKeys or setText to type key codes like ENTER. Additionally, Silk4J does not support pressing the Home button on iOS devices.
Note: When testing on an Android Emulator, disable the GPU HW Acceleration.