DocumentCode :
1731834
Title :
State-Based Testing of Ajax Web Applications
Author :
Marchetto, Alessandro ; Tonella, Paolo ; Ricca, Filippo
Author_Institution :
Fondazione Bruno Kessler - IRST, Trento
fYear :
2008
Firstpage :
121
Lastpage :
130
Abstract :
Ajax supports the development of rich-client Web applications, by providing primitives for the execution of asynchronous requests and for the dynamic update of the page structure and content. Often, Ajax Web applications consist of a single page whose elements are updated in response to callbacks activated asynchronously by the user or by a server message. These features give rise to new kinds of faults that are hardly revealed by existing Web testing approaches. In this paper, we propose a novel state-based testing approach, specifically designed to exercise Ajax Web applications. The document object model (DOM) of the page manipulated by the Ajax code is abstracted into a state model. Callback executions triggered by asynchronous messages received from the Web server are associated with state transitions. Test cases are derived from the state model based on the notion of semantically interacting events. We evaluate the approach on a case study in terms of fault revealing capability. We also measure the amount of manual interventions involved in constructing and refining the model required by this approach.
Keywords :
Internet; program testing; Ajax Web applications; Ajax code; Web testing; asynchronous messages; callback executions; document object model; rich-client Web applications; server message; state-based testing approach; Application software; Automata; Automatic testing; Delay; Graphical user interfaces; Navigation; Proposals; Protocols; Software testing; Web server; AJAX; State-based Testing; Testing; Web Application;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing, Verification, and Validation, 2008 1st International Conference on
Conference_Location :
Lillehammer
Print_ISBN :
978-0-7695-3127-4
Type :
conf
DOI :
10.1109/ICST.2008.22
Filename :
4539539
Link To Document :
بازگشت