Testing with iOS Gateway Simulators

The iOS Gateway application can simulate physical devices running iOS 9.0 and later. You can connect to these simulated devices in Eggplant Functional and run tests as you would on an iPhone or iPad. Follow these steps to get started.

Connect to a Simulator

  1. In iOS Gateway, go to iOSGateway > Preferences and select the Simulator tab.

    The Simulator dialog window in iOS Gateway

  2. Select the Show Simulator checkbox. Choose an iOS device and iOS version from the drop-down menus. Note that you can install more iOS versions to simulate in Xcode.
  3. The simulated device’s IP address is shown in the title bar of the main iOS Gateway window. The port number displays in the device list at the left of the iOS Gateway window
  4. Click Start VNC Server from the top menu in iOS Gateway.
  5. In Eggplant Functional, open the Connection List from the Connection menu.
  6. Create a connection to the iOS Gateway simulator in using the IP address and port from Step 3.
Note: Select the Enroll in Touch/Face ID checkbox if you need to simulate Touch ID or Face ID in your testing.

Installing Apps on a Simulator

You don't install .ipa files on an iOS simulator like you do on a physical iOS device. Instead, you install .app bundles or compressed bundles (.zip format).

To compress a .app file in the Finder on a Mac, right-click its icon and select Compress.

Compress a .app file for iOS simulator

To install an app on a connected simulator, follow these steps.

  1. Go to Apps > Install Application.
  2. Find and open the app you want to install from your Mac.
  3. The app appears in the list of installed apps on the right side of the iOS Gateway window.

 

This topic was last updated on 2月 01, 2019, at 11:13:23 午前.

Eggplant icon Eggplant.io | Documentation Home | User Forums | Support | Copyright © 2019 Eggplant