SlideShare a Scribd company logo
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 1
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 2
o  Please connect to the shared Google Drive:


http://soasta.io/AnDevConFiles
o  Open the Setup document and do the steps
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 3
o  Why Automation? 
o  Test Automation Products
o  Getting Started
o  Creating Test Scripts from Code
o  Creating Test Scripts by Recording
o  Running Automated Test Scripts
•  On local devices, in cloud devices
o  Setting Up Continuous Integration
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 4
o  Improved testing efficiency
o  Consistent and repeatable testing process
o  Improved regression testing coverage
o  More tests can be run in less time
o  Run 24x7
o  Humans free to perform advanced manual tests
o  Easy to reproduce defects
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 5
o  Survey Question 1:
•  What kind of testing are you doing now?
•  Doing some automated testing with manual
•  Doing mostly automated testing with manual
•  Doing only automated testing
o  Survey Question 2:
•  How are you automating your tests?
•  Developers write tests as code
•  QA team records tests from manual scripts
o  Survey Question 3:
•  Are you satisfied with your test automation process?
•  Yes. Why are you here?
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 6
o  Applause
o  Ranorex
o  Appium/Selenium 
o  Robotium
o  Perfecto Mobile
o  Device Anywhere
o  SOASTA TouchTest
o  AWS Remote Device Cloud
o  MobileLabs
o  mAutomate
o  Experitest (formerly SeeTest)
o  SmartBear Test Complete
o  NTT AppKitBox Remote Test
Kit
o  MonkeyTalk
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 7
o  Is your QA team good at manual testing or writing test code in a
high-level language (Java, JavaScript, etc.)?
o  Do you want one tool for Android and iOS?
o  Does your company prefer open source (free) or commercial
products?
o  Do you want tools that install locally or are SaaS/cloud-based?
o  Is your team located together or multi-site?
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 8
Product
 Company
 Where
 License
Appium
 OpenSource
(SauceLabs)
Desktop or Server
(Mac, Win, Linux)
OpenSource
TouchTest
 SOASTA
 Cloud
 Commercial
TestComplete
 SmartBear
 Windows
 Commercial
Ranorex
 Ranorex
 Windows
 Commercial
DeviceAnywhere
 Keynote
 Windows
 Commercial
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 9
Service
 Support
AWS Remote Device Cloud
 New – Android, FireOS

Hundreds of devices

Appium, Calabash, UIAutomator
SauceLabs
 Android simulators, devices (beta)
Appium, manual
NTTR AppKit
 Android, iOS
Hundreds of devices
Any automation, manual
Keynote Device Anywhere
 Android, iOS
Hundreds of devices
Keynote, Selenium
MobileLabs
 Android, iOS
Your own devices
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 10
o  Record and Playback
•  Easiest approach to start mobile test automation
•  Script parameterization
o  Code-based
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 24
o  How many releases of Android [GooglePlay]
o  How many device types – most popular
o  Emulators
•  One per system; cloud hosted e.g. SauceLabs
•  Not the same as running on hardware
o  Real devices
•  Real experience
•  Costly, hard to get
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 25
o 
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 26
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 27
o  Real User Monitoring – collect user metrics
o  mPulse
o  Crittercism
o  Flurry
o  …
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 28
o  Desktop: direct connect devices to your desktop computer
o  Lab: set up devices in a lab with automation
o  Device Cloud
•  On-premise device cloud: your own devices set up for access by anyone at
your company. Examples: Mobile Labs, Device Anywhere
•  Public cloud: publicly hosted devices accessible on a pay-as-you-go model.
Examples: Device Anywhere, NTT Remote Test Kit, SauceLabs, AWS Device
Farm
•  Private cloud: Reserved devices hosted by third-party. Examples: NTT Remote
Test Kit, Device Anywhere
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 29
o  Record and Playback
o  Add screenshot validation
o  Add object validation
o  Run on a new device
o  Adjust for new devices
o  Add data input from seed data
o  Validate seed data
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 30
o  Download from Google drive


http://soasta.io/AnDevConFiles
o  Install onto Android device
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 31
o  Log into http://soasta.com/touchtest/sign-up
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 32
o  Demo
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 33
o  Create a Composition to hold the Clip (test script)
o  Can easily duplicate a clip for multiple devices
o  Hit Play button
o  Watch test proceed, look for failures
•  Debugging
o  Other capture test data: CPU, Memory, Battery, Bytes I/O
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 34
o  Remote device can be anywhere
•  On someone’s desk
•  In a lab
•  In a remote device cloud
o  Using NTTR Remote Test Kit
•  Get a device
•  Install an app
•  TouchTest Agent
•  App to be tested
•  Launch TouchTest Agent
•  Use API for automation
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 35
o  Scommand: command line interface to TouchTest server
•  Start a test job
•  Get test results
•  More…
o  Also available as a Jenkins Plug-in
•  Click Manage Jenkins
•  Click Manage Plug-Ins
•  Click Available
•  Look for SOASTA CloudTest
•  Install
© 2015 SOASTA. All rights reserved.
 July 31, 2015
 36
o  Emma

More Related Content

PDF
Modern Cross Browser Testing in JavaScript Using Playwright
PDF
Applitools Framework
PDF
Applitools - Cross Browser
PPTX
How Gozengo Implemented a Continuous Deployment Culture from Day One
PDF
Applitools - Visual AI
KEY
Cloud based infrastructure for massive scale, without massive costs
PDF
Automated Visual Testing at Scale : Real-life Example from Dow Jones
PDF
Cross-Browser-Testing with Protractor & Browserstack
Modern Cross Browser Testing in JavaScript Using Playwright
Applitools Framework
Applitools - Cross Browser
How Gozengo Implemented a Continuous Deployment Culture from Day One
Applitools - Visual AI
Cloud based infrastructure for massive scale, without massive costs
Automated Visual Testing at Scale : Real-life Example from Dow Jones
Cross-Browser-Testing with Protractor & Browserstack

What's hot (20)

PPTX
Cross Browser Testing with Cypress
PPTX
Integrate Visual AI Into Your Appium Scripts in Minutes
PDF
Top 5 Features To Look for in a Codeless Automation Solution -- Presentation ...
PDF
Test Automation Architecture
PPT
Enterprise Ready Test Execution Platform for Mobile Apps
PDF
App center an overview
PPTX
Type Cross browsers testing
PDF
Intelligent Mobile App と Cloud Native が創るアプリ開発の未来 ~ これからの時代のアプリケーション開発ビジョン ~
PPTX
Can We Deliver Mobile Apps Continuously?
PDF
Visual Testing: Quality and Speed -- by GIl Tayar, Applitools
PPTX
1, 2, 3 build - continuous integration for mobile apps
PDF
Advanced Techniques for Testing Responsive Apps and Sites -- By Aakrit Prasad
PPTX
Real Devices or Emulators: Wen to use What for Automated Testing
PPTX
Building with Visual Studio Online
PDF
03 02 - tizen app development with visual studio mobile center and team services
PDF
How to Make Your UI Tests Stable, Scalable, and Maintainable
PDF
Test Design: Scaling UI Automation from the Ground Up
PDF
testCloud & Crittercism: How to Continuously Ensure Mobile App Quality
PPTX
Automation of Security scanning easy or cheese?
PPTX
ATAGTR2017 Wearable App Testing
Cross Browser Testing with Cypress
Integrate Visual AI Into Your Appium Scripts in Minutes
Top 5 Features To Look for in a Codeless Automation Solution -- Presentation ...
Test Automation Architecture
Enterprise Ready Test Execution Platform for Mobile Apps
App center an overview
Type Cross browsers testing
Intelligent Mobile App と Cloud Native が創るアプリ開発の未来 ~ これからの時代のアプリケーション開発ビジョン ~
Can We Deliver Mobile Apps Continuously?
Visual Testing: Quality and Speed -- by GIl Tayar, Applitools
1, 2, 3 build - continuous integration for mobile apps
Advanced Techniques for Testing Responsive Apps and Sites -- By Aakrit Prasad
Real Devices or Emulators: Wen to use What for Automated Testing
Building with Visual Studio Online
03 02 - tizen app development with visual studio mobile center and team services
How to Make Your UI Tests Stable, Scalable, and Maintainable
Test Design: Scaling UI Automation from the Ground Up
testCloud & Crittercism: How to Continuously Ensure Mobile App Quality
Automation of Security scanning easy or cheese?
ATAGTR2017 Wearable App Testing
Ad

Viewers also liked (9)

PDF
7 steps to pragmatic mobile testing Vancouver
PPTX
Eac presentation final
PPT
How to Find Investors on LinkedIn
PDF
7 Steps to Pragmatic Mobile Testing
PPTX
What is a Capital Needs Assessment
PDF
Top 10 mobile and web perf lessons-Toronto
PDF
Capital Needs Assessment Example
PDF
Capital Needs Assessment Provider - Statement of Qualifications
PDF
Investor pitch powerpoint example
7 steps to pragmatic mobile testing Vancouver
Eac presentation final
How to Find Investors on LinkedIn
7 Steps to Pragmatic Mobile Testing
What is a Capital Needs Assessment
Top 10 mobile and web perf lessons-Toronto
Capital Needs Assessment Example
Capital Needs Assessment Provider - Statement of Qualifications
Investor pitch powerpoint example
Ad

Similar to AnDevCon: Building Automated Android App Tests (20)

PPTX
Techniques, Tips & Tools For Mobile App Testing
PPTX
STPCon fall 2012: The Testing Renaissance Has Arrived
PPTX
Accelerate Web and Mobile Testing for Continuous Integration and Delivery
PPTX
Setting Up Your Mobile Testing Factory for 2013
PPTX
Serena Webcast: Accelerating Application Delivery with Continuous Testing
PDF
7 Steps to Pragmatic Mobile Testing
PDF
7 steps to pragmatic mobile testing
PPTX
SeeTestAutomation - Mobile Test Automation Tool by Experitest
PPTX
Continuous Testing for Optimal Mobile Peroformance - STPCon Spring 2014
PPTX
Continuous Testing for Optimal Mobile Peroformance - STPCon Spring 2014
PDF
Soasta New Features in CloudTest & TouchTest Webinar
PDF
Webinar: New Features in CloudTest & TouchTest
PPT
New Features in CloudTest & TouchTest
PPTX
Continuous Testing
PPTX
automation presentation
PDF
Introduction To Mobile-Automation
PPTX
See test
PPTX
Accelerate Web and Mobile Testing for Continuous Integration and Delivery
PPTX
The Mobile Testing Checklist
PPTX
Closing the Mobile App Quality Gap webinar
Techniques, Tips & Tools For Mobile App Testing
STPCon fall 2012: The Testing Renaissance Has Arrived
Accelerate Web and Mobile Testing for Continuous Integration and Delivery
Setting Up Your Mobile Testing Factory for 2013
Serena Webcast: Accelerating Application Delivery with Continuous Testing
7 Steps to Pragmatic Mobile Testing
7 steps to pragmatic mobile testing
SeeTestAutomation - Mobile Test Automation Tool by Experitest
Continuous Testing for Optimal Mobile Peroformance - STPCon Spring 2014
Continuous Testing for Optimal Mobile Peroformance - STPCon Spring 2014
Soasta New Features in CloudTest & TouchTest Webinar
Webinar: New Features in CloudTest & TouchTest
New Features in CloudTest & TouchTest
Continuous Testing
automation presentation
Introduction To Mobile-Automation
See test
Accelerate Web and Mobile Testing for Continuous Integration and Delivery
The Mobile Testing Checklist
Closing the Mobile App Quality Gap webinar

Recently uploaded (20)

PDF
Encapsulation_ Review paper, used for researhc scholars
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
KodekX | Application Modernization Development
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
A Presentation on Artificial Intelligence
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Approach and Philosophy of On baking technology
PDF
Modernizing your data center with Dell and AMD
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
Encapsulation_ Review paper, used for researhc scholars
The AUB Centre for AI in Media Proposal.docx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Understanding_Digital_Forensics_Presentation.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
KodekX | Application Modernization Development
Mobile App Security Testing_ A Comprehensive Guide.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
A Presentation on Artificial Intelligence
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Network Security Unit 5.pdf for BCA BBA.
Approach and Philosophy of On baking technology
Modernizing your data center with Dell and AMD
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Building Integrated photovoltaic BIPV_UPV.pdf
Per capita expenditure prediction using model stacking based on satellite ima...

AnDevCon: Building Automated Android App Tests

  • 1. © 2015 SOASTA. All rights reserved. July 31, 2015 1
  • 2. © 2015 SOASTA. All rights reserved. July 31, 2015 2 o  Please connect to the shared Google Drive:
 http://soasta.io/AnDevConFiles o  Open the Setup document and do the steps
  • 3. © 2015 SOASTA. All rights reserved. July 31, 2015 3 o  Why Automation? o  Test Automation Products o  Getting Started o  Creating Test Scripts from Code o  Creating Test Scripts by Recording o  Running Automated Test Scripts •  On local devices, in cloud devices o  Setting Up Continuous Integration
  • 4. © 2015 SOASTA. All rights reserved. July 31, 2015 4 o  Improved testing efficiency o  Consistent and repeatable testing process o  Improved regression testing coverage o  More tests can be run in less time o  Run 24x7 o  Humans free to perform advanced manual tests o  Easy to reproduce defects
  • 5. © 2015 SOASTA. All rights reserved. July 31, 2015 5 o  Survey Question 1: •  What kind of testing are you doing now? •  Doing some automated testing with manual •  Doing mostly automated testing with manual •  Doing only automated testing o  Survey Question 2: •  How are you automating your tests? •  Developers write tests as code •  QA team records tests from manual scripts o  Survey Question 3: •  Are you satisfied with your test automation process? •  Yes. Why are you here?
  • 6. © 2015 SOASTA. All rights reserved. July 31, 2015 6 o  Applause o  Ranorex o  Appium/Selenium o  Robotium o  Perfecto Mobile o  Device Anywhere o  SOASTA TouchTest o  AWS Remote Device Cloud o  MobileLabs o  mAutomate o  Experitest (formerly SeeTest) o  SmartBear Test Complete o  NTT AppKitBox Remote Test Kit o  MonkeyTalk
  • 7. © 2015 SOASTA. All rights reserved. July 31, 2015 7 o  Is your QA team good at manual testing or writing test code in a high-level language (Java, JavaScript, etc.)? o  Do you want one tool for Android and iOS? o  Does your company prefer open source (free) or commercial products? o  Do you want tools that install locally or are SaaS/cloud-based? o  Is your team located together or multi-site?
  • 8. © 2015 SOASTA. All rights reserved. July 31, 2015 8 Product Company Where License Appium OpenSource (SauceLabs) Desktop or Server (Mac, Win, Linux) OpenSource TouchTest SOASTA Cloud Commercial TestComplete SmartBear Windows Commercial Ranorex Ranorex Windows Commercial DeviceAnywhere Keynote Windows Commercial
  • 9. © 2015 SOASTA. All rights reserved. July 31, 2015 9 Service Support AWS Remote Device Cloud New – Android, FireOS
 Hundreds of devices
 Appium, Calabash, UIAutomator SauceLabs Android simulators, devices (beta) Appium, manual NTTR AppKit Android, iOS Hundreds of devices Any automation, manual Keynote Device Anywhere Android, iOS Hundreds of devices Keynote, Selenium MobileLabs Android, iOS Your own devices
  • 10. © 2015 SOASTA. All rights reserved. July 31, 2015 10 o  Record and Playback •  Easiest approach to start mobile test automation •  Script parameterization o  Code-based
  • 11. © 2015 SOASTA. All rights reserved. July 31, 2015 24 o  How many releases of Android [GooglePlay] o  How many device types – most popular o  Emulators •  One per system; cloud hosted e.g. SauceLabs •  Not the same as running on hardware o  Real devices •  Real experience •  Costly, hard to get
  • 12. © 2015 SOASTA. All rights reserved. July 31, 2015 25 o 
  • 13. © 2015 SOASTA. All rights reserved. July 31, 2015 26
  • 14. © 2015 SOASTA. All rights reserved. July 31, 2015 27 o  Real User Monitoring – collect user metrics o  mPulse o  Crittercism o  Flurry o  …
  • 15. © 2015 SOASTA. All rights reserved. July 31, 2015 28 o  Desktop: direct connect devices to your desktop computer o  Lab: set up devices in a lab with automation o  Device Cloud •  On-premise device cloud: your own devices set up for access by anyone at your company. Examples: Mobile Labs, Device Anywhere •  Public cloud: publicly hosted devices accessible on a pay-as-you-go model. Examples: Device Anywhere, NTT Remote Test Kit, SauceLabs, AWS Device Farm •  Private cloud: Reserved devices hosted by third-party. Examples: NTT Remote Test Kit, Device Anywhere
  • 16. © 2015 SOASTA. All rights reserved. July 31, 2015 29 o  Record and Playback o  Add screenshot validation o  Add object validation o  Run on a new device o  Adjust for new devices o  Add data input from seed data o  Validate seed data
  • 17. © 2015 SOASTA. All rights reserved. July 31, 2015 30 o  Download from Google drive
 http://soasta.io/AnDevConFiles o  Install onto Android device
  • 18. © 2015 SOASTA. All rights reserved. July 31, 2015 31 o  Log into http://soasta.com/touchtest/sign-up
  • 19. © 2015 SOASTA. All rights reserved. July 31, 2015 32 o  Demo
  • 20. © 2015 SOASTA. All rights reserved. July 31, 2015 33 o  Create a Composition to hold the Clip (test script) o  Can easily duplicate a clip for multiple devices o  Hit Play button o  Watch test proceed, look for failures •  Debugging o  Other capture test data: CPU, Memory, Battery, Bytes I/O
  • 21. © 2015 SOASTA. All rights reserved. July 31, 2015 34 o  Remote device can be anywhere •  On someone’s desk •  In a lab •  In a remote device cloud o  Using NTTR Remote Test Kit •  Get a device •  Install an app •  TouchTest Agent •  App to be tested •  Launch TouchTest Agent •  Use API for automation
  • 22. © 2015 SOASTA. All rights reserved. July 31, 2015 35 o  Scommand: command line interface to TouchTest server •  Start a test job •  Get test results •  More… o  Also available as a Jenkins Plug-in •  Click Manage Jenkins •  Click Manage Plug-Ins •  Click Available •  Look for SOASTA CloudTest •  Install
  • 23. © 2015 SOASTA. All rights reserved. July 31, 2015 36 o  Emma