Automating iOS Application tests

For automating iOS app tests, Appium uses XCTest or UI Automation (for older iOS versions):

  • XCTest: You can use XCTest to create and run unit tests, performance tests, and UI tests for your iOS applications built for iOS 9.3 and higher. It integrates with Xcode's testing workflow for testing the iOS application. Appium internally uses XCTest for automating the iOS applications.
  • UI Automation: For testing apps developed for iOS 9.3 and lower, you need to use UI Automation. Appium receives the commands from test scripts over the JSON wire protocol. Appium sends these commands to Apple Instruments so that they can be executed on the app that is launched in a simulator or real device. While doing so, Appium translates ...

Get Selenium WebDriver 3 Practical Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.