27
Mobile Automation using Selenium-Cucumber & Appium

Mobile automation using selenium cucumber & appium

Embed Size (px)

Citation preview

Page 1: Mobile automation using selenium cucumber & appium

Mobile Automationusing

Selenium-Cucumber & Appium

Page 2: Mobile automation using selenium cucumber & appium

About Us

Shreyas Patil :QA Engineer at Vertis Microsystems LLP

Sameer Sawant :QA Engineer at Vertis Microsystems LLP

Page 3: Mobile automation using selenium cucumber & appium

Agenda

- Why Mobile Automation?

- Introduction to Selenium-Cucumber

- Why and What is Selenium-Cucumber

- Introduction to Appium

- Setting up things

- Demonstration

Page 4: Mobile automation using selenium cucumber & appium

Why Mobile Automation ?

Page 5: Mobile automation using selenium cucumber & appium

Increased Number of Mobile Users

Page 6: Mobile automation using selenium cucumber & appium

Variety of Mobile Phones

Page 7: Mobile automation using selenium cucumber & appium

Many Platforms

Page 8: Mobile automation using selenium cucumber & appium

Automate, make your life easier!

Page 9: Mobile automation using selenium cucumber & appium

Introduction to selenium-cucumber

Page 10: Mobile automation using selenium cucumber & appium

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.

Page 11: Mobile automation using selenium cucumber & appium

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.

Page 13: Mobile automation using selenium cucumber & appium

selenium-cucumber architecture

Page 14: Mobile automation using selenium cucumber & appium

Introduction to Appium

Page 15: Mobile automation using selenium cucumber & appium

● 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

Page 16: Mobile automation using selenium cucumber & appium

Architecture - Overview

Page 17: Mobile automation using selenium cucumber & appium

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)

Page 18: Mobile automation using selenium cucumber & appium

Get Selenium-Cucumber gem

gem install selenium-cucumber

Page 19: Mobile automation using selenium cucumber & appium

Generate skeleton- selenium-cucumber gen

Page 20: Mobile automation using selenium cucumber & appium

Setting Up Appium

Appium UI

Page 21: Mobile automation using selenium cucumber & appium

Setting Up Appium

Using command

1. Install nodjs2. hit command npm install -g appium

Page 25: Mobile automation using selenium cucumber & appium

Questions&

Answers

Page 26: Mobile automation using selenium cucumber & appium

Thank You!

Page 27: Mobile automation using selenium cucumber & appium

Website : http://seleniumcucumber.info

Twitter : @SeleniumCuc

Facebook : https://www.facebook.com/seleniumcucumber

Find Us!