Testing Mobile Web Applications on an iOS Simulator

For information on the known limitations when testing mobile web applications, see Limitations for Testing Mobile Web Applications.

To test a mobile web application on an iOS Simulator, perform the following tasks:

  1. Prepare the Mac for testing. For additional information, see Preparing a Mac for Testing Mobile Applications on iOS.
  2. Add the Mac, on which the iOS Simulator is installed, as a remote location to the Windows machine on which Silk Test is installed. For additional information, see Editing Remote Locations.
    Note: At any given point in time, you can test on multiple physical iOS devices that are connected to the Mac, but only on one iOS Simulator that is running on the Mac. With Silk Test 17.5 Hotfix 1 or later, you are no longer required to use multiple user sessions on a Mac to test mobile applications on iOS.
  3. Create a Silk Test Workbench project for your mobile application.
  4. Create a test for your mobile application.
  5. Record the actions that you want to execute in the test. When you start the Recording window, the Select Application dialog box opens.
  6. To test a mobile web application:
    1. Select the Web tab.
    2. Select the mobile browser that you want to use.
    3. Specify the web page to open in the Enter URL to navigate text box.
  7. Click OK. An iOS device or Simulator must not fall into sleep mode during testing. To turn the screen lock and password off, select Settings > Touch ID & Code.
  8. When you have recorded all actions, stop recording.
  9. Replay the test.
  10. Analyze the test results.