Maintaining and evolving GUI-directed test scripts
Authors:
- 1 January 2009
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 02705257,p. 408-418
Abstract
Since manual black-box testing of GUI-based applications (GAPs) is tedious and laborious, test engineers create test scripts to automate the testing process. These test scripts interact with GAPs by performing actions on their GUI objects. An extra effort that test engineers put in writing test scripts is paid off when these scripts are run repeatedly. Unfortunately, releasing new versions of GAPs with modified GUIs breaks their corresponding test scripts thereby obliterating benefits of test automation. We offer a novel approach for maintaining and evolving test scripts so that they can test new versions of their respective GAPs. We built a tool to implement our approach, and we conducted a case study with forty five professional programmers and test engineers to evaluate this tool. The results show with strong statistical significance that users find more failures and report fewer false positives (p < 0.02) in test scripts with our tool than with a flagship industry product and a baseline manual approach. Our tool is lightweight and it takes less than eight seconds to analyze approximately 1KLOC of test scripts.Keywords
This publication has 10 references indexed in Scilit:
- Test-Suite Augmentation for Evolving Software2008
- Software Testing Research: Achievements, Challenges, Dreams2007
- Observations and lessons learned from automated testing2005
- Chianti2004
- Reducing the cost of regression testing by semantics guided test case selection2002
- A history-based test prioritization technique for regression testing in resource constrained environments2002
- A comparative study of coarse- and fine-grained safe regression test-selection techniquesACM Transactions on Software Engineering and Methodology, 2001
- On the limit of control flow analysis for regression test selection1998
- On regression testing of object-oriented programsJournal of Systems and Software, 1996
- A methodology for controlling the size of a test suiteACM Transactions on Software Engineering and Methodology, 1993