Automatically Repairing Event Sequence-Based GUI Test Suites for Regression Testing

Download: PDF.

“Automatically Repairing Event Sequence-Based GUI Test Suites for Regression Testing” by Atif M. Memon. ACM Trans. on Softw. Eng. and Method., 2008, ACM Press.


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 paper 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.

Download: PDF.

BibTeX entry:

   author = {Atif M. Memon},
   title = {Automatically Repairing Event Sequence-Based {GUI} Test Suites
	for Regression Testing},
   journal = {ACM Trans. on Softw. Eng. and Method.},
   publisher = {ACM Press},
   year = {2008}

Back to Atif Memon's Publications.