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
- You shouldn’t have to recompile your iOS app or modify it in any way in order to automate it.
- You shouldn’t be locked into a specific language or framework to write and run your tests.
- A mobile automation framework should not reinvent the wheel when it comes to automation APIs.
- A mobile automation framework should be open source, in spirit and practice as well as in name!
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
- A) Required Node 4 or above
- B) Xcode 8
- C) iOS 10
2) External requirements
- A) brew install ideviceinstaller
- B) brew install carthage
- C) npm install -g ios-deploy
- D) npm install -g deviceconsole
- E) gem install xcpretty
- F) brew install libimobiledevice –HEAD – iOS 10
- 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.
3) Please download UI Catalog sample app from GIT
4) Once Xcode is opened compile& launch the app on simulator.
5) get.app from from product folder
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 email@example.com.