Combining Model-Based and Capture-Replay Testing Techniques of Graphical User Interfaces: An Industrial Approach

Various approaches for the automated test case generation and execution in the area of graphical user interface testing (GUI) have emerged in recent years. Two notable trends are model-based testing as well as capture and replay technique. In this contribution we present an approach which allows a meaningful combination of both in order to be able to derive fully executable test cases from usage-models and to keep them highly maintainable in a SCRUM process. We first define a set of re-useable test steps by means of a capture and replay tool (TAISpy). Next, we show how it is possible to directly integrate these test steps into the usage models of a GUI and subsequently to generate executable test cases from them without further refinement or transformation to other formats. General idea, implemented architecture, tool chain and, finally, a case study are presented.

[1]  赵中营,et al.  Visual C#中文验证 , 2005 .

[2]  Atif M. Memon,et al.  Automated gui testing guided by usage profiles , 2007, ASE.

[3]  Lloyd Greenwald,et al.  An exploration of statistical models for automated test case generation , 2005, WODA '05.

[4]  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.

[5]  Rajesh Subramanyan,et al.  Supporting Concern-Based Regression Testing and Prioritization in a Model-Driven Environment , 2010, 2010 IEEE 34th Annual Computer Software and Applications Conference Workshops.

[6]  Christopher G. Lasater,et al.  Design Patterns , 2008, Wiley Encyclopedia of Computer Science and Engineering.

[7]  Cyril S. Ku,et al.  Design Patterns , 2008, Wiley Encyclopedia of Computer Science and Engineering.

[8]  Valdivino Alexandre de Santiago Junior,et al.  An Environment for Automated Test Case Generation from Statechart-based and Finite State Machine-based Behavioral Models , 2008, 2008 IEEE International Conference on Software Testing Verification and Validation Workshop.