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.

Procedure
- Install HCL OneTest UI on a Windows, Apple Macintosh, or Linux computer.
- From HCL OneTest UI, create a
test project by clicking .
- 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.
- 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.
- 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.
- Run the test on the iOS device.
You can start a test run from the iOS device or from HCL OneTest UI.
- Evaluate the test results.