About This eBook
ePUB is an open, industry-standard format for eBooks. However, support of ePUB and its many features varies across reading devices and applications. Use your device or app settings to customize the presentation to your liking. Settings that you can customize often include font, font size, single or double column, landscape or portrait mode, and figures that you can click or tap to enlarge. For additional information about the settings and features on your reading device or app, visit the device manufacturers Web site.
Many titles include programming code or configuration examples. To optimize the presentation of these elements, view the eBook in single-column, landscape mode and adjust the font size to the smallest setting. In addition to presenting code and configurations in the reflowable text format, we have included images of the code that mimic the presentation found in the print book; therefore, where the reflowable format may compromise the presentation of the code listing, you will see a Click here to view code image link. Click the link to view the print-fidelity code image. To return to the previous page viewed, click the Back button on your device or app.
Hands-On Mobile
App Testing
A Guide for Mobile Testers
and Anyone Involved
in the Mobile App Business
Daniel Knott
New York Boston Indianapolis San Francisco
Toronto Montreal London Munich Paris Madrid
Capetown Sydney Tokyo Singapore Mexico City
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals.
The author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein.
For information about buying this title in bulk quantities, or for special sales opportunities (which may include electronic versions; custom cover designs; and content particular to your business, training goals, marketing focus, or branding interests), please contact our corporate sales department at or (800) 382-3419.
For government sales inquiries, please contact .
For questions about sales outside the U.S., please contact .
Visit us on the Web: informit.com/aw
Library of Congress Cataloging-in-Publication Data
Knott, Daniel.
Hands-on mobile app testing : a guide for mobile testers and anyone involved in the mobile app
business / Daniel Knott.
pages cm
Includes index.
ISBN 978-0-13-419171-3 (pbk. : alk. paper)ISBN 0-13-419171-4
1. Mobile appsTesting. I. Title.
QA76.76.T48K64 2015
006.3dc23
2015009688
Copyright 2015 Pearson Education, Inc.
All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. To obtain permission to use material from this work, please submit a written request to Pearson Education, Inc., Permissions Department, 200 Old Tappan Road, Old Tappan, New Jersey 07675, or you may fax your request to (201) 236-3290.
ISBN-13: 978-0-13-419171-3
ISBN-10: 0-13-419171-4
Text printed in the United States on recycled paper at RR Donnelley in Crawfordsville, Indiana.
First printing, May 2015
For my wife, Sarah. Thank you
very much for your support and
encouragement while I wrote this book.
Contents
Preface
Mobile phones have been around since the middle of the 1970s. The devices have of course changed profoundly since then, but the biggest change came in 2007 when Apple presented its first iPhone. From that moment on, the mobile smartphone market has known only one directionUP! Eight years later, touch devices such as smartphones and tablets have become ubiquitous. More than two million apps are available for download in the stores of the biggest vendors, and this number is still rising. There are apps for every aspect of our lives, ranging from photos and music, to office applications and games, and on to fitness and health. But what about the quality of those apps? Are they reliable, trustworthy, easy to use, well developed, and tested?
. Numbers are from June 2014.
This book is a practical guide to mobile testing for anyone who works in the mobile business, but it is especially aimed at mobile testers.
Why I Wrote This Book
It all started in 2010 when I had the opportunity to work on my first mobile project. The mobile team I worked in was responsible for developing a mobile Web app, a native Android app, and a native iOS app. This was the companys first mobile project and a completely new testing environment for the quality assurance department. Together with a colleague, I had the chance to build a mobile testing strategy from scratch. We evaluated several test automation tools to see which one fit best in our software development lifecycle. At that time, mobile testing tools were few and far between, and at a very early development stage. We then tried several testing approaches and tools. Of course we failed with some of them, but in the end the whole team, the company, and our customers were happy.
Another reason why I wrote this book was because of my blog, www.adventuresinqa.com. I started blogging in 2011 after giving a presentation at the Agile Testing Days in Potsdam, Germany. This was my first talk at a major testing conference, and I was the only speaker on the agenda who spoke about mobile testing. After my presentation I was very busy for the rest of the conference as a lot of people approached me to ask about mobile testing, the approaches I use, what kind of tools I use, and so forth. The huge interest in and the lack of knowledge about mobile testing convinced me to start writing a blog. The goal was to share my knowledge of mobile testing and to exchange views and ideas with other mobile testers, while also improving my written English skills. So far Ive written about 90 posts covering mobile apps and testing, and I never expected so many people from around the world to take an interest in my blog. The feedback Ive gotten so far has been great, and it convinced me to take the next step.
That step is what youre reading: a book about mobile testing that captures my practical experience and knowledge for anyone involved in the mobile business. I hope you enjoy reading this book and can learn something new about the mobile testing business.
Who Should Read This Book?
This book is aimed at anyone who is interested in mobile apps and mobile testing, ranging from junior to expert mobile testers who are already involved in mobile development teams.
This book is also ideal for software test managers who need to manage mobile testing teams or to select a mobile test strategy. Its also great for software testers who are new to this topic and want to switch to mobile technologies.
Software developers who want to know more about mobile testing and testing their mobile apps have also come to the right place.
This book is also intended for product managers looking to gain further insights into the challenging job of mobile testing.