Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Mobile automation using selenium cucumber & appium

1,179 views

Published on

  • Be the first to comment

Mobile automation using selenium cucumber & appium

  1. 1. Mobile Automation using Selenium-Cucumber & Appium
  2. 2. About Us Shreyas Patil : QA Engineer at Vertis Microsystems LLP Sameer Sawant : QA Engineer at Vertis Microsystems LLP
  3. 3. Agenda - Why Mobile Automation? - Introduction to Selenium-Cucumber - Why and What is Selenium-Cucumber - Introduction to Appium - Setting up things - Demonstration
  4. 4. Why Mobile Automation ?
  5. 5. Increased Number of Mobile Users
  6. 6. Variety of Mobile Phones
  7. 7. Many Platforms
  8. 8. Introduction to selenium-cucumber
  9. 9. Why selenium-cucumber? ● Selenium-cucumber is a behavior driven development (BDD) approach to write automation test script to test Desktop Web and Android Web, Apps . ● It enables you to write and execute automated acceptance, unit tests. ● It is cross-platform, open source and free. ● Automate your test cases with minimal coding. ● Code efficient and time efficient. ● Get well formatted test reports.
  10. 10. What is selenium-cucumber? ● Its a combination of Selenium-Webdriver and Cucumber ● Everybody knows about Selenium-Webdriver. Need to explain? ● About cucumber - it's plain text DSL which follows Given, When Then ● e.g.
  11. 11. Predefined steps https://github.com/selenium-cucumber/selenium-cucumber-ruby/blob/master/doc/canned_steps.md
  12. 12. selenium-cucumber architecture
  13. 13. Introduction to Appium
  14. 14. ● Appium is an open source test automation framework for automating native, hybrid and mobile web apps ● Appium is “cross-platform” it allows you to write tests against multiple platforms (iOS, Android) ● It uses JSON wire protocol internally to interact with iOS and Android native apps using the Selenium WebDriver. About Appium
  15. 15. Setting up things ● Ruby 1.9.3 or 2.0.0 ● Devkit ● Selenium-Cucumber gem version >= 2.1.2 ● Appium ● Android SDK API >= 17 ● Java (Required for Android SDK)
  16. 16. Get Selenium-Cucumber gem gem install selenium-cucumber
  17. 17. Generate skeleton - selenium-cucumber gen
  18. 18. Setting Up Appium Appium UI
  19. 19. Setting Up Appium Using command 1. Install nodjs 2. hit command npm install -g appium
  20. 20. Android Web Automation Demo Download Example : https://github.com/selenium-cucumber/selenium-cucumber- ruby/tree/master/example/android/android_web
  21. 21. Android App Automation Demo Download Example : https://github.com/selenium-cucumber/selenium-cucumber- ruby/tree/master/example/android/android_app
  22. 22. Now let’s try bit complicated example
  23. 23. Questions & Answers
  24. 24. Thank You!
  25. 25. Website : http://seleniumcucumber.info Twitter : @SeleniumCuc Facebook : https://www.facebook.com/seleniumcucumber Find Us!

×