Affiliation:
1. University of Maryland, College Park, MD
Abstract
Although graphical user interfaces (GUIs) constitute a large part of the software being developed today and are typically created using rapid prototyping, there are no effective regression testing techniques for GUIs. The needs of GUI regression testing differ from those of traditional software. When the structure of a GUI is modified, test cases from the original GUI's suite are either reusable or unusable on the modified GUI. Because GUI test case generation is expensive, our goal is to make the unusable test cases usable, thereby helping to retain the suite's event coverage. The idea of reusing these unusable (
obsolete
) test cases has not been explored before. This article shows that a large number of test cases become unusable for GUIs. It presents a new GUI regression testing technique that first automatically determines the usable and unusable test cases from a test suite after a GUI modification, then determines the unusable test cases that can be repaired so that they can execute on the modified GUI, and finally uses
repairing transformations
to repair the test cases. This regression testing technique along with four repairing transformations has been implemented. An empirical study for four open-source applications demonstrates that (1) this approach is effective in that many of the test cases can be repaired, and is practical in terms of its time performance, (2) certain types of test cases are more prone to becoming unusable, and (3) certain types of “dominator” events, when modified, make a large number of test cases unusable.
Funder
Office of Naval Research
Division of Computing and Communication Foundations
Publisher
Association for Computing Machinery (ACM)
Reference56 articles.
1. Abbot. 2003. Abbot Java GUI Test Framework. Available online at http://abbot.sourceforge.net. Abbot. 2003. Abbot Java GUI Test Framework. Available online at http://abbot.sourceforge.net.
2. Aho A. V. Sethi R. and Ullman J. D. 1986. Compilers Principles Techniques and Tools. Addison-Wesley Reading MA. Aho A. V. Sethi R. and Ullman J. D. 1986. Compilers Principles Techniques and Tools. Addison-Wesley Reading MA.
3. Beizer B. 1990. Software Testing Techniques 2nd ed. Van Nostrand Reinhold New York NY. Beizer B. 1990. Software Testing Techniques 2nd ed. Van Nostrand Reinhold New York NY.
4. Post-maintenance testing based on path change analysis
Cited by
66 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Repairing Obsolete GUI Test Scripts for Android Applications with Exploration and Backtracking;Proceedings of the 15th Asia-Pacific Symposium on Internetware;2024-07-24
2. Comprehensive Semantic Repair of Obsolete GUI Test Scripts for Mobile Applications;Proceedings of the IEEE/ACM 46th International Conference on Software Engineering;2024-04-12
3. Investigating the robustness of locators in template-based Web application testing using a GUI change classification model;Journal of Systems and Software;2024-04
4. Semantic Test Repair for Web Applications;Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering;2023-11-30
5. AdapTV+: Enhancing Model-Based Test Adaptation for Smart TVs through Icon Recognition;2023 IEEE 28th Pacific Rim International Symposium on Dependable Computing (PRDC);2023-10-24