Community in read only mode June 18 & 19
This community will be set in READ ONLY mode for a while on Tuesday June 18 into Wednesday June 19 while we import content and users from our Micro Focus Forums community site. MORE INFORMATION

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

JohnLy Absent Member.
Absent Member.
0 0 683

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.

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.