DocumentCode :
2535113
Title :
Repairing GUI Test Suites Using a Genetic Algorithm
Author :
Huang, Si ; Cohen, Myra B. ; Memon, Atif M.
Author_Institution :
Dept. of Comput. Sci. & Eng., Univ. of Nebraska-Lincoln, Lincoln, NE, USA
fYear :
2010
fDate :
6-10 April 2010
Firstpage :
245
Lastpage :
254
Abstract :
Recent advances in automated functional testing of Graphical User Interfaces (GUIs) rely on deriving graph models that approximate all possible sequences of events that may be executed on the GUI, and then use the graphs to generate test cases (event sequences) that achieve a specified coverage goal. However, because these models are only approximations of the actual event flows, the generated test cases may suffer from problems of infeasibility, i.e., some events may not be available for execution causing the test case to terminate prematurely. In this paper we develop a method to automatically repair GUI test suites, generating new test cases that are feasible. We use a genetic algorithm to evolve new test cases that increase our test suite´s coverage while avoiding infeasible sequences. We experiment with this algorithm on a set of synthetic programs containing different types of constraints and for test sequences of varying lengths. Our results suggest that we can generate new test cases to cover most of the feasible coverage and that the genetic algorithm outperforms a random algorithm trying to achieve the same goal in almost all cases.
Keywords :
genetic algorithms; graphical user interfaces; program testing; GUI test suite; automated functional testing; genetic algorithm; graph model; graphical user interface; random algorithm; synthetic program; test case; Automatic testing; Computer interfaces; Computer science; Educational institutions; Genetic algorithms; Genetic engineering; Graphical user interfaces; Logic testing; Sampling methods; Software testing; Automated Test Case Generation; Combinatorial Interaction Testing; GUI Testing; Genetic Algorithms;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing, Verification and Validation (ICST), 2010 Third International Conference on
Conference_Location :
Paris
Print_ISBN :
978-1-4244-6435-7
Type :
conf
DOI :
10.1109/ICST.2010.39
Filename :
5477078
Link To Document :
بازگشت