Automatically repairing event sequence-based GUI test suites for regression testing
Title | Automatically repairing event sequence-based GUI test suites for regression testing |
Publication Type | Journal Articles |
Year of Publication | 2008 |
Authors | Memon AM |
Journal | ACM Transactions on Software Engineering and Methodology (TOSEM) |
Volume | 18 |
Issue | 2 |
Pagination | 4:1–4:36 - 4:1–4:36 |
Date Published | 2008/11// |
ISBN Number | 1049-331X |
Keywords | Graphical user interfaces, regression testing, repairing test cases, test case management, test maintenance |
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. |
URL | http://doi.acm.org/10.1145/1416563.1416564 |
DOI | 10.1145/1416563.1416564 |