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

Android App automation using Selenium-Cucumber and Appium

  • Login to see the comments

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. Automate, make your life easier!
  9. 9. Introduction to selenium-cucumber
  10. 10. 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.
  11. 11. 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.
  12. 12. Predefined steps https://github.com/selenium-cucumber/selenium-cucumber-ruby/blob/master/doc/canned_steps.md
  13. 13. selenium-cucumber architecture
  14. 14. Introduction to Appium
  15. 15. ● 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
  16. 16. Architecture - Overview
  17. 17. 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)
  18. 18. Get Selenium-Cucumber gem gem install selenium-cucumber
  19. 19. Generate skeleton - selenium-cucumber gen
  20. 20. Setting Up Appium Appium UI
  21. 21. Setting Up Appium Using command 1. Install nodjs 2. hit command npm install -g appium
  22. 22. Android Web Automation Demo Download Example : https://github.com/selenium-cucumber/selenium-cucumber- ruby/tree/master/example/android/android_web
  23. 23. Android App Automation Demo Download Example : https://github.com/selenium-cucumber/selenium-cucumber- ruby/tree/master/example/android/android_app
  24. 24. Now let’s try bit complicated example Download Example : https://github.com/selenium-cucumber/selenium-cucumber- ruby/blob/master/example/android/android_app/HinduCalendar.zip?raw=true
  25. 25. Questions & Answers
  26. 26. Thank You!
  27. 27. Website : http://seleniumcucumber.info Twitter : @SeleniumCuc Facebook : https://www.facebook.com/seleniumcucumber Find Us!

×