Getting started with mobile application testing on the iOS Simulator

Use this topic to help you get started with your testing of Web applications on the iOS Simulator.

Before you begin

Note the following requirements:

  • Testing with the iOS Simulator requires a Macintosh computer and Xcode.
  • Install the Test Workbench Web Recorder on the iOS Simulator. 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. For details see Installing the mobile web recorder on the iOS Simulator.
  • To test with the native mobile test client in the iOS Simulator, you will first need to install the client. For details, see Installing the mobile test client on the iOS Simulator.


  1. Install HCL OneTest™ UI on a Macintosh, Windows or Linux computer. For details, see ../../
  2. From HCL OneTest UI, create a test project by clicking File > New > Test Workbench Project.
  3. Open the browser-based client by typing the Workbench URL in the following format in the Safari browser on the iOS Simulator:

    Format: http://Workbench_URL:port/mobile


  4. Create a test by recording gestures and interactions. Actions are represented in natural language, which allows you to document and reproduce the test manually.
  5. Examine and enhance the test script recording as needed. Here are some of the things 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 in the iOS Simulator.

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

  7. Evaluate the test results.