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.
Test automation of
Mobile Apps
Ričardas Vaitkus
Mobile is taking over the world. But
how do we scale mobile quality?
Native Web Hybrid apps
Hybrid apps maker
• PhoneGap
Mobile apps testing
• Appium is cross-platform solution for native
and hybrid mobile automation
Appium philosophy
• Test the same app you submit to the market
• Write test in any language, using any
framework
• Use sta...
Support platforms
• Real devices
• Simulators
• Native apps
• Hybrid apps
• Mobile web
• Robots?!
Appium in space
iOS

Android

• Calabash-ios

• Calabash-android

• Frank

• MonkeyTalk

• UIAutomation

• Robotium

• ios...
Selenium WebDriver
• Is standard for browser automation, with libraries in
every* language
• Is used every single day by t...
Languages
• WebDriver compatible
•
•
•
•
•
•
•
•
•

Java
Objective-C
JavaScript with Node.js
PHP
Python
Ruby
C#
Perl
Cloju...
Appium architecture
• Appium is an HTTP server that creates and
handles WebDriver sessions
• Appium starts a “test case” o...
Appium architecture
• On iOS, appium proxies commands to a
UIAutomation script running in Istruments
Appium architecture
• On Android, appium proxies commands to a
UiAutomator test case running on device
Automation frameworks
• iOS – UIAutomation
• Android >= 4.2 – UiAutomator
• Android < 4.2 & Hybrid – Selendroid
• FireFoxO...
Gestures
• tap (on screen or on element)
• flick (on screen or on element)
• swipe/drag (on screen or on element)
• scroll...
Appium opens door to cross-platform mobile
crosstesting:
testing one test, two mobile platforms
Test automation of mobile apps
Upcoming SlideShare
Loading in …5
×

Test automation of mobile apps

  • Be the first to comment

  • Be the first to like this

Test automation of mobile apps

  1. 1. Test automation of Mobile Apps Ričardas Vaitkus
  2. 2. Mobile is taking over the world. But how do we scale mobile quality?
  3. 3. Native Web Hybrid apps
  4. 4. Hybrid apps maker • PhoneGap
  5. 5. Mobile apps testing • Appium is cross-platform solution for native and hybrid mobile automation
  6. 6. Appium philosophy • Test the same app you submit to the market • Write test in any language, using any framework • Use standard automation specification and API
  7. 7. Support platforms • Real devices • Simulators • Native apps • Hybrid apps • Mobile web • Robots?!
  8. 8. Appium in space iOS Android • Calabash-ios • Calabash-android • Frank • MonkeyTalk • UIAutomation • Robotium • ios-driver • UiAutomator • KeepItFunctional • Selendroid
  9. 9. Selenium WebDriver • Is standard for browser automation, with libraries in every* language • Is used every single day by thousands of developers familiar with its model • Is an HTTP API • POST /session • POST /session/element • GET /session/element/:id/:attr • Is a W3C working draft
  10. 10. Languages • WebDriver compatible • • • • • • • • • Java Objective-C JavaScript with Node.js PHP Python Ruby C# Perl Clojure
  11. 11. Appium architecture • Appium is an HTTP server that creates and handles WebDriver sessions • Appium starts a “test case” on the device that spawns a server and listens for proxied commands
  12. 12. Appium architecture • On iOS, appium proxies commands to a UIAutomation script running in Istruments
  13. 13. Appium architecture • On Android, appium proxies commands to a UiAutomator test case running on device
  14. 14. Automation frameworks • iOS – UIAutomation • Android >= 4.2 – UiAutomator • Android < 4.2 & Hybrid – Selendroid • FireFoxOS – Marionette
  15. 15. Gestures • tap (on screen or on element) • flick (on screen or on element) • swipe/drag (on screen or on element) • scroll to (element) • slider • shake • longTap (element)
  16. 16. Appium opens door to cross-platform mobile crosstesting: testing one test, two mobile platforms

    Be the first to comment

    Login to see the comments

Views

Total views

630

On Slideshare

0

From embeds

0

Number of embeds

1

Actions

Downloads

20

Shares

0

Comments

0

Likes

0

×