Appium is an open source test automation framework for native, hybrid and mobile web apps.It drives iOS, Android, and Windows apps using the WebDriver protocol.

Appium enables iOS and Android automation using Selenium WebDriver. The same WebDriver bindings can be used across web and mobile. It helps to improve quality of mobile app development process.

Benefits of Appium

  1. You shouldn’t have to recompile your iOS app or modify it in any way in order to automate it.
  2. You shouldn’t be locked into a specific language or framework to write and run your tests.
  3. A mobile automation framework should not reinvent the wheel when it comes to automation APIs.
  4. A mobile automation framework should be open source, in spirit and practice as well as in name!

iOS Support

Running on OS X: iOSfor iOS requirements and setup instructions.

  • Versions: 9.3+
  • Devices: iPhone Simulator, iPad Simulator, and real iPhones and iPads
  • Native app support: Yes, with debug version of .app (simulator), or correctly-signed .ipa (real devices). Underlying support is provided by ApplesXCTestframework.
  • Mobile web support: Yes, via automation of mobile Safari. For real devices, ios-webkit-remote-debugger is required, and automation of native aspects of the Safari interface is not possible. See themobile web docfor instructions.
  • Hybrid support: Yes. For real devices, ios-webkit-remote-debugger is required. See thehybrid docfor instructions.
  • Support for automating multiple apps in one session: No
  • Support for automating multiple devices simultaneously: No
  • Support for automating vendor-provided or third-party apps: Only vendor-provided apps (Preferences, Maps, etc), and only on the simulator
  • Support for automating custom, non-standard UI controls: Minimal. You need to set accessibility information on the control which enables some basic automation.

1) System Requirements

  1. A) Required Node 4 or above
  2. B) Xcode 8
  3. C) iOS 10

2) External requirements

  1. A) brew install ideviceinstaller
  2. B) brew install carthage
  3. C) npm install -g ios-deploy
  4. D) npm install -g deviceconsole
  5. E) gem install xcpretty
  6. F) brew ¬†install libimobiledevice –HEAD – iOS 10
  7. G) brew install libimobiledevice – iOS 9

3) webdriverAgent configuration

1) go to terminal => cd user/local/lib/node_modeles/appium-xcuitest-driver/test (projectname)

2)  mkdir -p Resources/test.bundle

3) sh./Scripts/bootstrap.sh -d

4) Open code with test.scodeproj

5) build test project with sign

 

Integrating the setup

1) Download appium .dmg file from https://github.com/appium/appium-desktop/releases/tag/v1.1.1

2) Need to install JDK .dmg file & setup your .app file path.

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

3) Please download UI Catalog sample app from GIT

https://github.com/appium/ios-uicatalog

4) Once Xcode is opened compile& launch the app on simulator.

5) get.app from from product folder

or

/Users/ketanraval/Library/Developer/Xcode/DerivedData/UICatalog-bouwnhqeusviuwbfpotsxsssznew/Build/Products/Debug-iphonesimulator/test.app

Open appium app & setup basic requirements field like platformName,deviceName, bundle Id, app etc & click on Start Session.

 

Write to us for further queries at info@letsnurture.com.

 

Want to work with us? We're hiring!