Automated Mobile Testing using By Lokesh Soni Lokesh Soni - - PowerPoint PPT Presentation

automated mobile testing using
SMART_READER_LITE
LIVE PREVIEW

Automated Mobile Testing using By Lokesh Soni Lokesh Soni - - PowerPoint PPT Presentation

Automated Mobile Testing using By Lokesh Soni Lokesh Soni Software Test Engineer @ Blisstering Solutions Web and Mobile Automation Tester Also, Manual Test Engineer Need of Mobile Application Automation Testing Smartphone Apps


slide-1
SLIDE 1
slide-2
SLIDE 2

Automated Mobile Testing using

By Lokesh Soni

slide-3
SLIDE 3

Lokesh Soni

  • Software Test Engineer @ Blisstering Solutions
  • Web and Mobile Automation Tester
  • Also, Manual Test Engineer
slide-4
SLIDE 4

Need of Mobile Application Automation Testing

slide-5
SLIDE 5
  • Smartphone Apps have experienced explosive growth

since 2007

  • Mobile App are more reliable for Organizations
  • Mobile Apps bringing half of their Web Traffic
  • In some cases, mobile apps are the only way

customers interact with their products.

slide-6
SLIDE 6
  • No Wonder, that Mobile Apps Development Process

has become quick and efficient, which also have high priority for organizations.

  • Fortunately, Mobile development tools are evolving to

meet these needs, with modern dev teams.

  • Development of Mobile Apps has become faster
  • But, what about the Testing approaches??
slide-7
SLIDE 7

Testing Mobile Applications is:

  • More complex
  • Time consuming
  • Platform Variations
  • Quality Concerns

So, alike Manual Mobile Testing process, we should also adopt

Mobile Automation Testing

slide-8
SLIDE 8

Why Mobile Automation Testing?

slide-9
SLIDE 9

Various factors to adopt Mobile Automation:

  • Efficient
  • Faster
  • Reusability
  • Reliable
  • Cost Reduction
slide-10
SLIDE 10

Which Mobile Automation Tool to be Used?

slide-11
SLIDE 11
slide-12
SLIDE 12

What is Appium? & Why Appium?

slide-13
SLIDE 13
  • Appium is an open-source test automation tool
  • Allows testing for all types of Mobile Applications:

Native Apps, Hybrid Apps and Mobile Web Apps

  • Iportatly, it is Cross-Platform
slide-14
SLIDE 14
slide-15
SLIDE 15

Appium is Cross Platform

Supporting iOS and android

slide-16
SLIDE 16

Appium supports most of the Programming languages like java, ruby, php, C#, etc.

slide-17
SLIDE 17

Appium handles both, Simulators and Real devices

slide-18
SLIDE 18

Appium supports Automation for all Apps like Hybrid, Native and Web apps

slide-19
SLIDE 19

Appium is compatible with Selenium Webdriver

slide-20
SLIDE 20

Appium is very well supported and Active Google group, Building a large and thriving open source community effort Appium is free and Open source

slide-21
SLIDE 21

Getting Started with Appium

slide-22
SLIDE 22

Prerequisite to use Appium:

  • JDK (Java Development Kit) - V1.6(+)
  • Eclipse - Indigo(+)
  • Android SDK – With API level 17(+)
  • Selenium WebDriver JAR – 2.43.0(+)
  • Appium for Mac/Windows – 1.3.7.2(+)
  • APK App info from Play Store
slide-23
SLIDE 23

Appium Screenshot

slide-24
SLIDE 24

UI Automator

slide-25
SLIDE 25

Test Script Screenshot (On Eclipse)

slide-26
SLIDE 26
slide-27
SLIDE 27

Working Architecture How Appium works?

slide-28
SLIDE 28

Working Architecture of Appium on Real Devices/Simulator

slide-29
SLIDE 29
  • 1. From Web-driver, Automation Commands are sent in form
  • f JSON via HTTP request to Appium Server.
  • 2. Appium Server invokes Vendor specific mechanism to

execute those commands on the Mobile-Device.

  • 3. Client sends back the message to the Appium Server.
  • 4. Appium Server logs the result in the console of the Web

Driver.

Working flow:

slide-30
SLIDE 30

Demo of Appium Automation Script

slide-31
SLIDE 31

Limitations of Appium:

  • Doesn't support image comparison
  • Does’t support testig of Adroid Versio lower tha 4.2
  • Limited support for testing Hybrid App
  • Long time to configure Appium for both android and iOS
  • No Support to run Appium Inspector on Microsoft

Windows

slide-32
SLIDE 32

Any Question?

slide-33
SLIDE 33

Thank You & Namastey For More Queries: Contact: Skype: lokesh.soni1992 Twitter: lokeshsoni20

slide-34
SLIDE 34

asia2016.drupal.org/sched ule

asia2016.drupal.org/schedule