Test Case Generation and Reusing Test Cases for GUI Designed with HTML

Graphical User Interface (GUI) is pervasive to the extent that half of the code of the software systems written today is to produce the required GUIs.  Test case generation for GUI based software systems is complex as it is necessary to include all possible sequences of events that may be exercised by the widget or end-user. The major issue with GUI based systems is that even a single change in the GUI may make the entire suite of existing test cases unusable. Hence a solution to analyze the existing test cases (i.e. the test cases that were already generated before modification of GUI) and identify the test cases that have become unusable and that are reusable in the context of the modified GUI is provided here. Test cases that are reusable are retained and the test cases that have become unusable are subjected to transformations. These transformations make the unusable test cases reusable through the construction of Event Flow Graph (EFG) generated and parsing EFG using Depth First Search (DFS) to identify reusable and unusable test cases.

[1]  Mark Allen Weiss,et al.  Data structures and algorithm analysis in C , 1991 .

[2]  Mary Lou Soffa,et al.  Hierarchical GUI Test Case Generation Using Automated Planning , 2001, IEEE Trans. Software Eng..

[3]  Atif M. Memon,et al.  Studying the fault-detection effectiveness of GUI test cases for rapidly evolving software , 2005, IEEE Transactions on Software Engineering.

[4]  Atif M. Memon,et al.  Model-Based Testing of Community-Driven Open-Source GUI Applications , 2006, 2006 22nd IEEE International Conference on Software Maintenance.

[5]  Atif M. Memon,et al.  Automating regression testing for evolving GUI software , 2005, J. Softw. Maintenance Res. Pract..

[6]  Dianxiang Xu,et al.  A Systematic Capture and Replay Strategy for Testing Complex GUI Based Java Applications , 2010, 2010 Seventh International Conference on Information Technology: New Generations.

[7]  Robert M. Poston Automating specification-based software testing , 1996 .

[8]  Mark Allen Weiss,et al.  Data structures and algorithm analysis , 1991 .

[9]  Robin Wolff,et al.  A Tool for Replay and Analysis of Gaze-Enhanced Multiparty Sessions Captured in Immersive Collaborative Environments , 2008, 2008 12th IEEE/ACM International Symposium on Distributed Simulation and Real-Time Applications.

[10]  Paul Gerrard,et al.  Testing GUI Applications , 1997 .

[11]  Atif M. Memon,et al.  Automatically repairing event sequence-based GUI test suites for regression testing , 2008, TSEM.

[12]  Shari Lawrence Pfleeger,et al.  2003 International conference on software maintenance: the architectural evolution of systems , 2005 .

[13]  Atif M. Memon GUI Testing: Pitfalls and Process , 2002, Computer.