Home > Store

Experiences of Test Automation: Case Studies of Software Test Automation

Register your product to gain access to bonus material or receive a coupon.

Experiences of Test Automation: Case Studies of Software Test Automation

Best Value Purchase

Book + eBook Bundle

  • Your Price: $59.39
  • List Price: $98.98
  • Includes EPUB and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    Adobe Reader PDF The popular standard, used most often with the free Acrobat® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

More Purchase Options


  • Your Price: $43.99
  • List Price: $54.99
  • Usually ships in 24 hours.

eBook (Watermarked)

  • Your Price: $35.19
  • List Price: $43.99
  • Includes EPUB and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    Adobe Reader PDF The popular standard, used most often with the free Acrobat® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.


  • Copyright 2012
  • Dimensions: 7" x 9-1/8"
  • Pages: 672
  • Edition: 1st
  • Book
  • ISBN-10: 0-321-75406-9
  • ISBN-13: 978-0-321-75406-6

Software test automation has moved beyond a luxury to become a necessity. Applications and systems have grown ever larger and more complex, and manual testing simply cannot keep up. As technology changes, and more organizations move into agile development, testing must adapt—and quickly. Test automation is essential, but poor automation is wasteful—how do you know where your efforts will take you?

Authors Dorothy Graham and Mark Fewster wrote the field’s seminal text, Software Test Automation, which has guided many organizations toward success. Now, in Experiences of Test Automation, they reveal test automation at work in a wide spectrum of organizations and projects, from complex government systems to medical devices, SAP business process development to Android mobile apps and cloud migrations. This book addresses both management and technical issues, describing failures and successes, brilliant ideas and disastrous decisions and, above all, offers specific lessons you can use.

Coverage includes

  • Test automation in agile development
  • How management support can make or break successful automation
  • The importance of a good testware architecture and abstraction levels
  • Measuring benefits and Return on Investment (ROI)
  • Management issues, including skills, planning, scope, and expectations
  • Model-Based Testing (MBT), monkey testing, and exploratory test automation
  • The importance of standards, communication, documentation, and flexibility in enterprise-wide automation
  • Automating support activities
  • Which tests to automate, and what not to automate
  • Hidden costs of automation: maintenance and failure analysis
  • The right objectives for test automation: why “finding bugs” may not be a good objective
  • Highlights, consisting of lessons learned, good points, and helpful tips

Experiences of Test Automation will be invaluable to everyone considering, implementing, using, or managing test automation. Testers, analysts, developers, automators and automation architects, test managers, project managers, QA professionals, and technical directors will all benefit from reading this book.

Sample Content

Online Sample Chapter

Experiences of Test Automation: Test Automation Anecdotes

Sample Pages

Download the sample pages (includes Chapter 29 and Index)

Table of Contents

Foreword xxix

Preface xxxi

Reflections on the Case Studies (by Dorothy Graham and Mark Fewster ) 1

A Management Issues 2

B Technical Issues 8

C Conclusion 16

Chapter 1: An Agile Team’s Test Automation Journey: The First Year (by Lisa Crispin) 17

1.1 Background for the Case Study 18

1.2 Whole Team Commitment 19

1.3 Setting Up the Automation Strategy 20

1.4 Applying Acceptance Test-Driven Development (ATDD) to Test behind the GUI Using FitNesse 24

1.5 Use an Incremental Approach 26

1.6 The Right Metrics 27

1.7 Celebrate Successes 28

1.8 Incorporate Engineering Sprints 28

1.9 Team Success 29

1.10 Continuous Improvement 31

1.11 Conclusion 32

Chapter 2: The Ultimate Database Automation (by Henri van de Scheur) 33

2.1 Background for the Case Study 33

2.2 Software under Test 35

2.3 Objectives for Test Automation 36

2.4 Developing Our Inhouse Test Tool 37

2.5 Our Results 40

2.6 Managing Our Automated Tests 40

2.7 Test Suites and Types 41

2.8 Today’s Situation 43

2.9 Pitfalls Encountered and Lessons Learned (the Hard Way) 43

2.10 How We Applied Advice from the Test Automation Book 45

2.11 Conclusion 47

2.12 Acknowledgments 48

Chapter 3: Moving to the Cloud: The Evolution of TiP, Continuous Regression Testing in Production (by Ken Johnston and Felix Deschamps) 49

3.1 Background for the Case Study 50

3.2 Moving Our Testing into the Cloud 52

3.3 How We Implemented TiP 55

3.4 Sample of Monthly Service Review Scorecards 58

3.5 Exchange TiP v2–Migrating TiP to the Windows Azure Cloud 62

3.6 What We Learned 63

3.7 Conclusion 67

3.8 Acknowledgments 67

Chapter 4: The Automator Becomes the Automated (by Bo Roop) 69

4.1 Background for the Case Study: My First Job 69

4.2 My Great Idea . . . 72

4.3 A Breakthrough 74

4.4 Conclusion 80

Chapter 5: Autobiography of an Automator: From Mainframe to Framework Automation (by John Kent) 83

5.1 Background for the Case Study 84

5.2 A Mainframe Green-Screen Automation Project 88

5.3 Difference between Mainframe and Script-Based Tools 89

5.4 Using the New Script-Based Tools 91

5.5 Automating Tests for IBM Maximo 97

5.6 Conclusion 102

5.7 Additional Reading 103

Chapter 6: Project 1: Failure!, Project 2: Success! (by Ane Clausen) 105

6.1 Background for the Case Study 105

6.2 Project 1: Failure! 107

6.3 Project 2: Success! 109

6.4 The Next Time Period: Testing for Real 118

6.5 Conclusion 127

Chapter 7: Automating the Testing of Complex Government Systems (by Elfriede Dustin) 129

7.1 Background for the Case Study 129

7.2 Our Requirements for Automation 131

7.3 Automated Test and Re-Test (ATRT), Our Automated Testing Solution–What Is It? 132

7.4 Automated Testing Solution Applied 140

7.5 Conclusion 142

Chapter 8: Device Simulation Framework (by Alan Page) 143

8.1 Background for the Case Study 143

8.2 The Birth of Device Simulation Framework (DSF) 145

8.3 Building the DSF 146

8.4 Automation Goals 148

8.5 Case Studies 149

8.6 No Silver Bullets 153

8.7 Conclusion 154

8.8 Acknowledgments 154

Chapter 9: Model-Based Test-Case Generation in ESA Projects (by Stefan Mohacsi and Armin Beer) 155

9.1 Background for the Case Study 155

9.2 Model-Based Testing and Test-Case Generation 157

9.3 Our Application: ESA Multi-Mission User Services 161

9.4 Experience and Lessons Learned 168

9.5 Conclusion 173

9.6 References 174

9.7 Acknowledgments 175

Chapter 10: Ten Years On and Still Going (by Simon Mills) 177

10.1 Background for the Case Study: “Before” 177

10.2 Insurance Quotation Systems Tested Automatically Every Month 179

10.3 What Happened Next? 193

10.4 Conclusion 193

Chapter 11: A Rising Phoenix from the Ashes (by Jason Weden) 197

11.1 Background for the Case Study 197

11.2 The Birth of the Phoenix 199

11.3 The Death of the Phoenix 202

11.4 The Rebirth of the Phoenix 203

11.5 The New Life of the Phoenix 207

11.6 Conclusion 212

Chapter 12: Automating the Wheels of Bureaucracy (by Damon Yerg [A Pseudonym]) 217

12.1 Background for the Case Study 217

12.2 The Agency Automation 219

12.3 From 2000 to 2008 223

12.4 An Alignment of Planets 226

12.5 Building Capability within Test Teams 231

12.6 Future Directions: The Journey Continues 233

12.7 Conclusion 235

Chapter 13: Automated Reliability Testing Using Hardware Interfaces (by Bryan Bakker) 237

13.1 Background for the Case Study 238

13.2 The Need for Action 239

13.3 Test Automation Startup (Incremental Approach) 240

13.4 Buy-In from Management 242

13.5 Further Development of Test Framework 244

13.6 Deployment and Improved Reporting 248

13.7 Conclusion 250

Chapter 14: Model-Based GUI Testing of Android Applications (by Antti Jääskeläinen, Tommi Takala, and Mika Katara) 253

14.1 Background for the Case Study 253

14.2 MBT with TEMA Toolset 256

14.3 Modeling Application Behavior 261

14.4 Generation of Tests 266

14.5 Connectivity and Adaptation 268

14.6 Results 272

14.7 Conclusion 273

14.8 Acknowledgments 274

14.9 References 274

Chapter 15: Test Automation of SAP Business Processes (by Christoph Mecke, Melanie Reinwarth, and Armin Gienger) 277

15.1 Background for the Case Study 278

15.2 Standards and Best Practices 282

15.3 eCATT Usage Examples 286

15.4 Conclusion 292

15.5 Acknowledgments 293

Chapter 16: Test Automation of a SAP Implementation (by Björn Boisschot) 295

16.1 Background for the Case Study 295

16.2 Project Overview 298

16.3 Phase 1: Proof of Concept 299

16.4 Phase 2: Project Start 307

16.5 Conclusion 319

Chapter 17: Choosing the Wrong Tool (by Michael Williamson) 321

17.1 Background for the Case Study 321

17.2 Our Preexisting Automation (or Lack Thereof) 324

17.3 Decision Needed: New Tool or Major Maintenance Effort? 326

17.4 Moving Forward with eggPlant 328

17.5 What Did We Do after eggPlant? 336

17.6 Conclusion 336

Chapter 18: Automated Tests for Marketplace Systems: Ten Years and Three Frameworks (by Lars Wahlberg) 339

18.1 Background for the Case Study 340

18.2 Automated Test Frameworks 341

18.3 Test Roles 344

18.4 Abstraction Layer 345

18.5 Configuration 348

18.6 Cost and ROI 349

18.7 Conclusion 352

Chapter 19: There’s More to Automation Than Regression Testing: Thinking Outside the Box (by Jonathan Kohl) 355

19.1 Background for the Case Study 355

19.2 Two Tales of Task Automation 357

19.3 Automation to Support Manual Exploratory Testing 362

19.4 Automating Data Interactions 364

19.5 Automation and Monitoring 368

19.6 Simulating Real-World Loads by Combining Simple Tools 370

19.7 Conclusion 372

19.8 References 372

Chapter 20: Software for Medical Devices and Our Need for Good Software Test Automation (by Albert Farré Benet, Christian Ekiza Lujua, Helena Soldevila Grau, Manel Moreno Jáimez, Fernando Monferrer Pérez, and Celestina Bianco) 375

20.1 Background for the Case Study 376

20.2 Comparison of the Different Approaches to Each Project 381

20.3 Project hamlet 385

20.4 Project phoenix 386

20.5 Project doityourself 388

20.6 Project miniweb 391

20.7 Test Execution 392

20.8 Result Reporting 393

20.9 Conclusion 396

Chapter 21: Automation through the Back Door (by Supporting Manual Testing) (by Seretta Gamba) 401

21.1 Background for the Case Study 401

21.2 Our Technical Solution 403

21.3 Implementing Test Automation with ISS Test Station 406

21.4 Implementing Test Automation 409

21.5 Supporting Manual Testing 413

21.6 The New Manual Test Process 417

21.7 Conclusion 422

21.8 References 423

Chapter 22: Test Automation as an Approach to Adding Value to Portability Testing (by Wim Demey) 425

22.1 Background for the Case Study 427

22.2 Portability Testing: Love or Hate It 428

22.3 Combination of Both Worlds as a Solution 428

22.4 Conclusion 435

22.5 Acknowledgment 435

Chapter 23: Automated Testing in an Insurance Company: Feeling Our Way (by Ursula Friede) 437

23.1 Background for the Case Study 437

23.2 The Application 439

23.3 Objectives 440

23.4 The Work 441

23.5 Lessons 443

23.6 Conclusion 444

Chapter 24: Adventures with Test Monkeys (by John Fodeh) 447

24.1 Background for the Case Study 447

24.2 Limitations of Automated Regression Testing 449

24.3 Test Monkeys 451

24.4 Implementing Test Monkeys 453

24.5 Using Test Monkeys 454

24.6 Benefits and Limitations 458

24.7 Conclusion 459

24.8 Additional Reading 460

Chapter 25: System-of-Systems Test Automation at NATS (by Mike Baxter, Nick Flynn, Christopher Wills, and Michael Smith) 461

25.1 Background for the Case Study 461

25.2 Test Execution Tool Integration 465

25.3 Pilot Project for the Tool 466

25.4 In-Service Model 467

25.5 Implementation 467

25.6 Typical Script Template 470

25.7 Lessons Learned 472

25.8 Conclusion 474

Chapter 26: Automating Automotive Electronics Testing (by Ross Timmerman and Joseph Stewart) 477

26.1 Background for the Case Study 477

26.2 Objectives for Automation Project 480

26.3 Brief History of the Automation Project 480

26.4 Results of the Automation Project 483

26.5 Conclusion 483

Chapter 27: BHAGs, Change, and Test Transformation (by Ed Allen and Brian Newman) 485

27.1 Background for the Case Study 485

27.2 Buy-In 487

27.3 The Story of Building the Automation Framework 491

27.4 Description of our Automation Framework 493

27.5 The Test Environment 497

27.6 Metrics 499

27.7 Conclusion 501

Chapter 28: Exploratory Test Automation: An Example Ahead of Its Time (by Harry Robinson and Ann Gustafson Robinson) 505

28.1 Background for the Case Study 505

28.2 What’s a Trouble Manager? 507

28.3 Testing a Trouble Manager Transaction 509

28.4 Constructing Test Cases Programmatically 510

28.5 New Ways to Think about Automated Tests 511

28.6 Testing the Trouble Manager Workflow 513

28.7 Test Generation in Action 518

28.8 Home Stretch 520

28.9 Post-Release 521

28.10 Conclusion 522

28.11 Acknowledgments 522

Chapter 29: Test Automation Anecdotes 523

29.1 Three Grains of Rice (by Randy Rice) 523

29.2 Understanding Has to Grow (by Molly Mahai) 527

29.3 First Day Automated Testing (by Jonathon Lee Wright) 528

29.4 Attempting to Get Automation Started (by Tessa Benzie) 535

29.5 Struggling with (against) Management (by Kai Sann) 536

29.6 Exploratory Test Automation: Database Record Locking (by Douglas Hoffman) 538

29.7 Lessons Learned from Test Automation in an Embedded Hardware—Software Computer Environment (by Jon Hagar) 545

29.8 The Contagious Clock (by Jeffrey S. Miller) 549

29.9 Flexibility of the Automation System (by Mike Bartley) 551

29.10 A Tale of Too Many Tools (and Not Enough Cross-Department Support) (by Adrian Smith) 552

29.11 A Success with a Surprising End (by George Wilkinson) 556

29.12 Cooperation Can Overcome Resource Limitations (by Michael Albrecht) 561

29.13 An Automation Process for Large-Scale Success (by Michael Snyman) 562

29.14 Test Automation Isn’t Always What It Seems (by Julian Harty) 567

Appendix: Tools 573

About the Case Study Authors 587

About the Book Authors 605

Index 607


Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020