SlideShare a Scribd company logo
1
Automation Test Practical
For Mobile Domain
October 2016
Content
2
 Abstract
 Our Vision
 Our Selection Criteria
 Solution & Tools
 The process to success
 Demo
 Q&A
3
Abstract
Abstract
4
With the growing number of mobile apps and their agile development
life cycle, Automation Testing around them will no longer be optional.
The intent of this presentation is to present a comparison between the
widely used solution & mobile automation tools in order to determine
their ease of use & effectiveness.
We’ve picked up a typical our project, tested its GUI manually and
followed it up by a round of automation testing using these solution &
automation tools
Do you know your apps?
5
Complexities in Mobile Landscape
6
Operating System
Screen size
Screen resolution
Device Manufacturers
Smartphone or Tablet
GPU used
Localization: The big hurdle
7
Mobile apps
stores are global,
Mobile apps
should be too.
Supporting the
app in around 18
locales
Globalization
ready
8
Our Vision
Our Vision
9
GUI Testing
Functional Testing
App success
Usability
Appealing
Design
Positive
interaction
Need automation?
10
Growing
mobile apps
Agile
development
cycle
Mobile
Landscape
Complexities
Globalization:
Apps
releasing in
multiple
languages
Automation
is the key
11
Our Selection Criteria
Our Selection Criteria
12
We want to have a combination of tools which satisfy the following criteria:
Can automate Android/iOS/Both mobile apps
First party/Third party tool
Bundled with the OS IDE/ Should be installed separately
Coordinate based/ Object based automation
13
Solution & Tools
Solution & Tools
14
MonkeyRunner
15
MonkeyRunner
16
Key Features
Components of this tool
Google
• MonkeyRunner
• MonkeyDevice
• MonkeyImage
• Provides an API for writing programs to control an
Android device/emulator.
• Can be used for both functional and UI testing.
• Entirely based on coordinates based automation.
• Easy to extensible .
MonkeyRunner
17
Strengths
Easy to set-up and
extensible.
Test multiple devices at a
time.
Appropriate for regression
testing of a basic app.
Random testing.
Limitations
Only supports Android.
Different script for
different device.
Even slight change in UI
breaks the script.
UI Automator
18
UI Automator
19
Key Features
Components of this tool
Google• It is a java library containing API’s to create customized
functional UI tests.
• Integrated with Google’s own Android development IDE
• Entirely based on object based automation.
• Uiautomatorviewer
• API framework.
UI Automator
20
Strengths
One of the best tools for
testing android apps.
Comes bundled with Android
Studio IDE.
Appropriate for UI testing of
any android app.
Limitations
Only supports Android
(versions > 4.3).
Lack of support for Web view.
Lack methods for some
gestures like long press on an
element.
MonkeyTalk
21
22
Key Features
Components of this tool
• It is an integrated environment for recording, customizing
and managing test suites.
• Open source, eclipse based IDE.
• Used for automation of both iOS & Android apps.
• Limited features are available in the free version of this
tool. Paid version is costly.
• MonkeyTalk IDE
• MonkeyTalk Agent
Cloud Monkey
23
Strengths
Supports both iOS and Android
apps.
Test multiple devices at a time.
Open source
Image comparison is supported
Limitations
The essential features are available
in the paid version.
Doesn’t support web view.
Agent needs to be installed in the
app which needs to be tested.
Limited xPath support.
appium
24
25
Key Features
Components of this tool
• Appium Server
• Appium Client libraries
• Appium Inspector
• It is a HTTP server that takes HTTP commands from the
test script and executes the command on the device.
• Based on WebDriver JSON protocol.
• Used for automation of both iOS & Android apps.
• Totally derived from selenium code + mobile gesture
handling
Sauce Labs
26
Strengths
Supports both iOS and Android apps.
One of the most versatile tools for
testing any native, hybrid and mobile
web apps.
Doesn’t require code access or
recompiling the app.
Test multiple android devices at a
time.
Limitations
No support for parallel test for iOS
apps.
No support for Android version < 4.1
(selendroid can be used)
No Image comparision.
No option to switch off network
connection.
Deep dive into Appium
27
Appium test setup
28
AOP Technique
29
AOP Technique
30
Key Features
Components of this tool
• Eclipse IDE
• IntelliJ IDE
• Android Studio
• It is a techniques that injects the test code to the
source code by the configuration way.
• Easy to config and control
• Used for automation test of both iOS & Android apps.
Open Source
AOP Techniques
31
Strengths
Supports many programming
languages.
Easy to config and control.
Easy to tracking the logging,
performance, data validation,…
Limitations
Poor tool support as debugger,
profiler,..
Lack of universal framework
No UI testing support.
32
The process to success?
The process: Recipe of Success
33
Easy to tracking the logging,
performance, data vlidation,…
Know your
mobile app.
Identify the
right
automation
tool.
Write test
script to cover
all the testing
workflows in
the app.
Run the script
for the test
pass.
Next Release:
Update the
script.
Repeat until
the app lives
on the app
store.
Use case scenario
34
Easy to tracking the logging,
performance, data vlidation,…
Monkey
Runner
Android app only Basic UI testing Time Crunch
Low
effort/investment
UI
Automator
Android app only
Intensive UI
testing.
Don’t want to use
third party tool.
Have time to
build a stable
automation
solution.
Monkey
Talk
Android & iOS
app
Your app doesn’t
supports web
view.
Image
comparison
requirement.
Can install agents
in your app / can
invest money per
month
Appium
Android & iOS
app
Intensive UI
testing
Don’t have code /
Don’t want to
install any agent.
Stable
automation
solution (free) for
suite of apps
Key fact
35
Easy to tracking the logging,
performance, data vlidation,…
 Use real devices.
 All elements in the UI should have a unique resource id.
The App UI has changed: Get ready for modifying your test script.
iOS Automation: You need code access or debug build.
36
Demo
37
Q&A
THANK YOU!
38

More Related Content

PPT
mohit anand
PPT
Android automation tools
PDF
Boston meetup blaze_meter_feb2017
PDF
Mobile Test Automation
PPTX
Automated UI Testing for Web and Native Apps on iOS and Android
PPTX
Parallel Test Runs with Appium on Real Mobile Devices – Hands-on Webinar
PPT
Mobile applications and automation testing
PDF
Appium: Automation for Mobile Apps
mohit anand
Android automation tools
Boston meetup blaze_meter_feb2017
Mobile Test Automation
Automated UI Testing for Web and Native Apps on iOS and Android
Parallel Test Runs with Appium on Real Mobile Devices – Hands-on Webinar
Mobile applications and automation testing
Appium: Automation for Mobile Apps

What's hot (20)

PPTX
Automation Testing With Appium
PDF
Inside Android Testing
KEY
Introduction to Mobile-UI Automated Testing Tools
PDF
Test Automation for Mobile Applications: A Practical Guide
PDF
Fight back android fragmentation
PPTX
Appium overview session final
PPTX
Testing Android Application, Droidcon Torino
PPTX
Different Android Test Automation Frameworks - What Works You the Best?
PPTX
Automation With Appium
PPTX
Best Practices for DevOps in Mobile App Testing
PPTX
Android testing
PDF
Mobile automation – should I use robotium or calabash or appium?
PPTX
Selenium training
PPTX
Appium ppt
PPT
MonkeyTalk Automation Testing For Android Application
PDF
Mobile Test Automation - Appium
PDF
Android Testing: An Overview
PDF
Top Best Practices for Successful Mobile Test Automation
PPTX
UI5 supportability tools explained
PPTX
Mobility testing
Automation Testing With Appium
Inside Android Testing
Introduction to Mobile-UI Automated Testing Tools
Test Automation for Mobile Applications: A Practical Guide
Fight back android fragmentation
Appium overview session final
Testing Android Application, Droidcon Torino
Different Android Test Automation Frameworks - What Works You the Best?
Automation With Appium
Best Practices for DevOps in Mobile App Testing
Android testing
Mobile automation – should I use robotium or calabash or appium?
Selenium training
Appium ppt
MonkeyTalk Automation Testing For Android Application
Mobile Test Automation - Appium
Android Testing: An Overview
Top Best Practices for Successful Mobile Test Automation
UI5 supportability tools explained
Mobility testing
Ad

Viewers also liked (16)

DOC
Bart Schols, journalist of barman?
PDF
PHARM QUALITY SYSTEMS Sep 2014
PDF
portfolio angga
PDF
Directorio completo de la institución 2012
PPTX
MPPL Chapter 8
PPTX
Android bootcamp 2013 Lists & Adapter
PPTX
Chapter 8
DOCX
Componentes de un sistema de computo
PPT
SD 2 options
PPTX
New microsoft office power point presentation
PPT
電子商務系統設計Ch3
PDF
Entity Search: The Last Decade and the Next
PDF
Agile et Lean : des univers convergents ? par Dimitri Baeli
PPTX
Pilon fractures
PDF
Opportunità
PDF
Lean management en milieu hypercomplexe : à l'hôpital par B.Garel
Bart Schols, journalist of barman?
PHARM QUALITY SYSTEMS Sep 2014
portfolio angga
Directorio completo de la institución 2012
MPPL Chapter 8
Android bootcamp 2013 Lists & Adapter
Chapter 8
Componentes de un sistema de computo
SD 2 options
New microsoft office power point presentation
電子商務系統設計Ch3
Entity Search: The Last Decade and the Next
Agile et Lean : des univers convergents ? par Dimitri Baeli
Pilon fractures
Opportunità
Lean management en milieu hypercomplexe : à l'hôpital par B.Garel
Ad

Similar to Automation Proposal_V1.0 (20)

PPTX
Mobile Application Testing
PPTX
Mobile Application Testing
PPTX
When & How to Successfully use Test Automation for Mobile Applications
PDF
Best Mobile Automation Testing Tools & Frameworks.pdf
PDF
A Modern Dive into QA Automation and Beyond
PDF
Top 8 Automated Android App Testing Tools in 2025.pdf
PDF
Introduction To Mobile-Automation
PDF
Top Automated UI Testing Tools 2023.pdf
PDF
Test Automation for Mobile Applications
PDF
Best Mobile Test Automation Solutions: Beyond Appium
PPTX
Appium - test automation for mobile apps
PDF
Automated Mobile testing tools Streamlining app Quality Assurance
PDF
ICSE17Tech Briefing - Automated GUI Testing of Android Apps: From Research to...
PDF
Comparative Study on Different Mobile Application Frameworks
PPTX
Testing for Android: When, Where, and How to Successfully Use Test Automation
PPTX
ATAGTR2017 Appium
PDF
10 Best Mobile Test Automation Tools Used by Experts | What Automation Tools ...
PDF
8 Best Automated Android App Testing Tools and Frameworks in 2024.pdf
PDF
Top 4 Popular Android Test Automation Frameworks During an Economic Downturn.pdf
PDF
Top 10 Mobile Application Testing Tools | Edureka
Mobile Application Testing
Mobile Application Testing
When & How to Successfully use Test Automation for Mobile Applications
Best Mobile Automation Testing Tools & Frameworks.pdf
A Modern Dive into QA Automation and Beyond
Top 8 Automated Android App Testing Tools in 2025.pdf
Introduction To Mobile-Automation
Top Automated UI Testing Tools 2023.pdf
Test Automation for Mobile Applications
Best Mobile Test Automation Solutions: Beyond Appium
Appium - test automation for mobile apps
Automated Mobile testing tools Streamlining app Quality Assurance
ICSE17Tech Briefing - Automated GUI Testing of Android Apps: From Research to...
Comparative Study on Different Mobile Application Frameworks
Testing for Android: When, Where, and How to Successfully Use Test Automation
ATAGTR2017 Appium
10 Best Mobile Test Automation Tools Used by Experts | What Automation Tools ...
8 Best Automated Android App Testing Tools and Frameworks in 2024.pdf
Top 4 Popular Android Test Automation Frameworks During an Economic Downturn.pdf
Top 10 Mobile Application Testing Tools | Edureka

Automation Proposal_V1.0

  • 1. 1 Automation Test Practical For Mobile Domain October 2016
  • 2. Content 2  Abstract  Our Vision  Our Selection Criteria  Solution & Tools  The process to success  Demo  Q&A
  • 4. Abstract 4 With the growing number of mobile apps and their agile development life cycle, Automation Testing around them will no longer be optional. The intent of this presentation is to present a comparison between the widely used solution & mobile automation tools in order to determine their ease of use & effectiveness. We’ve picked up a typical our project, tested its GUI manually and followed it up by a round of automation testing using these solution & automation tools
  • 5. Do you know your apps? 5
  • 6. Complexities in Mobile Landscape 6 Operating System Screen size Screen resolution Device Manufacturers Smartphone or Tablet GPU used
  • 7. Localization: The big hurdle 7 Mobile apps stores are global, Mobile apps should be too. Supporting the app in around 18 locales Globalization ready
  • 9. Our Vision 9 GUI Testing Functional Testing App success Usability Appealing Design Positive interaction
  • 12. Our Selection Criteria 12 We want to have a combination of tools which satisfy the following criteria: Can automate Android/iOS/Both mobile apps First party/Third party tool Bundled with the OS IDE/ Should be installed separately Coordinate based/ Object based automation
  • 16. MonkeyRunner 16 Key Features Components of this tool Google • MonkeyRunner • MonkeyDevice • MonkeyImage • Provides an API for writing programs to control an Android device/emulator. • Can be used for both functional and UI testing. • Entirely based on coordinates based automation. • Easy to extensible .
  • 17. MonkeyRunner 17 Strengths Easy to set-up and extensible. Test multiple devices at a time. Appropriate for regression testing of a basic app. Random testing. Limitations Only supports Android. Different script for different device. Even slight change in UI breaks the script.
  • 19. UI Automator 19 Key Features Components of this tool Google• It is a java library containing API’s to create customized functional UI tests. • Integrated with Google’s own Android development IDE • Entirely based on object based automation. • Uiautomatorviewer • API framework.
  • 20. UI Automator 20 Strengths One of the best tools for testing android apps. Comes bundled with Android Studio IDE. Appropriate for UI testing of any android app. Limitations Only supports Android (versions > 4.3). Lack of support for Web view. Lack methods for some gestures like long press on an element.
  • 22. 22 Key Features Components of this tool • It is an integrated environment for recording, customizing and managing test suites. • Open source, eclipse based IDE. • Used for automation of both iOS & Android apps. • Limited features are available in the free version of this tool. Paid version is costly. • MonkeyTalk IDE • MonkeyTalk Agent Cloud Monkey
  • 23. 23 Strengths Supports both iOS and Android apps. Test multiple devices at a time. Open source Image comparison is supported Limitations The essential features are available in the paid version. Doesn’t support web view. Agent needs to be installed in the app which needs to be tested. Limited xPath support.
  • 25. 25 Key Features Components of this tool • Appium Server • Appium Client libraries • Appium Inspector • It is a HTTP server that takes HTTP commands from the test script and executes the command on the device. • Based on WebDriver JSON protocol. • Used for automation of both iOS & Android apps. • Totally derived from selenium code + mobile gesture handling Sauce Labs
  • 26. 26 Strengths Supports both iOS and Android apps. One of the most versatile tools for testing any native, hybrid and mobile web apps. Doesn’t require code access or recompiling the app. Test multiple android devices at a time. Limitations No support for parallel test for iOS apps. No support for Android version < 4.1 (selendroid can be used) No Image comparision. No option to switch off network connection.
  • 27. Deep dive into Appium 27
  • 30. AOP Technique 30 Key Features Components of this tool • Eclipse IDE • IntelliJ IDE • Android Studio • It is a techniques that injects the test code to the source code by the configuration way. • Easy to config and control • Used for automation test of both iOS & Android apps. Open Source
  • 31. AOP Techniques 31 Strengths Supports many programming languages. Easy to config and control. Easy to tracking the logging, performance, data validation,… Limitations Poor tool support as debugger, profiler,.. Lack of universal framework No UI testing support.
  • 32. 32 The process to success?
  • 33. The process: Recipe of Success 33 Easy to tracking the logging, performance, data vlidation,… Know your mobile app. Identify the right automation tool. Write test script to cover all the testing workflows in the app. Run the script for the test pass. Next Release: Update the script. Repeat until the app lives on the app store.
  • 34. Use case scenario 34 Easy to tracking the logging, performance, data vlidation,… Monkey Runner Android app only Basic UI testing Time Crunch Low effort/investment UI Automator Android app only Intensive UI testing. Don’t want to use third party tool. Have time to build a stable automation solution. Monkey Talk Android & iOS app Your app doesn’t supports web view. Image comparison requirement. Can install agents in your app / can invest money per month Appium Android & iOS app Intensive UI testing Don’t have code / Don’t want to install any agent. Stable automation solution (free) for suite of apps
  • 35. Key fact 35 Easy to tracking the logging, performance, data vlidation,…  Use real devices.  All elements in the UI should have a unique resource id. The App UI has changed: Get ready for modifying your test script. iOS Automation: You need code access or debug build.