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
Silk4J is running, and that the path to Java is added to the
Path environment variable.
Silk4J 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
Silk4J: