SlideShare a Scribd company logo
iOS Automation with Cucumber,
Appium and Saucelabs
Shashikant Jagtap
Twitter:@Shashikant86
Blogs:
http://shashikantjagtap.net
Topics
● Appium Introduction
● Installation & Setup
● Running Appium
● Setting up Mobile App for
Appium
● Appium Inspector
● Demo:Cucumber+Appium+Saucelabs
Appium
● Open Source test automation
Framework
● Hybrid and Native Apps
● Uses WebDriver JSON Protocol
iOS Requirements
● Mac OSX 10.7 +
● Xcode 4.5 + Command Line Tools
● HomeBrew
● NodeJS and npm
● Ruby, RVM and Git
Installing Appium
● NodeJS
$ brew install node
$ npm install -g appium
$ npm install wd
● Appium App
Download Appium App
http://appium.io/
Running Appium Server
● Start Appium
$ ./node_modules/.bin/appium
● Authorize_iOS
$./node_modules/.bin/authorize
_ios
● OR Strart Appium with App
Setting Mobile App for
Appium
● Locally
$ cd your_awesome_app
$ xcodebuild -sdk
iphonesimulator6.0
● APP_PATH
$ cd build/Release-
iphonesimulator/
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
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
Using Appium Inspector
● Record and Playback Scripts of
iOS
● Choose Language
● Inspects Elements
● Perform Actions [tap, Swipe,
shake]
● Use source code in
step_definition
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
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
YouTube Videos
● Using Appium Inspector
http://www.youtube.com/watch?v=Hv9A9
● Cucumber-Appium Locally
http://www.youtube.com/watch?v=uor32
● Cucumber-appium-saucelabs
http://www.youtube.com/watch?v=zCXMu
THANK YOU
New Appium 1.0 Comming
Today !!

More Related Content

What's hot (20)

PDF
Vietnam qa meetup
Syam Sasi
 
PDF
Experiences building apps with React Native @DomCode 2016
Adrian Philipp
 
PDF
Webpack and angularjs
Nir Kaufman
 
ODP
Headless BDD
Shashikant Jagtap
 
PDF
An iOS Developer's Perspective on React Native
Aleksandras Smirnovas
 
PDF
Ionic adventures - Hybrid Mobile App Development rocks
Juarez Filho
 
PDF
What's New in JHipsterLand - DevNexus 2017
Matt Raible
 
PDF
Experiences building apps with React Native @UtrechtJS May 2016
Adrian Philipp
 
PPTX
React Native
Fatih Şimşek
 
PDF
Put an end to regression with codeception testing
Joe Ferguson
 
PDF
Building a PWA with Ionic, Angular and Spring Boot - Jfokus 2017
Matt Raible
 
PDF
Modern Web Application Development Workflow - EclipseCon France 2014
Stéphane Bégaudeau
 
PDF
Intro to Puppeteer
Islam AlZatary
 
PDF
Composer at Scale, Release and Dependency Management
Joe Ferguson
 
PDF
How React Native, Appium and me made each other shine @ContinuousDeliveryAmst...
Wim Selles
 
PDF
Appium mobile web+dev conference
Isaac Murchie
 
PDF
Intro to react native
ModusJesus
 
PPTX
React native development with expo
SangSun Park
 
PDF
Testing Angular Applications - Jfokus 2017
Matt Raible
 
PDF
Mobile automation using selenium cucumber & appium
Selenium Cucumber
 
Vietnam qa meetup
Syam Sasi
 
Experiences building apps with React Native @DomCode 2016
Adrian Philipp
 
Webpack and angularjs
Nir Kaufman
 
Headless BDD
Shashikant Jagtap
 
An iOS Developer's Perspective on React Native
Aleksandras Smirnovas
 
Ionic adventures - Hybrid Mobile App Development rocks
Juarez Filho
 
What's New in JHipsterLand - DevNexus 2017
Matt Raible
 
Experiences building apps with React Native @UtrechtJS May 2016
Adrian Philipp
 
React Native
Fatih Şimşek
 
Put an end to regression with codeception testing
Joe Ferguson
 
Building a PWA with Ionic, Angular and Spring Boot - Jfokus 2017
Matt Raible
 
Modern Web Application Development Workflow - EclipseCon France 2014
Stéphane Bégaudeau
 
Intro to Puppeteer
Islam AlZatary
 
Composer at Scale, Release and Dependency Management
Joe Ferguson
 
How React Native, Appium and me made each other shine @ContinuousDeliveryAmst...
Wim Selles
 
Appium mobile web+dev conference
Isaac Murchie
 
Intro to react native
ModusJesus
 
React native development with expo
SangSun Park
 
Testing Angular Applications - Jfokus 2017
Matt Raible
 
Mobile automation using selenium cucumber & appium
Selenium Cucumber
 

Viewers also liked (20)

ODP
ATDD with Behat and Selenium (LDNSE6)
Shashikant Jagtap
 
PPT
Dockerizing BDD : Ruby-Cucumber Example
Shashikant Jagtap
 
PPTX
Exactpro Systems for KSTU Students in Kostroma
Iosif Itkin
 
PPTX
Combining Heritrix and PhantomJS for Better Crawling of Pages with Javascript
Michael Nelson
 
PPTX
SoapUI one key to all doors
Yegor Maksymchuk
 
PDF
Test trend analysis: Towards robust reliable and timely tests
Hugh McCamphill
 
PPTX
Testing NodeJS, REST APIs and MongoDB with UFT
Ori Bendet
 
PDF
WixAutomation - Test State Pattern - Selenium Camp 2017
Roi Ashkenazi
 
PPTX
Angular js automation using protractor
Ravi Gupta
 
PPTX
How does Java 8 exert hidden power on Test Automation?
Sergey Korol
 
PPTX
API Testing with Frisby and Mocha
Lyudmila Anisimova
 
PPTX
The Right Tool for the Right Project
Ori Bendet
 
PPTX
7 plugins de la communauté à ne pas manquer ! - Liferay France Symposium 2016
Sébastien Le Marchand
 
PPTX
The wild wild west of Selenium Capabilities
Adi Ofri
 
PDF
Ukstar 2017 london- Parasoft
ChantalWauters
 
PPTX
Roman iovlev. Test UI with JDI - Selenium camp
Роман Иовлев
 
PPTX
“Create Tests Automatically? It’s possible!” Practical Model-Based Testing
Natalia Meergus
 
PPTX
Colorful world-of-visual-automation-testing-latest
Onur Baskirt
 
PDF
Parasoft Testing anything, any time with containerized service virtualization
ChantalWauters
 
PDF
Selenium camp 2017. Alexander Chumakin
Alex Chumakin
 
ATDD with Behat and Selenium (LDNSE6)
Shashikant Jagtap
 
Dockerizing BDD : Ruby-Cucumber Example
Shashikant Jagtap
 
Exactpro Systems for KSTU Students in Kostroma
Iosif Itkin
 
Combining Heritrix and PhantomJS for Better Crawling of Pages with Javascript
Michael Nelson
 
SoapUI one key to all doors
Yegor Maksymchuk
 
Test trend analysis: Towards robust reliable and timely tests
Hugh McCamphill
 
Testing NodeJS, REST APIs and MongoDB with UFT
Ori Bendet
 
WixAutomation - Test State Pattern - Selenium Camp 2017
Roi Ashkenazi
 
Angular js automation using protractor
Ravi Gupta
 
How does Java 8 exert hidden power on Test Automation?
Sergey Korol
 
API Testing with Frisby and Mocha
Lyudmila Anisimova
 
The Right Tool for the Right Project
Ori Bendet
 
7 plugins de la communauté à ne pas manquer ! - Liferay France Symposium 2016
Sébastien Le Marchand
 
The wild wild west of Selenium Capabilities
Adi Ofri
 
Ukstar 2017 london- Parasoft
ChantalWauters
 
Roman iovlev. Test UI with JDI - Selenium camp
Роман Иовлев
 
“Create Tests Automatically? It’s possible!” Practical Model-Based Testing
Natalia Meergus
 
Colorful world-of-visual-automation-testing-latest
Onur Baskirt
 
Parasoft Testing anything, any time with containerized service virtualization
ChantalWauters
 
Selenium camp 2017. Alexander Chumakin
Alex Chumakin
 
Ad

Similar to iOS Automation with Cucumber, Appium and Saucelabs (20)

PPTX
Automation testing on ios platform using appium
Ambreen Khan
 
PPT
Android & iOS Automation Using Appium
Mindfire Solutions
 
PDF
Appium Introduction
Wix.com
 
PDF
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
kalichargn70th171
 
PDF
Native iphone app test automation with appium
James Eisenhauer
 
PPTX
Setting UIAutomation free with Appium
Dan Cuellar
 
PPTX
Appium Presentation
OmarUsman6
 
PPTX
Appium on mac platform
Muhammad Zbeedat
 
PDF
ApppiumDoc_version2015
Amit DEWAN
 
PPT
Using Selenium to Test Native Apps (Wait, you can do that?)
Sauce Labs
 
PPTX
Appium - test automation for mobile apps
Aleksejs Trescalins
 
PPTX
Appium solution
Nael Abd Eljawad
 
PPTX
appiumpresent-211128171811.pptx projet de presentation
EnochBidima3
 
PDF
Appium workship, Mobile Web+Dev Conference
Isaac Murchie
 
PDF
How to Test Android and iOS Mobile Apps with Appium.pdf
kalichargn70th171
 
PPTX
Mobile Automation Using Appium - vodQA Bangalore 2015
Thoughtworks
 
PDF
Mobile automation using appium.pptx
Sai Krishna
 
PPT
Appium
Deepshikha Singh
 
PDF
A Step-by-Step Guide to Test Automation with Appium.pdf
flufftailshop
 
PDF
Testing Native iOS Apps with Appium
Sauce Labs
 
Automation testing on ios platform using appium
Ambreen Khan
 
Android & iOS Automation Using Appium
Mindfire Solutions
 
Appium Introduction
Wix.com
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
kalichargn70th171
 
Native iphone app test automation with appium
James Eisenhauer
 
Setting UIAutomation free with Appium
Dan Cuellar
 
Appium Presentation
OmarUsman6
 
Appium on mac platform
Muhammad Zbeedat
 
ApppiumDoc_version2015
Amit DEWAN
 
Using Selenium to Test Native Apps (Wait, you can do that?)
Sauce Labs
 
Appium - test automation for mobile apps
Aleksejs Trescalins
 
Appium solution
Nael Abd Eljawad
 
appiumpresent-211128171811.pptx projet de presentation
EnochBidima3
 
Appium workship, Mobile Web+Dev Conference
Isaac Murchie
 
How to Test Android and iOS Mobile Apps with Appium.pdf
kalichargn70th171
 
Mobile Automation Using Appium - vodQA Bangalore 2015
Thoughtworks
 
Mobile automation using appium.pptx
Sai Krishna
 
A Step-by-Step Guide to Test Automation with Appium.pdf
flufftailshop
 
Testing Native iOS Apps with Appium
Sauce Labs
 
Ad

More from Shashikant Jagtap (10)

PDF
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Shashikant Jagtap
 
PDF
NSTC2019: Choosing CI Friendly Mobile Automation Framework
Shashikant Jagtap
 
PDF
SauceCon19: Fashionable XCUITest for iOS App
Shashikant Jagtap
 
PDF
Full Stack Flutter Testing
Shashikant Jagtap
 
PDF
XCUITest Introduction: Test Automation University
Shashikant Jagtap
 
PDF
iOSDevUK Conference- DevOps for iOS Apps
Shashikant Jagtap
 
PDF
Vapor london March 2018
Shashikant Jagtap
 
PDF
Provisioning iOS CI Server with Ansible
Shashikant Jagtap
 
ODP
BDD with Behat Selenium, Sahi and Sauce
Shashikant Jagtap
 
ODP
Test Framework for Acne Selenium+Sahi
Shashikant Jagtap
 
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Shashikant Jagtap
 
NSTC2019: Choosing CI Friendly Mobile Automation Framework
Shashikant Jagtap
 
SauceCon19: Fashionable XCUITest for iOS App
Shashikant Jagtap
 
Full Stack Flutter Testing
Shashikant Jagtap
 
XCUITest Introduction: Test Automation University
Shashikant Jagtap
 
iOSDevUK Conference- DevOps for iOS Apps
Shashikant Jagtap
 
Vapor london March 2018
Shashikant Jagtap
 
Provisioning iOS CI Server with Ansible
Shashikant Jagtap
 
BDD with Behat Selenium, Sahi and Sauce
Shashikant Jagtap
 
Test Framework for Acne Selenium+Sahi
Shashikant Jagtap
 

Recently uploaded (20)

PPTX
Designing Production-Ready AI Agents
Kunal Rai
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
Advancing WebDriver BiDi support in WebKit
Igalia
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Designing Production-Ready AI Agents
Kunal Rai
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Biography of Daniel Podor.pdf
Daniel Podor
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Advancing WebDriver BiDi support in WebKit
Igalia
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 

iOS Automation with Cucumber, Appium and Saucelabs

  • 1. iOS Automation with Cucumber, Appium and Saucelabs Shashikant Jagtap Twitter:@Shashikant86 Blogs: http://shashikantjagtap.net
  • 2. Topics ● Appium Introduction ● Installation & Setup ● Running Appium ● Setting up Mobile App for Appium ● Appium Inspector ● Demo:Cucumber+Appium+Saucelabs
  • 3. Appium ● Open Source test automation Framework ● Hybrid and Native Apps ● Uses WebDriver JSON Protocol
  • 4. iOS Requirements ● Mac OSX 10.7 + ● Xcode 4.5 + Command Line Tools ● HomeBrew ● NodeJS and npm ● Ruby, RVM and Git
  • 5. Installing Appium ● NodeJS $ brew install node $ npm install -g appium $ npm install wd ● Appium App Download Appium App http://appium.io/
  • 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
  • 13. YouTube Videos ● Using Appium Inspector http://www.youtube.com/watch?v=Hv9A9 ● Cucumber-Appium Locally http://www.youtube.com/watch?v=uor32 ● Cucumber-appium-saucelabs http://www.youtube.com/watch?v=zCXMu
  • 14. THANK YOU New Appium 1.0 Comming Today !!