Effective GUI Testing Automation: Developing an Automated GUI Testing Tool

Front Cover
John Wiley & Sons, Feb 20, 2006 - Computers - 445 pages
Have you tried using an "automated" GUI testing tool, only to find that you spent most of your time configuring, adjusting, and directing it?

This book presents a sensible and highly effective alternative: it teaches you to build and use your own truly automated tool. The procedure you'll learn is suitable for virtually any development environment, and the tool allows you to store your test data and verification standard separately, so you can build it once and use it for other GUIs. Most, if not all, of your work can be done without test scripts, because the tool itself can easily be made to conduct an automatic GUI survey, collect test data, and generate test cases. You'll spend virtually none of your time playing with the tool or application under test.
Code-intensive examples support all of the book's instruction, which includes these key topics:

  • Building a C# API text viewer
  • Building a test monkey
  • Developing an XML viewer using xPath and other XML-related classes
  • Building complex, serializable classes for GUI test verification
  • Automatically testing executable GUI applications and user-defined GUI controls
  • Testing managed (.NET) and unmanaged GUI applications
  • Automatically testing different GUI controls, including Label, TextBox, Button, CheckBox, RadioButton, Menu
  • Verifying test results

Effective GUI Test Automation is the perfect complement to Li and Wu's previous book, Effective Software Test Automation: Developing an Automated Software Testing Tool. Together, they provide programmers, testers, designers, and managers with a complete and cohesive way to create a smoother, swifter development process—and, as a result, software that is as bug-free as possible.

 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Developing an Automated GUI Testing Tool Chapter 1 GUI Testing An Overview
1
Developing an Automated GUI Testing Tool Chapter 2 Available GUI Testing Tools vs the Proposed Tool
19
Developing an Automated GUI Testing Tool Chapter 3 C Win32 API Programming and Test Monkeys
37
Developing an Automated GUI Testing Tool Chapter 4 Developing a GUI Test Library
99
Developing an Automated GUI Testing Tool Chapter 5 NET Programming and GUI Testing
137
Developing an Automated GUI Testing Tool Chapter 6 Testing a Windows Form in General
175
Developing an Automated GUI Testing Tool Chapter 7 Architecture and Implementation of the Automatic GUI Test Tool
209
Developing an Automated GUI Testing Tool Chapter 8 Methods of GUI Test Verification
269
Developing an Automated GUI Testing Tool Chapter 10 Testing a TextBox Control with Input from a Keyboard
333
Developing an Automated GUI Testing Tool Chapter 11 Testing RadioButton and CheckBox Controls
353
Developing an Automated GUI Testing Tool Chapter 12 Menu Clicking for GUI Test Automation
367
Developing an Automated GUI Testing Tool Chapter 13 UserDefined and COMBased Controls
389
Developing an Automated GUI Testing Tool Chapter 14 Testing Issues for Non NET Applications
411
Developing an Automated GUI Testing Tool Selected Bibliography
429
Developing an Automated GUI Testing Tool Index
431
Copyright

Developing an Automated GUI Testing Tool Chapter 9 Testing Label and Cosmetic GUI Controls
319

Other editions - View all

Common terms and phrases

About the author (2006)

Kanglin Li is a software engineer responsible for software development, testing, and deployment at Communication Data Services. He has developed applications in Pascal, C++, Java, Visual Basic, and C#. From 1995-2001, Li taught at North Carolina A&T State University. He is the author of Effective Software Test Automation (Sybex, 2004) and 14 articles and technical papers.

Bibliographic information