Mastering Mobile Test Automation
eBook - ePub

Mastering Mobile Test Automation

Feroz Pearl Louis, Gaurav Gupta

Partager le livre
  1. 274 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Mastering Mobile Test Automation

Feroz Pearl Louis, Gaurav Gupta

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Mastering Mobile Test Automation est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Mastering Mobile Test Automation par Feroz Pearl Louis, Gaurav Gupta en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Informatica et Project Management. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2015
ISBN
9781782175421

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...

Table des matiĂšres