Prerequisites for Testing Mobile Applications on Android

Before you can test a mobile application (app) on an Android device or on an Android emulator, ensure that the following prerequisites are met:
  • Ensure that Java is installed on the machine on which Silk Test Classic is running, and that the path to Java is added to the Path environment variable. Silk Test Classic 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 Classic:
    WebView.setWebContentsDebuggingEnabled(true);
    webView.getSettings().setJavaScriptEnabled(true);
  • Silk Test Classic does not support showing a live view of the device screen for Android 4.4. Micro Focus recommends using Android 5 or later.