Prerequisites for Testing Mobile Applications on iOS

Before you can test a mobile application (app) on an iOS device or on an iOS Simulator, ensure that the following prerequisites are met:
  • The current version of the Silk Test information service is installed on the Mac. For additional information, see Installing the Silk Test Infoservice on a Mac.
  • If you want to test your application on a physical iOS device, ensure the following:
    • The device is connected to the Mac.
    • The device has a supported version of iOS. For a list of the supported iOS versions, refer to the Release Notes.
  • If you want to test your application on an iOS Simulator, ensure the following:
    • The iOS Simulator image is installed on the Mac.
    • The iOS Simulator image has a supported version of iOS. For a list of the supported iOS versions, refer to the Release Notes.
  • If you want to test your application on an physical iOS device, ensure that the same time zone is set on the device and the Mac.
  • A supported version of Xcode is installed on the Mac.
  • Silk4J is installed on a Windows machine.
  • The Mac is located in the same network as the Windows machine and is added as a remote location to the Windows machine.
  • To test a native mobile app on an iOS device, ensure that the .ipa file of your app has been signed with a developer account. For additional information, see Preparing an iOS App for Testing.
  • To test a native mobile app on an iOS Simulator, ensure that the app has been zipped. For additional information, see Testing Native Mobile Applications on an iOS Simulator.
  • To test a native mobile app on both an iOS device and an iOS Simulator, ensure that the signed .ipa file and the zipped .app directory have the same name, except for the file extension, and are located in the same folder.
  • To test a native mobile app, ensure that the ID of the iOS device is associated with the developer profile which was used to sign the app.
  • The iOS device must not fall into sleep mode during testing. To turn the screen lock and password off, select Settings > General > Passcode Lock.
  • The Mac should not switch off the screen during testing, otherwise the Playback Status dialog box will not display anything.
  • To test a mobile application on an iOS Simulator, deactivate the display sleep on the Mac during testing.
  • To test a native mobile app on a physical iOS device, enable the UI automation on the device. For additional information, see Preparing an iOS Device for Testing.
  • To test a mobile web application with Apple Safari on a physical iOS device, activate the Web Inspector. For additional information, see Preparing an iOS Device for Testing.
  • Micro Focus recommends using iOS devices which have a Lightning connector. Silk4J does not support showing a live view of the device screen for iOS devices that are not connected to a Mac through a Lightning cable.