- Browse
- » Mastering mobile test automation: master the full range of mobile automation and testing techniques to develop customized mobile automation solutions
Mastering mobile test automation: master the full range of mobile automation and testing techniques to develop customized mobile automation solutions
Author
Publisher
Packt Publishing
Publication Date
2015.
Language
English
Description
Loading Description...
Subjects
Subjects
Applications mobiles
COMPUTERS
COMPUTERS -- Software Development & Engineering -- Quality Assurance & Testing
Computer software
Computer software -- Development
Computer software -- Testing
Development
Informatique mobile
Mobile apps
Mobile apps -- Testing
Mobile computing
Quality Assurance & Testing
Software Development & Engineering
Testing
COMPUTERS
COMPUTERS -- Software Development & Engineering -- Quality Assurance & Testing
Computer software
Computer software -- Development
Computer software -- Testing
Development
Informatique mobile
Mobile apps
Mobile apps -- Testing
Mobile computing
Quality Assurance & Testing
Software Development & Engineering
Testing
Table of Contents
From the eBook
Cover
Copyright
Credits
About the Authors
Acknowledgements
About the Reviewers
www.PacktPub.com
Table of Contents
Preface
Chapter 1: Ensuring Five-star Rating in the Market Place
Introduction to mobile test automation
Mobile application packages
Native applications
Mobile web applications
Hybrid applications
Factors to be considered during mobile testing
Mobile automation testing approaches
Automation using real devices
Steps to set up automation
Limitations of this automation
Emulators-based automation
Steps to set up automation
Advantages
Limitations
User agent-simulation-based automation
Steps to set up the automation
Advantages
Limitations
Cloud-based automation
Steps to set up the automation
Advantages
Limitations
Types of mobile application tests
Selection of the best mobile testing approach
Troubleshooting and best practices
Summary
Chapter 2: Designing Mobile Automation Frameworks
Selecting an automation tool
Types of mobile automation frameworks
The functional decomposition or test script modularity framework
Implementation required for mobile test
The data-driven framework
Implementation required for mobile testing
The keyword-driven framework
Implementation required for mobile test
The hybrid framework
Implementation for mobile testing
Support libraries
Optimizing the combination of approach and framework
A robust reporting mechanism
The automation feasibility analysis
Test library management
Version control
Change control
Summary
Chapter 3: User Agent
Automating Mobile Applications with Browsers
Introduction
A user agent string
User agent simulation for mobile
User agent plugin programs
Setting up a mobile test automation lab for user agents.
Setting up the user agent add-on for Mozilla Firefox
Setting up a user agent add-on for Google Chrome
Advantages of this approach
Limitations of this approach
Hybrid framework implementation for the user agent
UFT code snippet
Selenium code snippet
Troubleshooting and best practices
Summary
Chapter 4: Emulators and Simulators
The Automation of Emulated Devices
Introduction to mobile emulators
Setting up a mobile emulators for automation
Android emulator setup
Automating the Android emulator with Selenium WebDriver
Code snippet
iOS simulator setup
Code snippet
Implementing a mobile test automation framework for emulators
Appium architecture
Appium setup
Android on Windows OS
Appium on Mac OS
Scripting and execution with Appium
Scripting and object property extraction
Execution
Code snippet
Capabilities of the Android emulator for versions lower than 4.2 (API 17) and hybrid applications
Advantages of mobile emulators
Limitations of mobile emulators
Troubleshooting and best practices
Summary
Chapter 5: Automating Physical Devices
Getting Started
Automation technologies with real devices
Automation with optical recognition technology
Automation with AUT code instrumentation
Automating with native device methods
Object Identification with leading tools
Automation on real devices with various tools
Automation with Appium on real devices
Code snippet for Appium with real devices
Capabilities for Android devices with versions below 4.2
Automation with SeeTest on real devices
Configuring SeeTest license
SeeTest tool configuration
Configuring real mobile device for automation
Instrumentation of mobile application
Creating scripts
Exporting scripts for integration with other execution environments.
Advantages and limitations of this technique
Troubleshooting and best practices
Summary
Chapter 6: Automating on Cloud
Getting started with Cloud automation
Prominent mobile cloud automation tools
Private cloud lab setup
Integrating automation tools such as UFT and Selenium
Automation scripting with cloud devices
Automating with inbuilt cloud tool automation support
Test data parameterization
Interrupt scenario automation
Execution and reporting
Automating with third-party automation tools
Scripting with UFT
Scripting with Selenium
Troubleshooting and best practices
Summary
Chapter 7: Optimizing Test Strategy and Estimation
Lifecycle of a mobile test automation project
Requirement gathering and analysis
Device matrix creation
Optimization of the device coverage matrix
Optimizing the test automation strategy
The automation feasibility analysis
Effort estimation
Return on investment
RoI calculation
The RoI analysis
Best practices to maximize the RoI
Automation framework design and development
Test scripting
Automation suite execution
The execution manager
Extensibility and maintenance
Some more best practices
Summary
Chapter 8: Delivering Customer Delight
Customer delight
internal and external
An ideal mobile test automation framework
Mobile automation for agile projects
DevOps and shift left
Behavior-driven development
Continuous integration for mobile automation
Some sample mobile projects
Project 1
an insurance provider's web application
Testing requirements
Optimization
The solution
Project 2
automobile manufacturer's car dashboard and health-check application
Testing requirements
Optimization
The solution.
Project 3
using web and hybrid application to enable BYOD for a secure banking application
Testing requirements
Optimization
The solution
Best practices
Summary
Index.
Excerpt
Loading Excerpt...
Author Notes
Loading Author Notes...
More Details
Contributors
Gupta, Gurav author
ISBN
9781782174431
Reviews from GoodReads
Loading GoodReads Reviews.