Automatically repairing event sequence-based GUI test suites for regression testing

Author:

Memon Atif M.1

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)

Subject

Software

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

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3