How to configure an Android physical device for testing with Silk Test

Silk Test enables you to test mobile applications on physical devices and emulators. This video shows how you can configure a physical Android device to ensure that Silk Test can optimally test on it.

This video covers the following main points:

  • Installing the USB driver for your device.
  • Enabling the developer options on the device.
  • Enabling USB debugging.
  • Enabling Stay awake to keep the device awake during testing.
  • Setting the USB mode of the device to MTP.
  • A sample record-replay workflow to ensure everything is working.


Before testing on Android, ensure that the following requirements are met:

Java is installed on the machine on which Silk Test is running and the path to Java is added to the Path environment variable. Silk Test requires either a JRE or a JDK for mobile testing. If Java is not installed, add C:\Program Files (x86)\Silk\SilkTest\ng\jre\bin to the Path.


If you have created your own hybrid app by adding a web view to a native mobile app, add the following code to the app to make your app testable with Silk Test:


WebView.setWebContentsDebuggingEnabled(true);
webView.getSettings().setJavaScriptEnabled(true);


Micro Focus recommends using Android 5 or later, because Silk Test does not support showing a live view of the device screen for Android 4.4.
For additional information, refer to the Help of your Silk Test client.