Modeling Database Interactions in Web Applications and Generating Test Cases

Database has been widely used in Web applications and database interactions influence the navigations of Web applications. Besides, database interactions are among the most essential functional features in current Web applications. In this paper, special care is taken on database interactions in modeling and testing Web applications. GFSMs (Guarded Finite State Machines), which are augmented FSMs are employed as a tool to model database interactions. A GFSM-TT(GFSM test-tree) is constructed from GFSM. From the test-tree, minimal test set is derived to be employed to generate test. Finally, an algorithm is designed to optimize the test paths by decreasing the overlap. The approach we proposed can yield substantial results with test paths and state transitions are all less.

[1]  Hee Beng Kuan Tan,et al.  Applying static analysis for automated extraction of database interactions in web applications , 2008, Inf. Softw. Technol..

[2]  Jiayin Qi,et al.  A Service-Oriented Architecture for Semantic Recommendation and Integration of Products/Application Services (SOA-RIPAS) in Globalization , 2007 .

[3]  Bo Song,et al.  Modeling Web Browser Interactions and Generating Tests , 2008, 2008 International Conference on Computational Intelligence and Security.

[4]  Robert Mee,et al.  Going Faster: Testing The Web Application , 2002, IEEE Softw..

[5]  Maria Cristina Ferreira de Oliveira,et al.  A statechart-based model for hypermedia applications , 2001, TOIS.

[6]  Siu-Ming Yiu,et al.  Modeling Web navigation by statechart , 2000, Proceedings 24th Annual International Computer Software and Applications Conference. COMPSAC2000.

[7]  Massimiliano Di Penta,et al.  Considering browser interaction in Web application testing , 2003, Fifth IEEE International Workshop on Web Site Evolution, 2003. Theme: Architecture. Proceedings..

[8]  Huaikou Miao,et al.  Modeling Web Browser Interactions Using FSM , 2007, The 2nd IEEE Asia-Pacific Service Computing Conference (APSCC 2007).

[9]  A. Jefferson Offutt,et al.  Testing Web applications by modeling with FSMs , 2005, Software & Systems Modeling.

[10]  Mark Allen Weiss Data Structures and Algorithm Analysis in C++ (3rd Edition) , 2005 .

[11]  Hee Beng Kuan Tan,et al.  Automated Extraction of Database Interactions in Web Applications , 2006, 14th IEEE International Conference on Program Comprehension (ICPC'06).