Mastering Mobile Test Automation
eBook - ePub

Mastering Mobile Test Automation

Feroz Pearl Louis, Gaurav Gupta

Buch teilen
  1. 274 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

Mastering Mobile Test Automation

Feroz Pearl Louis, Gaurav Gupta

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist Mastering Mobile Test Automation als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu Mastering Mobile Test Automation von Feroz Pearl Louis, Gaurav Gupta im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Informatica & Project Management. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

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

Inhaltsverzeichnis