Testing a Web Application Involving Web Browser Interaction

Web applications become more and more complex. Thus, systematic approaches for web application testing are needed. Existing methods take into consideration only those actions provided by the application itself and do not involve actions provided by the browser, such as the usage of backward and forward buttons. Base on existing testing techniques, this paper addresses an approach to discovering possible inconsistencies caused by interactions with web browser buttons and the property of a Web page related to web browser buttons. A navigation tree considering the role of the browser buttons while navigating a web application is constructed. Three adequacy criteria based on user actions are presented for test case selection. For illustration, a simple inquiring balance system of a Web application is exemplified.

[1]  Dick C. A. Bulterman,et al.  Links in hypermedia: the requirement for context , 1993, Hypertext.

[2]  David Chenho Kung,et al.  Structural testing of Web applications , 2000, Proceedings 11th International Symposium on Software Reliability Engineering. ISSRE 2000.

[3]  Jakob Nielsen,et al.  Hypertext and hypermedia , 1990 .

[4]  Paolo Tonella,et al.  Analysis and testing of Web applications , 2001, Proceedings of the 23rd International Conference on Software Engineering. ICSE 2001.

[5]  Andy Cockburn,et al.  Which way now? Analysing and easing inadequacies in WWW navigation , 1996, Int. J. Hum. Comput. Stud..

[6]  Huaikou Miao,et al.  Model checking-based testing of Web applications , 2007, Wuhan University Journal of Natural Sciences.

[7]  Hong Zhu,et al.  Software unit test coverage and adequacy , 1997, ACM Comput. Surv..

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

[9]  Gregg Rothermel,et al.  Improving web application testing with user session data , 2003, 25th International Conference on Software Engineering, 2003. Proceedings..

[10]  Terry Winograd,et al.  Dynamic bookmarks for the WWW , 1998, HYPERTEXT '98.

[11]  J. V. Ossenbruggen,et al.  The Dexter Hypertext Reference Model in Object-z , 1995 .

[12]  Saul Greenberg,et al.  Design Guidelines for Effective WWW History Mechanisms , 1998 .

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

[14]  Mayer D. Schwartz,et al.  The Dexter Hypertext Reference Model , 1994, CACM.

[15]  Divyakant Agrawal,et al.  PowerBookmarks: A System for Personalizable Web Information Organization, Sharing, and Management , 1999, Comput. Networks.