SlideShare a Scribd company logo
Mohit Anand, Software Engineer
Adobe
1
Selecting GUI Automation Testing
Tool for Mobile Domain
2
Abstract
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 paper is to
present a comparison between the widely used mobile automation tools in order to
determine their ease of use & effectiveness. We picked up a typical Adobe mobile app,
tested its GUI manually & then followed it up by a round of automation testing using these
tools. This paper list down the technical nuances involved while choosing any such tool for
user specific scenario.
3
Do you know your apps?
4
Complexities in Mobile Landscape
5
Operating System & Device Manufacturers
6
Screen Size & Resolution
7
GPU: Heart of Creative Apps
8
Localization: The Big hurdle
9
Our main consideration
10
Need of Automation in Mobile Testing
Automation
is the key
7(Q1’14) – 40(Q1’16)
11
Mobile Automation Tools
12
Selection criteria
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
Tools Selected
14
Key Features
Components of this tool
Google• 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.
• MonkeyRunner
• MonkeyDevice
• MonkeyImage
MonkeyRunnerMonkeyRunner
15
MonkeyRunnerMonkeyRunner
16
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 AutomatorUI Automator
17
UI AutomatorUI Automator
18
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
19
20
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
21
22
Deep dive into Appium
23
Test Setup
24
The Process: Recipe of Success
25
Demo of Adobe Shape GUI Automation
26
Takeaways
 Use real devices: In Adobe, we say no to simulators.
 All elements in the UI should have a unique resource id.
The App UI has changed: Get ready for modifying your test script.
Say NO to sleeps and xPath.
iOS Automation: You need code access or debug build.
27
Choose the RIGHT tool
28
Use case scenario
Monkey
Runner
Android app only Basic UI testing Time Crunch
Low
effort/investmen
t
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
29
Bibliography
o http://developer.android.com/tools/help/monkeyrunner_concepts.html
o https://www.cloudmonkeymobile.com/monkeytalk
o http://developer.android.com/training/testing/ui-testing/index.html
o https://developer.android.com/about/dashboards/index.html
o https://developer.apple.com/support/app-store/
30
Question and Answers
31

More Related Content

What's hot

Appium ppt
Appium pptAppium ppt
Appium ppt
natashasweety7
 
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
 
Appium overview session final
Appium overview session finalAppium overview session final
Appium overview session final
Abhishek Yadav
 
Appium solution
Appium solutionAppium solution
Appium solution
Nael Abd Eljawad
 
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
 
Mobile Test Automation - Appium
Mobile Test Automation - AppiumMobile Test Automation - Appium
Mobile Test Automation - Appium
Maria Machlowska
 
Boston meetup blaze_meter_feb2017
Boston meetup blaze_meter_feb2017Boston meetup blaze_meter_feb2017
Boston meetup blaze_meter_feb2017
Perfecto Mobile
 
Appium tutorial| Appium Training
Appium tutorial| Appium Training Appium tutorial| Appium Training
Appium tutorial| Appium Training
QA Masters
 
Advance appium workshop.pptx
Advance appium workshop.pptxAdvance appium workshop.pptx
Advance appium workshop.pptx
VodqaBLR
 
Mobile applications and automation testing
Mobile applications and automation testingMobile applications and automation testing
Mobile applications and automation testing
IndicThreads
 
Appium overview
Appium overviewAppium overview
Appium overview
Abhishek Yadav
 
Mobility testing
Mobility testingMobility testing
Mobility testing
Precise Testing Solution
 
Testing Your Android and iOS Apps with Appium in Testdroid Cloud
Testing Your Android and iOS Apps with Appium in Testdroid CloudTesting Your Android and iOS Apps with Appium in Testdroid Cloud
Testing Your Android and iOS Apps with Appium in Testdroid Cloud
Bitbar
 
Automated UI Testing Frameworks
Automated UI Testing FrameworksAutomated UI Testing Frameworks
Automated UI Testing Frameworks
TestObject - Mobile Testing
 
Using Selenium to Test Native Apps (Wait, you can do that?)
Using Selenium to Test Native Apps (Wait, you can do that?)Using Selenium to Test Native Apps (Wait, you can do that?)
Using Selenium to Test Native Apps (Wait, you can do that?)Sauce Labs
 
Getting started with appium
Getting started with appiumGetting started with appium
Getting started with appium
Pratik Patel
 
Parallel testing with appium
Parallel testing with appiumParallel testing with appium
Parallel testing with appium
moizjv
 
Appium
AppiumAppium
Appium
Sveta Fedik
 
Espresso
EspressoEspresso
Espresso
kanthivel
 

What's hot (20)

Appium ppt
Appium pptAppium ppt
Appium ppt
 
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?
 
Appium overview session final
Appium overview session finalAppium overview session final
Appium overview session final
 
Appium solution
Appium solutionAppium solution
Appium solution
 
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?
 
Mobile Test Automation - Appium
Mobile Test Automation - AppiumMobile Test Automation - Appium
Mobile Test Automation - Appium
 
Boston meetup blaze_meter_feb2017
Boston meetup blaze_meter_feb2017Boston meetup blaze_meter_feb2017
Boston meetup blaze_meter_feb2017
 
Appium tutorial| Appium Training
Appium tutorial| Appium Training Appium tutorial| Appium Training
Appium tutorial| Appium Training
 
Advance appium workshop.pptx
Advance appium workshop.pptxAdvance appium workshop.pptx
Advance appium workshop.pptx
 
Mobile applications and automation testing
Mobile applications and automation testingMobile applications and automation testing
Mobile applications and automation testing
 
Appium overview
Appium overviewAppium overview
Appium overview
 
Mobility testing
Mobility testingMobility testing
Mobility testing
 
Testing Your Android and iOS Apps with Appium in Testdroid Cloud
Testing Your Android and iOS Apps with Appium in Testdroid CloudTesting Your Android and iOS Apps with Appium in Testdroid Cloud
Testing Your Android and iOS Apps with Appium in Testdroid Cloud
 
Icreate
IcreateIcreate
Icreate
 
Automated UI Testing Frameworks
Automated UI Testing FrameworksAutomated UI Testing Frameworks
Automated UI Testing Frameworks
 
Using Selenium to Test Native Apps (Wait, you can do that?)
Using Selenium to Test Native Apps (Wait, you can do that?)Using Selenium to Test Native Apps (Wait, you can do that?)
Using Selenium to Test Native Apps (Wait, you can do that?)
 
Getting started with appium
Getting started with appiumGetting started with appium
Getting started with appium
 
Parallel testing with appium
Parallel testing with appiumParallel testing with appium
Parallel testing with appium
 
Appium
AppiumAppium
Appium
 
Espresso
EspressoEspresso
Espresso
 

Viewers also liked

Choosing right-automation-tool
Choosing right-automation-toolChoosing right-automation-tool
Choosing right-automation-tool
BabuDevanandam
 
Automatización de interfaces e introducción a bdd
Automatización de interfaces e introducción a bddAutomatización de interfaces e introducción a bdd
Automatización de interfaces e introducción a bdd
Jorge Ortiz
 
Experitest & Wipro Co-Webinar
Experitest & Wipro Co-Webinar Experitest & Wipro Co-Webinar
Experitest & Wipro Co-Webinar
Experitest
 
Appium
AppiumAppium
Automation testing on ios platform using appium
Automation testing on ios platform using appiumAutomation testing on ios platform using appium
Automation testing on ios platform using appium
Ambreen Khan
 
Android & iOS Automation Using Appium
Android & iOS Automation Using AppiumAndroid & iOS Automation Using Appium
Android & iOS Automation Using Appium
Mindfire Solutions
 
Appium Mobile Test Automation like WebDriver
Appium Mobile Test Automation like WebDriverAppium Mobile Test Automation like WebDriver
Appium Mobile Test Automation like WebDriverAndrii Dzynia
 
[Binh nguyen] Mobile Application Automation Testing iOS and Android
[Binh nguyen] Mobile Application Automation Testing iOS and Android [Binh nguyen] Mobile Application Automation Testing iOS and Android
[Binh nguyen] Mobile Application Automation Testing iOS and Android
Ho Chi Minh City Software Testing Club
 

Viewers also liked (8)

Choosing right-automation-tool
Choosing right-automation-toolChoosing right-automation-tool
Choosing right-automation-tool
 
Automatización de interfaces e introducción a bdd
Automatización de interfaces e introducción a bddAutomatización de interfaces e introducción a bdd
Automatización de interfaces e introducción a bdd
 
Experitest & Wipro Co-Webinar
Experitest & Wipro Co-Webinar Experitest & Wipro Co-Webinar
Experitest & Wipro Co-Webinar
 
Appium
AppiumAppium
Appium
 
Automation testing on ios platform using appium
Automation testing on ios platform using appiumAutomation testing on ios platform using appium
Automation testing on ios platform using appium
 
Android & iOS Automation Using Appium
Android & iOS Automation Using AppiumAndroid & iOS Automation Using Appium
Android & iOS Automation Using Appium
 
Appium Mobile Test Automation like WebDriver
Appium Mobile Test Automation like WebDriverAppium Mobile Test Automation like WebDriver
Appium Mobile Test Automation like WebDriver
 
[Binh nguyen] Mobile Application Automation Testing iOS and Android
[Binh nguyen] Mobile Application Automation Testing iOS and Android [Binh nguyen] Mobile Application Automation Testing iOS and Android
[Binh nguyen] Mobile Application Automation Testing iOS and Android
 

Similar to mohit anand

Android automation tools
Android automation toolsAndroid automation tools
Android automation tools
SSGMCE SHEGAON
 
Mobile Application Testing
Mobile Application Testing Mobile Application Testing
Mobile Application Testing
Shivaraj R
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
Sun Technlogies
 
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
 
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
 
A Comprehensive Guide to Conducting Test Automation Using Appium & Cucumber o...
A Comprehensive Guide to Conducting Test Automation Using Appium & Cucumber o...A Comprehensive Guide to Conducting Test Automation Using Appium & Cucumber o...
A Comprehensive Guide to Conducting Test Automation Using Appium & Cucumber o...
flufftailshop
 
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
 
Testing Android Application, Droidcon Torino
Testing Android Application, Droidcon TorinoTesting Android Application, Droidcon Torino
Testing Android Application, Droidcon Torino
Pietro Alberto Rossi
 
How to Leverage Appium in Your Mobile App Testing
How to Leverage Appium in Your Mobile App TestingHow to Leverage Appium in Your Mobile App Testing
How to Leverage Appium in Your Mobile App Testing
Bitbar
 
Decoding Appium No-Code Test Automation With HeadSpin.pdf
Decoding Appium No-Code Test Automation With HeadSpin.pdfDecoding Appium No-Code Test Automation With HeadSpin.pdf
Decoding Appium No-Code Test Automation With HeadSpin.pdf
kalichargn70th171
 
DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...
DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...
DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...
Journal For Research
 
MuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.io
MuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.ioMuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.io
MuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.io
Jitendra Bafna
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
kalichargn70th171
 
Automated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdfAutomated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdf
Anand722237
 
Appium an introduction
Appium   an introductionAppium   an introduction
Appium an introduction
Vivek Shringi
 
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
 
Appium meet up noida
Appium meet up noidaAppium meet up noida
Appium meet up noida
Amit Rawat
 
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
 
How to Master Mobile Automation in QA
How to Master Mobile Automation in QAHow to Master Mobile Automation in QA
How to Master Mobile Automation in QA
Oxagile
 
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
 

Similar to mohit anand (20)

Android automation tools
Android automation toolsAndroid automation tools
Android automation tools
 
Mobile Application Testing
Mobile Application Testing Mobile Application Testing
Mobile Application Testing
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
 
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
 
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
 
A Comprehensive Guide to Conducting Test Automation Using Appium & Cucumber o...
A Comprehensive Guide to Conducting Test Automation Using Appium & Cucumber o...A Comprehensive Guide to Conducting Test Automation Using Appium & Cucumber o...
A Comprehensive Guide to Conducting Test Automation Using Appium & Cucumber o...
 
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
 
Testing Android Application, Droidcon Torino
Testing Android Application, Droidcon TorinoTesting Android Application, Droidcon Torino
Testing Android Application, Droidcon Torino
 
How to Leverage Appium in Your Mobile App Testing
How to Leverage Appium in Your Mobile App TestingHow to Leverage Appium in Your Mobile App Testing
How to Leverage Appium in Your Mobile App Testing
 
Decoding Appium No-Code Test Automation With HeadSpin.pdf
Decoding Appium No-Code Test Automation With HeadSpin.pdfDecoding Appium No-Code Test Automation With HeadSpin.pdf
Decoding Appium No-Code Test Automation With HeadSpin.pdf
 
DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...
DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...
DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...
 
MuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.io
MuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.ioMuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.io
MuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.io
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
 
Automated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdfAutomated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdf
 
Appium an introduction
Appium   an introductionAppium   an introduction
Appium an introduction
 
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
 
Appium meet up noida
Appium meet up noidaAppium meet up noida
Appium meet up noida
 
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
 
How to Master Mobile Automation in QA
How to Master Mobile Automation in QAHow to Master Mobile Automation in QA
How to Master Mobile Automation in QA
 
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
 

More from BabuDevanandam

General Functions
General FunctionsGeneral Functions
General Functions
BabuDevanandam
 
Device Replaycodes
Device ReplaycodesDevice Replaycodes
Device Replaycodes
BabuDevanandam
 
E pds
E pdsE pds
Get Max From Automation
Get Max From AutomationGet Max From Automation
Get Max From Automation
BabuDevanandam
 
Customized Test Automation Solution
Customized Test Automation SolutionCustomized Test Automation Solution
Customized Test Automation Solution
BabuDevanandam
 
Automationsamurai presentation
Automationsamurai presentationAutomationsamurai presentation
Automationsamurai presentation
BabuDevanandam
 
Point of sale_framework
Point of sale_frameworkPoint of sale_framework
Point of sale_framework
BabuDevanandam
 
Shrinivas kulkarni barclays feynmanism for testers – introducing the curious ...
Shrinivas kulkarni barclays feynmanism for testers – introducing the curious ...Shrinivas kulkarni barclays feynmanism for testers – introducing the curious ...
Shrinivas kulkarni barclays feynmanism for testers – introducing the curious ...
BabuDevanandam
 
Selenium Test Automation
Selenium Test AutomationSelenium Test Automation
Selenium Test Automation
BabuDevanandam
 
DST Vega test Tool
DST Vega test ToolDST Vega test Tool
DST Vega test Tool
BabuDevanandam
 
Test Automation
Test AutomationTest Automation
Test Automation
BabuDevanandam
 
Test Automation for Mobile Apps..
Test Automation for Mobile Apps..Test Automation for Mobile Apps..
Test Automation for Mobile Apps..
BabuDevanandam
 
Testing in the Extremes
Testing in the ExtremesTesting in the Extremes
Testing in the Extremes
BabuDevanandam
 
Cross browser Testing on Mobile Devices
Cross browser Testing on Mobile DevicesCross browser Testing on Mobile Devices
Cross browser Testing on Mobile Devices
BabuDevanandam
 

More from BabuDevanandam (14)

General Functions
General FunctionsGeneral Functions
General Functions
 
Device Replaycodes
Device ReplaycodesDevice Replaycodes
Device Replaycodes
 
E pds
E pdsE pds
E pds
 
Get Max From Automation
Get Max From AutomationGet Max From Automation
Get Max From Automation
 
Customized Test Automation Solution
Customized Test Automation SolutionCustomized Test Automation Solution
Customized Test Automation Solution
 
Automationsamurai presentation
Automationsamurai presentationAutomationsamurai presentation
Automationsamurai presentation
 
Point of sale_framework
Point of sale_frameworkPoint of sale_framework
Point of sale_framework
 
Shrinivas kulkarni barclays feynmanism for testers – introducing the curious ...
Shrinivas kulkarni barclays feynmanism for testers – introducing the curious ...Shrinivas kulkarni barclays feynmanism for testers – introducing the curious ...
Shrinivas kulkarni barclays feynmanism for testers – introducing the curious ...
 
Selenium Test Automation
Selenium Test AutomationSelenium Test Automation
Selenium Test Automation
 
DST Vega test Tool
DST Vega test ToolDST Vega test Tool
DST Vega test Tool
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Test Automation for Mobile Apps..
Test Automation for Mobile Apps..Test Automation for Mobile Apps..
Test Automation for Mobile Apps..
 
Testing in the Extremes
Testing in the ExtremesTesting in the Extremes
Testing in the Extremes
 
Cross browser Testing on Mobile Devices
Cross browser Testing on Mobile DevicesCross browser Testing on Mobile Devices
Cross browser Testing on Mobile Devices
 

mohit anand

  • 1. Mohit Anand, Software Engineer Adobe 1 Selecting GUI Automation Testing Tool for Mobile Domain
  • 2. 2 Abstract 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 paper is to present a comparison between the widely used mobile automation tools in order to determine their ease of use & effectiveness. We picked up a typical Adobe mobile app, tested its GUI manually & then followed it up by a round of automation testing using these tools. This paper list down the technical nuances involved while choosing any such tool for user specific scenario.
  • 3. 3 Do you know your apps?
  • 5. 5 Operating System & Device Manufacturers
  • 6. 6 Screen Size & Resolution
  • 7. 7 GPU: Heart of Creative Apps
  • 10. 10 Need of Automation in Mobile Testing Automation is the key 7(Q1’14) – 40(Q1’16)
  • 12. 12 Selection criteria 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
  • 14. 14 Key Features Components of this tool Google• 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. • MonkeyRunner • MonkeyDevice • MonkeyImage MonkeyRunnerMonkeyRunner
  • 16. 16 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 AutomatorUI Automator
  • 18. 18 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
  • 19. 19
  • 20. 20 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
  • 21. 21
  • 25. 25 Demo of Adobe Shape GUI Automation
  • 26. 26 Takeaways  Use real devices: In Adobe, we say no to simulators.  All elements in the UI should have a unique resource id. The App UI has changed: Get ready for modifying your test script. Say NO to sleeps and xPath. iOS Automation: You need code access or debug build.
  • 28. 28 Use case scenario Monkey Runner Android app only Basic UI testing Time Crunch Low effort/investmen t 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
  • 29. 29 Bibliography o http://developer.android.com/tools/help/monkeyrunner_concepts.html o https://www.cloudmonkeymobile.com/monkeytalk o http://developer.android.com/training/testing/ui-testing/index.html o https://developer.android.com/about/dashboards/index.html o https://developer.apple.com/support/app-store/
  • 31. 31