SlideShare a Scribd company logo
Mobile Automation
--- Calabash ---
Mobile Automation, Calabash, Cucumber, Android, iOS, Xamarin, AWS Device
Farm, C/CD, Jenkins, Frameworks, Cross-Platforms, POM, Reporting, and more
. . .
Mesut Güneş - QA Engineer at VNGRS
Skill A 90%
Skill B 85%
Skill C 83%
Skill D 65%
Mesut Güneş - www.testrisk.com
Calabash
● Behaviour Driven test framework for Mobile automation
● Open-Sourced project: Calabash-android and Calabash-ios
● Supports iOS and Android and Hybrid Apps (Webviews) - (Crossplatform)
● Supports simulators / emulators / real devices
● Supports CI / CD and Clouds - (CLI tools)
● Ruby Based
● Integrated Cucumber
● Calabash Console for real time automation development
Mesut Güneş - www.testrisk.com
Calabash Architecture
● Calabash-android server
● Device Agent Server
● Calabash-ios server
Mesut Güneş - www.testrisk.com
Calabash Architecture - Android
Mesut Güneş - www.testrisk.com
Calabash Architecture - iOS
Mesut Güneş - www.testrisk.com
BDD - Behaviour Driven Development
BDD, which is stand for Behaviour Driven Development, is created
by Dan North. BDD is developed on the top of TDD, which is stand for
Test Driven Development to remove the gap between unit testing
and acceptance testing. In TDD, every unit is started to be written
right after defining the expectations from the units, with the unit
testing. However by BDD, regarding the agile story, every unit is
specified and tested in terms of desired behaviour. This 'desired
behaviour' is what exactly business requires in agile stories.
Mesut Güneş - www.testrisk.com
Cucumber
imperative VS declarative
Mesut Güneş - www.testrisk.com
Calabash VS Appium
● Appium Support Many Languages But Calabash is RUBY!
● Appium Doesn't Need Building but Calabash Needs Building iOS App
● Appium Uses Selenium Server But Calabash Uses Calabash Server
● Appium Has Inspector But Calabash Has Console
● Appium Can be BDD but Calabash Has Built-in BDD
● Appium is a Single Project But Calabash Has Two
● Appium can Drive Browser but Calabash Supports WebView
Mesut Güneş - www.testrisk.com
Query - Object Finding
Mesut Güneş - www.testrisk.com
● Go to project:
○ ./run.rb android features
○ ./run.rb ios-simulator features
○ ./run.rb ios features (.ipa should be certified)
Demo Time - Local Run
Mesut Güneş - www.testrisk.com
● Build The Project
Demo Time - Jenkins Parallel Run
Mesut Güneş - www.testrisk.com
● Build The Project
Demo Time - Jenkins Parallel Run
Mesut Güneş - www.testrisk.com
● Build The Project
Demo Time - Jenkins Parallel Run
Mesut Güneş - www.testrisk.com
● Build The Project
Demo Time - Jenkins Parallel Run
Mesut Güneş - www.testrisk.com
● Run by CLI
○ ~/P/p/t/x-platform-example (master ⚡☡=) appcenter test run
calabash --app "gunesmes/testhive-android" --devices
"gunesmes/pixel-check" --app-path prebuilt/omgshop.apk --test-
series "master" --locale "en_US" --project-dir . --config-path
config/cucumber.yml --profile android
● Check the result
○ Further error details: For help, please send both the reported
error above and the following environment information to us by
going to https://appcenter.ms/apps and starting a new
conversation.
Demo Time - App-Center (Xamarin formerly)
Mesut Güneş - www.testrisk.com
Demo Time - App-Center (Xamarin formerly)
Mesut Güneş - www.testrisk.com
● Convert the x-platform project to generic Calabash project. Amazon only
supports the generic Calabash projects.
○ bash converter.sh
○ testhive/calabash-generic/ios.zip
○ testhive/calabash-generic/android.zip
● Submit
○ To submit to the project to Device Farm go to LINK and submit one
of the .zip file:
○ LINK: https://signin.aws.amazon.com/console
Demo Time - Amazon Device Farm
Mesut Güneş - www.testrisk.com
● Convert the x-platform project to generic Calabash project
○ bash converter.sh
● Submit
○ To submit to the project to Device Farm go to LINK and submit one
of the .zip file:
○ LINK: https://signin.aws.amazon.com/console
Demo Time - Amazon Device Farm
Mesut Güneş - www.testrisk.com
Demo Time - Amazon Device Farm
Thank you.
Reference:
● https://www.slideshare.net/Codemotion/calabash-codemotion-2012?qid=816a7d14-8652-
478e-a765-2ea273f16b56&v=&b=&from_search=6
● http://www.testrisk.com/2016/07/appium-vs-calabash.html
● http://www.testrisk.com/2017/05/mobile-test-automation-calabash-on.html
● https://github.com/calabash/calabash-ios/wiki/02-Predefined-steps
● https://github.com/calabash/calabash-ios/wiki/Calabash-iOS-Ruby-API
● https://github.com/gunesmes/x-platform-example

More Related Content

PDF
Swagger code motion talk
PDF
Modern Web Applications Utilizing HTML5 APIs
PDF
Utilizing HTML5 APIs
PDF
PPTX
Prerendering with Nokogiri
PPTX
Lazy angular w/ webpack
ODP
iOS Automation with Cucumber, Appium and Saucelabs
PPTX
Gdg ionic 2
Swagger code motion talk
Modern Web Applications Utilizing HTML5 APIs
Utilizing HTML5 APIs
Prerendering with Nokogiri
Lazy angular w/ webpack
iOS Automation with Cucumber, Appium and Saucelabs
Gdg ionic 2

What's hot (20)

PDF
Testing Angular Applications - Jfokus 2017
PPT
Dockerising Appium : London Appium Meetup
PDF
slide-dnrdw
ODP
iOS Developers Conference-iOS Automation with Cucumber, Appium and Saucelabs
PDF
A Scalable Stack for Modular Web Applications
PDF
Rebranding an ios application
PPSX
Node on Windows Azure
PDF
20210411 全端網頁開發起手式:建構並佈署Angular網頁應用程式至GCP
PDF
Ionic2
PDF
Cloud Native Progressive Web Applications - Denver JUG 2016
PDF
Web Policies & Reporting
PDF
Building a Spring Boot Application - Ask the Audience! (from JVMCon 2018)
PDF
What's New in JHipsterLand - DevNexus 2017
PDF
EclipseCon-Europe 2013: Making the Eclipse IDE fun again
PDF
Introduction to React Native
PDF
Building a PWA with Ionic, Angular and Spring Boot - Jfokus 2017
PDF
Docker Best Practices in development and Production
PPTX
Taking Mobile Development Serverless with C#
PDF
ServiceWorkerとES6 Modules時代のTypescript開発考察
PDF
Getting to Know Grunt by Writing Your Own Plugin
Testing Angular Applications - Jfokus 2017
Dockerising Appium : London Appium Meetup
slide-dnrdw
iOS Developers Conference-iOS Automation with Cucumber, Appium and Saucelabs
A Scalable Stack for Modular Web Applications
Rebranding an ios application
Node on Windows Azure
20210411 全端網頁開發起手式:建構並佈署Angular網頁應用程式至GCP
Ionic2
Cloud Native Progressive Web Applications - Denver JUG 2016
Web Policies & Reporting
Building a Spring Boot Application - Ask the Audience! (from JVMCon 2018)
What's New in JHipsterLand - DevNexus 2017
EclipseCon-Europe 2013: Making the Eclipse IDE fun again
Introduction to React Native
Building a PWA with Ionic, Angular and Spring Boot - Jfokus 2017
Docker Best Practices in development and Production
Taking Mobile Development Serverless with C#
ServiceWorkerとES6 Modules時代のTypescript開発考察
Getting to Know Grunt by Writing Your Own Plugin
Ad

Similar to Cross Platform Mobile Automation with Calabash on Cloud and More (20)

PDF
Droidcon uk2012 androvm
PDF
Empowering the "mobile web"
PDF
Empowering the Mobile Web - Mills
PDF
Empowering the “Mobile Web” with Chris Mills
PPTX
The wild wild west of Selenium Capabilities
PDF
Appium workship, Mobile Web+Dev Conference
PPTX
Xamarin tools
PDF
Appium mobile web+dev conference
PDF
Automated Testing for Terraform, Docker, Packer, Kubernetes, and More
PPTX
Mobile Automation with Appium
PDF
Calabash Andoird + Calabash iOS
PPTX
Advanced Appium
PPTX
PDF
[2015/2016] Apache Cordova
PDF
AWS ElasticBeanstalk and Docker
PDF
Mobile automation using selenium cucumber & appium
PDF
Always on! ... or not?
PPTX
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
PDF
Develop, Test and Deploy your SOA Application through a Single Platform
PPTX
How We Built a Mobile Electronic Health Record App Using Xamarin, Angular, an...
Droidcon uk2012 androvm
Empowering the "mobile web"
Empowering the Mobile Web - Mills
Empowering the “Mobile Web” with Chris Mills
The wild wild west of Selenium Capabilities
Appium workship, Mobile Web+Dev Conference
Xamarin tools
Appium mobile web+dev conference
Automated Testing for Terraform, Docker, Packer, Kubernetes, and More
Mobile Automation with Appium
Calabash Andoird + Calabash iOS
Advanced Appium
[2015/2016] Apache Cordova
AWS ElasticBeanstalk and Docker
Mobile automation using selenium cucumber & appium
Always on! ... or not?
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
Develop, Test and Deploy your SOA Application through a Single Platform
How We Built a Mobile Electronic Health Record App Using Xamarin, Angular, an...
Ad

More from Mesut Günes (10)

PDF
CONTINUOUS PERFORMANCE TESTING - ISTSTC (1).pdf
PPTX
Native automation tooling for mobile application testing.pptx
PPTX
Benefits of using native automation tooling for mobile application testing.pptx
PDF
TestOps: What is it and Why we need it
PPTX
Regular Expression (Regex) Fundamentals
PDF
Exploring the best method of forecasting for short term electrical energy demand
PDF
Test Mühendisliğine Giriş Eğitimi - Bölüm 1
PDF
Test Mühendisliğine Giriş Eğitimi - Bölüm 2
PPTX
Software development life cycle yazılım geliştirme yaşam döngüsü
PDF
Test automation methodologies
CONTINUOUS PERFORMANCE TESTING - ISTSTC (1).pdf
Native automation tooling for mobile application testing.pptx
Benefits of using native automation tooling for mobile application testing.pptx
TestOps: What is it and Why we need it
Regular Expression (Regex) Fundamentals
Exploring the best method of forecasting for short term electrical energy demand
Test Mühendisliğine Giriş Eğitimi - Bölüm 1
Test Mühendisliğine Giriş Eğitimi - Bölüm 2
Software development life cycle yazılım geliştirme yaşam döngüsü
Test automation methodologies

Recently uploaded (20)

PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
Nekopoi APK 2025 free lastest update
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Introduction to Artificial Intelligence
PPTX
history of c programming in notes for students .pptx
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPT
Introduction Database Management System for Course Database
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
top salesforce developer skills in 2025.pdf
PPTX
Transform Your Business with a Software ERP System
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
How to Migrate SBCGlobal Email to Yahoo Easily
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
How to Choose the Right IT Partner for Your Business in Malaysia
ManageIQ - Sprint 268 Review - Slide Deck
ISO 45001 Occupational Health and Safety Management System
Nekopoi APK 2025 free lastest update
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Introduction to Artificial Intelligence
history of c programming in notes for students .pptx
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PTS Company Brochure 2025 (1).pdf.......
CHAPTER 2 - PM Management and IT Context
Softaken Excel to vCard Converter Software.pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development
Introduction Database Management System for Course Database
2025 Textile ERP Trends: SAP, Odoo & Oracle
top salesforce developer skills in 2025.pdf
Transform Your Business with a Software ERP System
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025

Cross Platform Mobile Automation with Calabash on Cloud and More

  • 1. Mobile Automation --- Calabash --- Mobile Automation, Calabash, Cucumber, Android, iOS, Xamarin, AWS Device Farm, C/CD, Jenkins, Frameworks, Cross-Platforms, POM, Reporting, and more . . .
  • 2. Mesut Güneş - QA Engineer at VNGRS Skill A 90% Skill B 85% Skill C 83% Skill D 65%
  • 3. Mesut Güneş - www.testrisk.com Calabash ● Behaviour Driven test framework for Mobile automation ● Open-Sourced project: Calabash-android and Calabash-ios ● Supports iOS and Android and Hybrid Apps (Webviews) - (Crossplatform) ● Supports simulators / emulators / real devices ● Supports CI / CD and Clouds - (CLI tools) ● Ruby Based ● Integrated Cucumber ● Calabash Console for real time automation development
  • 4. Mesut Güneş - www.testrisk.com Calabash Architecture ● Calabash-android server ● Device Agent Server ● Calabash-ios server
  • 5. Mesut Güneş - www.testrisk.com Calabash Architecture - Android
  • 6. Mesut Güneş - www.testrisk.com Calabash Architecture - iOS
  • 7. Mesut Güneş - www.testrisk.com BDD - Behaviour Driven Development BDD, which is stand for Behaviour Driven Development, is created by Dan North. BDD is developed on the top of TDD, which is stand for Test Driven Development to remove the gap between unit testing and acceptance testing. In TDD, every unit is started to be written right after defining the expectations from the units, with the unit testing. However by BDD, regarding the agile story, every unit is specified and tested in terms of desired behaviour. This 'desired behaviour' is what exactly business requires in agile stories.
  • 8. Mesut Güneş - www.testrisk.com Cucumber imperative VS declarative
  • 9. Mesut Güneş - www.testrisk.com Calabash VS Appium ● Appium Support Many Languages But Calabash is RUBY! ● Appium Doesn't Need Building but Calabash Needs Building iOS App ● Appium Uses Selenium Server But Calabash Uses Calabash Server ● Appium Has Inspector But Calabash Has Console ● Appium Can be BDD but Calabash Has Built-in BDD ● Appium is a Single Project But Calabash Has Two ● Appium can Drive Browser but Calabash Supports WebView
  • 10. Mesut Güneş - www.testrisk.com Query - Object Finding
  • 11. Mesut Güneş - www.testrisk.com ● Go to project: ○ ./run.rb android features ○ ./run.rb ios-simulator features ○ ./run.rb ios features (.ipa should be certified) Demo Time - Local Run
  • 12. Mesut Güneş - www.testrisk.com ● Build The Project Demo Time - Jenkins Parallel Run
  • 13. Mesut Güneş - www.testrisk.com ● Build The Project Demo Time - Jenkins Parallel Run
  • 14. Mesut Güneş - www.testrisk.com ● Build The Project Demo Time - Jenkins Parallel Run
  • 15. Mesut Güneş - www.testrisk.com ● Build The Project Demo Time - Jenkins Parallel Run
  • 16. Mesut Güneş - www.testrisk.com ● Run by CLI ○ ~/P/p/t/x-platform-example (master ⚡☡=) appcenter test run calabash --app "gunesmes/testhive-android" --devices "gunesmes/pixel-check" --app-path prebuilt/omgshop.apk --test- series "master" --locale "en_US" --project-dir . --config-path config/cucumber.yml --profile android ● Check the result ○ Further error details: For help, please send both the reported error above and the following environment information to us by going to https://appcenter.ms/apps and starting a new conversation. Demo Time - App-Center (Xamarin formerly)
  • 17. Mesut Güneş - www.testrisk.com Demo Time - App-Center (Xamarin formerly)
  • 18. Mesut Güneş - www.testrisk.com ● Convert the x-platform project to generic Calabash project. Amazon only supports the generic Calabash projects. ○ bash converter.sh ○ testhive/calabash-generic/ios.zip ○ testhive/calabash-generic/android.zip ● Submit ○ To submit to the project to Device Farm go to LINK and submit one of the .zip file: ○ LINK: https://signin.aws.amazon.com/console Demo Time - Amazon Device Farm
  • 19. Mesut Güneş - www.testrisk.com ● Convert the x-platform project to generic Calabash project ○ bash converter.sh ● Submit ○ To submit to the project to Device Farm go to LINK and submit one of the .zip file: ○ LINK: https://signin.aws.amazon.com/console Demo Time - Amazon Device Farm
  • 20. Mesut Güneş - www.testrisk.com Demo Time - Amazon Device Farm
  • 21. Thank you. Reference: ● https://www.slideshare.net/Codemotion/calabash-codemotion-2012?qid=816a7d14-8652- 478e-a765-2ea273f16b56&v=&b=&from_search=6 ● http://www.testrisk.com/2016/07/appium-vs-calabash.html ● http://www.testrisk.com/2017/05/mobile-test-automation-calabash-on.html ● https://github.com/calabash/calabash-ios/wiki/02-Predefined-steps ● https://github.com/calabash/calabash-ios/wiki/Calabash-iOS-Ruby-API ● https://github.com/gunesmes/x-platform-example