Mastering Mobile Test Automation
eBook - ePub

Mastering Mobile Test Automation

Feroz Pearl Louis, Gaurav Gupta

Compartir libro
  1. 274 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Mastering Mobile Test Automation

Feroz Pearl Louis, Gaurav Gupta

Detalles del libro
Vista previa del libro
Índice
Citas

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Mastering Mobile Test Automation un PDF/ePUB en línea?
Sí, puedes acceder a Mastering Mobile Test Automation de Feroz Pearl Louis, Gaurav Gupta en formato PDF o ePUB, así como a otros libros populares de Informatica y Project Management. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2015
ISBN
9781782175421
Categoría
Informatica

Mastering Mobile Test Automation


Table of Contents

Mastering Mobile Test Automation
Credits
About the Authors
Acknowledgements
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Ensuring Five-star Rating in the MarketPlace
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
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 testing
The data-driven framework
Implementation required for mobile testing
The keyword-driven framework
Implementation required for mobile testing
The hybrid framework
Implementation required 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
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
The Hybrid framework implementation for the user agent
The UFT code snippet
The Selenium code snippet
Troubleshooting and best practices
Summary
4. Emulators and Simulators – the Automation of Emulated Devices
Introduction to mobile emulators
Setting up a mobile emulators for automation
The Android emulator setup
Automating the Android emulator with Selenium WebDriver
Code snippet
The iOS simulator setup
Code snippet
Implementing a mobile test automation framework for emulators
The Appium architecture
The Appium setup
Android on the Windows OS
Appium on the 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 and hybrid applications
Advantages of mobile emulators
Limitations of mobile emulators
Troubleshooting and best practices
Summary
5. Automating Physical Devices
Getting started
Automation technologies with real devices
Automation with the 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 a SeeTest license
SeeTest tool configuration
Configuring a real mobile device for automation
Android devices
iOS-based devices
Windows-based devices
Blackberry devices
Instrumentation of a mobile application
Android platform
iOS platform
Windows platform
Blackberry platform
Mobile web applications
Creating scripts
Exporting scripts for integration with other execution environments
WebDriver code snippet
UFT code snippet
Advantages and limitations of this technique
Troubleshooting and best practices
Summary
6. Automating on Cloud
Getting started with cloud automation
Prominent mobile cloud automation tools
A 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
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
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 a web and hybrid application to enable BYOD for a secure banking application
Testing requirem...

Índice