尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
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

What's hot

Automation Testing With Appium
Automation Testing With AppiumAutomation Testing With Appium
Automation Testing With Appium
Knoldus Inc.
 
Inside Android Testing
Inside Android TestingInside Android Testing
Inside Android Testing
Fernando Cejas
 
Introduction to Mobile-UI Automated Testing Tools
Introduction to Mobile-UI Automated Testing ToolsIntroduction to Mobile-UI Automated Testing Tools
Introduction to Mobile-UI Automated Testing Tools
i_am_craig
 
Test Automation for Mobile Applications: A Practical Guide
Test Automation for Mobile Applications: A Practical GuideTest Automation for Mobile Applications: A Practical Guide
Test Automation for Mobile Applications: A Practical Guide
TechWell
 
Fight back android fragmentation
Fight back android fragmentationFight back android fragmentation
Fight back android fragmentation
Bitbar
 
Appium overview session final
Appium overview session finalAppium overview session final
Appium overview session final
Abhishek Yadav
 
Testing Android Application, Droidcon Torino
Testing Android Application, Droidcon TorinoTesting Android Application, Droidcon Torino
Testing Android Application, Droidcon Torino
Pietro Alberto Rossi
 
Different Android Test Automation Frameworks - What Works You the Best?
Different Android Test Automation Frameworks - What Works You the Best?Different Android Test Automation Frameworks - What Works You the Best?
Different Android Test Automation Frameworks - What Works You the Best?
Bitbar
 
Automation With Appium
Automation With AppiumAutomation With Appium
Automation With Appium
Knoldus Inc.
 
Best Practices for DevOps in Mobile App Testing
Best Practices for DevOps in Mobile App TestingBest Practices for DevOps in Mobile App Testing
Best Practices for DevOps in Mobile App Testing
Bitbar
 
Android testing
Android testingAndroid testing
Android testing
JinaTm
 
Mobile automation – should I use robotium or calabash or appium?
Mobile automation – should I use robotium or calabash or appium?Mobile automation – should I use robotium or calabash or appium?
Mobile automation – should I use robotium or calabash or appium?
Zado Technologies
 
Selenium training
Selenium trainingSelenium training
Selenium training
Shivaraj R
 
Appium ppt
Appium pptAppium ppt
Appium ppt
natashasweety7
 
MonkeyTalk Automation Testing For Android Application
MonkeyTalk Automation Testing For Android ApplicationMonkeyTalk Automation Testing For Android Application
MonkeyTalk Automation Testing For Android Application
ContusQA
 
Mobile Test Automation - Appium
Mobile Test Automation - AppiumMobile Test Automation - Appium
Mobile Test Automation - Appium
Maria Machlowska
 
Android Testing: An Overview
Android Testing: An OverviewAndroid Testing: An Overview
Android Testing: An Overview
SmartLogic
 
Top Best Practices for Successful Mobile Test Automation
Top Best Practices for Successful Mobile Test AutomationTop Best Practices for Successful Mobile Test Automation
Top Best Practices for Successful Mobile Test Automation
Fred Beringer
 
UI5 supportability tools explained
UI5 supportability tools explainedUI5 supportability tools explained
UI5 supportability tools explained
Maxim Naidenov
 
Mobility testing
Mobility testingMobility testing
Mobility testing
Precise Testing Solution
 

What's hot (20)

Automation Testing With Appium
Automation Testing With AppiumAutomation Testing With Appium
Automation Testing With Appium
 
Inside Android Testing
Inside Android TestingInside Android Testing
Inside Android Testing
 
Introduction to Mobile-UI Automated Testing Tools
Introduction to Mobile-UI Automated Testing ToolsIntroduction to Mobile-UI Automated Testing Tools
Introduction to Mobile-UI Automated Testing Tools
 
Test Automation for Mobile Applications: A Practical Guide
Test Automation for Mobile Applications: A Practical GuideTest Automation for Mobile Applications: A Practical Guide
Test Automation for Mobile Applications: A Practical Guide
 
Fight back android fragmentation
Fight back android fragmentationFight back android fragmentation
Fight back android fragmentation
 
Appium overview session final
Appium overview session finalAppium overview session final
Appium overview session final
 
Testing Android Application, Droidcon Torino
Testing Android Application, Droidcon TorinoTesting Android Application, Droidcon Torino
Testing Android Application, Droidcon Torino
 
Different Android Test Automation Frameworks - What Works You the Best?
Different Android Test Automation Frameworks - What Works You the Best?Different Android Test Automation Frameworks - What Works You the Best?
Different Android Test Automation Frameworks - What Works You the Best?
 
Automation With Appium
Automation With AppiumAutomation With Appium
Automation With Appium
 
Best Practices for DevOps in Mobile App Testing
Best Practices for DevOps in Mobile App TestingBest Practices for DevOps in Mobile App Testing
Best Practices for DevOps in Mobile App Testing
 
Android testing
Android testingAndroid testing
Android testing
 
Mobile automation – should I use robotium or calabash or appium?
Mobile automation – should I use robotium or calabash or appium?Mobile automation – should I use robotium or calabash or appium?
Mobile automation – should I use robotium or calabash or appium?
 
Selenium training
Selenium trainingSelenium training
Selenium training
 
Appium ppt
Appium pptAppium ppt
Appium ppt
 
MonkeyTalk Automation Testing For Android Application
MonkeyTalk Automation Testing For Android ApplicationMonkeyTalk Automation Testing For Android Application
MonkeyTalk Automation Testing For Android Application
 
Mobile Test Automation - Appium
Mobile Test Automation - AppiumMobile Test Automation - Appium
Mobile Test Automation - Appium
 
Android Testing: An Overview
Android Testing: An OverviewAndroid Testing: An Overview
Android Testing: An Overview
 
Top Best Practices for Successful Mobile Test Automation
Top Best Practices for Successful Mobile Test AutomationTop Best Practices for Successful Mobile Test Automation
Top Best Practices for Successful Mobile Test Automation
 
UI5 supportability tools explained
UI5 supportability tools explainedUI5 supportability tools explained
UI5 supportability tools explained
 
Mobility testing
Mobility testingMobility testing
Mobility testing
 

Viewers also liked

Bart Schols, journalist of barman?
Bart Schols, journalist of barman?Bart Schols, journalist of barman?
Bart Schols, journalist of barman?
Thierry Debels
 
PHARM QUALITY SYSTEMS Sep 2014
PHARM QUALITY SYSTEMS Sep 2014PHARM QUALITY SYSTEMS Sep 2014
PHARM QUALITY SYSTEMS Sep 2014Ellerbeck Walda
 
Directorio completo de la institución 2012
Directorio completo de la institución 2012Directorio completo de la institución 2012
Directorio completo de la institución 2012
Gobierno Autónomo Descentralizado de la Parroquia Rural de Puembo
 
MPPL Chapter 8
MPPL Chapter 8MPPL Chapter 8
MPPL Chapter 8
beiharira
 
Android bootcamp 2013 Lists & Adapter
Android bootcamp 2013 Lists & AdapterAndroid bootcamp 2013 Lists & Adapter
Android bootcamp 2013 Lists & Adapter
Hasan Hosgel
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
beiharira
 
Componentes de un sistema de computo
Componentes  de un sistema de computoComponentes  de un sistema de computo
Componentes de un sistema de computo
yeine guerrero perez
 
SD 2 options
SD 2 optionsSD 2 options
SD 2 options
Shannon Gilliland
 
New microsoft office power point presentation
New microsoft office power point presentationNew microsoft office power point presentation
New microsoft office power point presentation
tpremastella
 
電子商務系統設計Ch3
電子商務系統設計Ch3電子商務系統設計Ch3
電子商務系統設計Ch3
kga185
 
Entity Search: The Last Decade and the Next
Entity Search: The Last Decade and the NextEntity Search: The Last Decade and the Next
Entity Search: The Last Decade and the Next
krisztianbalog
 
Agile et Lean : des univers convergents ? par Dimitri Baeli
Agile et Lean : des univers convergents ? par Dimitri BaeliAgile et Lean : des univers convergents ? par Dimitri Baeli
Agile et Lean : des univers convergents ? par Dimitri Baeli
Institut Lean France
 
Pilon fractures
Pilon fracturesPilon fractures
Pilon fractures
Dr Imran Jan
 
Opportunità
OpportunitàOpportunità
Opportunità
Alessandro Ossola
 
Lean management en milieu hypercomplexe : à l'hôpital par B.Garel
Lean management en milieu hypercomplexe : à l'hôpital par B.GarelLean management en milieu hypercomplexe : à l'hôpital par B.Garel
Lean management en milieu hypercomplexe : à l'hôpital par B.Garel
Institut Lean France
 

Viewers also liked (16)

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

Similar to Automation Proposal_V1.0

Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
Sun Technlogies
 
Mobile Application Testing
Mobile Application Testing Mobile Application Testing
Mobile Application Testing
Shivaraj R
 
8 Best Automated Android App Testing Tools and Framework in 2024.pdf
8 Best Automated Android App Testing Tools and Framework in 2024.pdf8 Best Automated Android App Testing Tools and Framework in 2024.pdf
8 Best Automated Android App Testing Tools and Framework in 2024.pdf
kalichargn70th171
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
Top 5 Android testing frameworks you need to consider in 2024.pdf
Top 5 Android testing frameworks you need to consider in 2024.pdfTop 5 Android testing frameworks you need to consider in 2024.pdf
Top 5 Android testing frameworks you need to consider in 2024.pdf
kalichargn70th171
 
Benefits of using native automation tooling for mobile application testing.pptx
Benefits of using native automation tooling for mobile application testing.pptxBenefits of using native automation tooling for mobile application testing.pptx
Benefits of using native automation tooling for mobile application testing.pptx
Mesut Günes
 
5 Popular Test Automation Tools For React Native Apps.pdf
5 Popular Test Automation Tools For React Native Apps.pdf5 Popular Test Automation Tools For React Native Apps.pdf
5 Popular Test Automation Tools For React Native Apps.pdf
flufftailshop
 
Mobile Automation Meetup Presentation [English]
Mobile Automation Meetup Presentation [English]Mobile Automation Meetup Presentation [English]
Mobile Automation Meetup Presentation [English]
Maria Carcar
 
2.Android App Development_ Types of Automated Unit Tests.pdf
2.Android App Development_ Types of Automated Unit Tests.pdf2.Android App Development_ Types of Automated Unit Tests.pdf
2.Android App Development_ Types of Automated Unit Tests.pdf
Belayet Hossain
 
Mobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and DockerMobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and Docker
Moataz Nabil
 
Automated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdfAutomated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdf
Anand722237
 
Mobile App Testing: Methods and Benefits
Mobile App Testing: Methods and BenefitsMobile App Testing: Methods and Benefits
Mobile App Testing: Methods and Benefits
ForceBolt
 
Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020
Marianne Harness
 
Appium - test automation for mobile apps
Appium - test automation for mobile appsAppium - test automation for mobile apps
Appium - test automation for mobile apps
Aleksejs Trescalins
 
The Best Automation Testing Tools To Use In 2022 | BMN Infotech
The Best Automation Testing Tools To Use In 2022 | BMN InfotechThe Best Automation Testing Tools To Use In 2022 | BMN Infotech
The Best Automation Testing Tools To Use In 2022 | BMN Infotech
BMN Infotech
 
API Testing With Katalon Studio
API Testing With Katalon StudioAPI Testing With Katalon Studio
API Testing With Katalon Studio
Knoldus Inc.
 
apitestinginiadalahkatalontestingapiapiapiip
apitestinginiadalahkatalontestingapiapiapiipapitestinginiadalahkatalontestingapiapiapiip
apitestinginiadalahkatalontestingapiapiapiip
DikaSwatans
 
Innovation Generation - The Mobile Meetup: Android Best Practices
Innovation Generation - The Mobile Meetup: Android Best PracticesInnovation Generation - The Mobile Meetup: Android Best Practices
Innovation Generation - The Mobile Meetup: Android Best Practices
Solstice Mobile Argentina
 
Native automation tooling for mobile application testing.pptx
Native automation tooling for mobile application testing.pptxNative automation tooling for mobile application testing.pptx
Native automation tooling for mobile application testing.pptx
Mesut Günes
 
The ultimate guide to mobile app testing with appium
The ultimate guide to mobile app testing with appiumThe ultimate guide to mobile app testing with appium
The ultimate guide to mobile app testing with appium
headspin2
 

Similar to Automation Proposal_V1.0 (20)

Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
 
Mobile Application Testing
Mobile Application Testing Mobile Application Testing
Mobile Application Testing
 
8 Best Automated Android App Testing Tools and Framework in 2024.pdf
8 Best Automated Android App Testing Tools and Framework in 2024.pdf8 Best Automated Android App Testing Tools and Framework in 2024.pdf
8 Best Automated Android App Testing Tools and Framework in 2024.pdf
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
Top 5 Android testing frameworks you need to consider in 2024.pdf
Top 5 Android testing frameworks you need to consider in 2024.pdfTop 5 Android testing frameworks you need to consider in 2024.pdf
Top 5 Android testing frameworks you need to consider in 2024.pdf
 
Benefits of using native automation tooling for mobile application testing.pptx
Benefits of using native automation tooling for mobile application testing.pptxBenefits of using native automation tooling for mobile application testing.pptx
Benefits of using native automation tooling for mobile application testing.pptx
 
5 Popular Test Automation Tools For React Native Apps.pdf
5 Popular Test Automation Tools For React Native Apps.pdf5 Popular Test Automation Tools For React Native Apps.pdf
5 Popular Test Automation Tools For React Native Apps.pdf
 
Mobile Automation Meetup Presentation [English]
Mobile Automation Meetup Presentation [English]Mobile Automation Meetup Presentation [English]
Mobile Automation Meetup Presentation [English]
 
2.Android App Development_ Types of Automated Unit Tests.pdf
2.Android App Development_ Types of Automated Unit Tests.pdf2.Android App Development_ Types of Automated Unit Tests.pdf
2.Android App Development_ Types of Automated Unit Tests.pdf
 
Mobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and DockerMobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and Docker
 
Automated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdfAutomated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdf
 
Mobile App Testing: Methods and Benefits
Mobile App Testing: Methods and BenefitsMobile App Testing: Methods and Benefits
Mobile App Testing: Methods and Benefits
 
Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020
 
Appium - test automation for mobile apps
Appium - test automation for mobile appsAppium - test automation for mobile apps
Appium - test automation for mobile apps
 
The Best Automation Testing Tools To Use In 2022 | BMN Infotech
The Best Automation Testing Tools To Use In 2022 | BMN InfotechThe Best Automation Testing Tools To Use In 2022 | BMN Infotech
The Best Automation Testing Tools To Use In 2022 | BMN Infotech
 
API Testing With Katalon Studio
API Testing With Katalon StudioAPI Testing With Katalon Studio
API Testing With Katalon Studio
 
apitestinginiadalahkatalontestingapiapiapiip
apitestinginiadalahkatalontestingapiapiapiipapitestinginiadalahkatalontestingapiapiapiip
apitestinginiadalahkatalontestingapiapiapiip
 
Innovation Generation - The Mobile Meetup: Android Best Practices
Innovation Generation - The Mobile Meetup: Android Best PracticesInnovation Generation - The Mobile Meetup: Android Best Practices
Innovation Generation - The Mobile Meetup: Android Best Practices
 
Native automation tooling for mobile application testing.pptx
Native automation tooling for mobile application testing.pptxNative automation tooling for mobile application testing.pptx
Native automation tooling for mobile application testing.pptx
 
The ultimate guide to mobile app testing with appium
The ultimate guide to mobile app testing with appiumThe ultimate guide to mobile app testing with appium
The ultimate guide to mobile app testing with appium
 

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.
  翻译: