Using Devices from Mobile Center Directly from Silk Test Classic

Micro Focus Mobile Center (Mobile Center) 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: Silk Test Classic supports testing against devices that are managed by Mobile Center 3.0 or later.

You can either access the devices that are managed by Mobile Center directly from Silk Test Classic, or through Silk Central.

To access the devices that are managed by Mobile Center directly from Silk Test Classic:

  1. Add Mobile Center as a remote location. For additional information, see Editing Remote Locations.
  2. To test on iOS, ensure that the following IPA files are signed:
    • HP4M-Agent.ipa
    • HPMC-AgentLauncher.ipa
    • WebDriverAgentRunner-Runner.ipa
    Note: Silk Test Classic does not support testing iOS simulators through Mobile Center.

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

Note: You cannot test the same device with Silk Test Mobile and Mobile Center 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 Mobile Center, 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 Mobile Center, you need to remove the WebDriverAgent from the device.
Mobile Center might re-install some of these apps.
If you want to replay tests from a CI server or tests from the command line on a device that is managed by Mobile Center, you can specify the connection string for the device instead of configuring the remote connection. The connection string should look like the following:
"deviceName=MotoG3;platformName=Android;host=http://<Mobile Center server>:8080;hostType=MC;userName=<Mobile Center user name>;password=<Mobile Center password>"
Note: For security reasons, Silk Test Classic saves an encrypted form of the Mobile Center password when you create a new application configuration.Micro Focus recommends using the encrypted password in the connection string.
Note: When testing on a device that is managed through the Mobile Center, Silk Test Classic does not support using the methods TypeKeys or SetText to type key codes like ENTER. Additionally, Silk Test Classic does not support pressing the Home button on iOS devices.
Note: When testing on an Android Emulator, disable the GPU HW Acceleration.