With Silk Test 17.5 or later, you can test hybrid mobile apps on Android and iOS, on both physical devices and emulators/simulators.
This video introduces this new functionality.
Micro Focus recommends setting the quality of the video to high definition (HD), because otherwise the video might not display correctly.
You can view additional Silk Test videos on YouTube.
Silk Test supports testing hybrid apps that consist of a single web view which is embedded in a native container. A common example of such a hybrid app would be an Apache Cordova application.
The process for testing a hybrid app is the same as the process for testing a mobile native application. For additional information, see the following topics in the Silk Test Help:
- Testing Mobile Applications on Android
- Testing Native Mobile Applications on a Physical iOS Device
- Testing Native Mobile Applications on an iOS Simulator
For information on the prerequisites, see Prerequisites for Testing Mobile Applications on Android or Prerequisites for Testing Mobile Applications on iOS.
Setting up the test
To start testing:
- Create a new project in Silk4J or Silk4NET, or a new visual test or .NET script in the Silk Test Workbench. If you want to use Silk Test Classic, create a new test script and click Configure Application in the workflow bar.
- In the Select Application dialog, switch to the Mobile tab.
- If you want to test on iOS, click Edit Remote Locations to add the Mac as a remote location.
- Select the device, Emulator, or Simulator on which you want to test.
- Browse to the location of the APK, IPA, or ZIP file of your hybrid application and click OK to continue.
Recording the test
You can now start to record your test script. The mobile recorder enables you to record actions remotely on the device and displays the recorded actions in the side bar.
When replaying the test, you can either use the device that you have used for recording, or any other locally connected device. In addition, if you use the Device Lab feature, you can even test on remote devices:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.