6. Running Appium Server
● Start Appium
$ ./node_modules/.bin/appium
● Authorize_iOS
$./node_modules/.bin/authorize
_ios
● OR Strart Appium with App
7. Setting Mobile App for
Appium
● Locally
$ cd your_awesome_app
$ xcodebuild -sdk
iphonesimulator6.0
● APP_PATH
$ cd build/Release-
iphonesimulator/
8. Setup APP for Saucelabs
● Setup
$ xcodebuild -sdk
iphonesimulator6.0
TARGETED_DEVICE_FAMILY=1
● Zip Your APP
$ zip -r APP.zip
/build/Release-
iphonesimulator/APP.app
● Upload with Sauce REST
9. Upload Zip on Saucelabs
● REST API
$ curl -u USERNAME:API_KEY -X POST
"http://saucelabs.com/rest/v1/stora
ge/Shashikant86/PlainNote.zip?
overwrite=true" -H "Content-Type:
application/octet-stream" --data-
binary @/path/to//build/Release-
iphonesimulator/APP.zip
10. Using Appium Inspector
● Record and Playback Scripts of
iOS
● Choose Language
● Inspects Elements
● Perform Actions [tap, Swipe,
shake]
● Use source code in
step_definition
11. Live Demo Time
$ git clone
https://github.com/Shashikant86/
cucumber-appium
$ cd cucumber-appium
$ rvm use 1.9.3
$ bundle install
$ bundle exec cucumber
features/plain_note.feature
12. Live Demo Blogs
● Source Code:
Shashikant86/cucumber-appium
http://tinyurl.com/pvap9ge
● MY Demo blog Saucelabs
http://tinyurl.com/nr4onfe
● Demo [Personal blog]
http://tinyurl.com/pd2ksxx