Getting started with mobile application testing on iOS devices

You can test web applications on an iOS device using the browser-based client for iOS. This client is a web application that runs in the Safari or Chrome browser on your device.

About this task

The following diagram shows a high-level overview of mobile testing for iOS applications. In the diagram, test workbench refers to the HCL OneTest™ UI Web UI Test perspective.

iOS flow


  1. Install HCL OneTest UI on a Windows, Apple Macintosh, or Linux computer.
  2. From HCL OneTest UI, create a test project by clicking File > New > Test Workbench Project.
  3. Download the Test Workbench Web Recorder from the Apple App Store on to your mobile device.

    The Test Workbench Web Recorder is required to record and play back user actions of a web application under test. It is invoked automatically during the recording and playback process.

  4. Create a test by recording gestures and interactions on the device. Actions are represented in natural language, which allows you to document and reproduce the test manually.
  5. Examine and enhance the recording as needed. Here is a partial list of what you can do:
    • Add verification points to verify that an expected value or behavior is returned during a test run.
    • Add variables to the test script.
    • Add a loop so that the test runs multiple times.
    • Add a dataset to provide variable data rather than the data that you recorded.
    • Add application stubs to simulate the behavior of actual objects that interact with the application under test.
  6. Run the test on the iOS device.

    You can start a test run from the iOS device or from HCL OneTest UI.

  7. Evaluate the test results.