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: Silk4J 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
Silk4J, or through
Silk Central.
To access the devices that are managed by Mobile Center directly from
Silk4J:
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,
Silk4J 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,
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.