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

Testing hybrid apps

Micro Focus Expert
Micro Focus Expert
0 0 1,865

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.

Introduction

Hybrid applications (apps) are apps that are run on the device, like native applications, but are written with web technologies, for example HTML5, CSS, and JavaScript.

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:

Prerequisites

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:

  1. 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.
  2. In the Select Application dialog, switch to the Mobile tab.
  3. If you want to test on iOS, click Edit Remote Locations to add the Mac as a remote location.
  4. Select the device, Emulator, or Simulator on which you want to test.

  5. 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.

 

Replaying

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:

 

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.