DocumentCode
2535344
Title
Regression Testing Ajax Applications: Coping with Dynamism
Author
Roest, Danny ; Mesbah, Ali ; Van Deursen, Arie
Author_Institution
Delft Univ. of Technol., Delft, Netherlands
fYear
2010
fDate
6-10 April 2010
Firstpage
127
Lastpage
136
Abstract
There is a growing trend to move desktop applications towards the web using advances made in web technologies such as Ajax. One common way to provide assurance about the correctness of such complex and evolving systems is through regression testing. Regression testing classical web applications has already been a notoriously daunting task because of the dynamism in web interfaces. Ajax applications pose an even greater challenge since the test case fragility degree is higher due to extensive run-time manipulation of the DOM tree and asynchronous client/server interactions. In this paper, we propose a technique, in which we automatically generate test cases and apply pipelined oracle comparators along with generated DOM templates, to deal with dynamic non-deterministic behavior in Ajax user interfaces. Our approach, implemented in Crawljax, is open source and provides a set of generic oracle comparators, template generators, and visualizations of test failure output. We describe two case studies evaluating the effectiveness, scalability, and required manual effort of the approach.
Keywords
Internet; Java; client-server systems; program testing; user interfaces; Ajax user interfaces; Crawljax; DOM tree; Web interfaces; Web technologies; asynchronous client-server interactions; regression testing Ajax applications; test case fragility degree; Application software; Automatic testing; Java; Postal services; Runtime; Scalability; Software testing; System testing; User interfaces; Visualization; ajax; dynamic interfaces; regression testing; web application;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Testing, Verification and Validation (ICST), 2010 Third International Conference on
Conference_Location
Paris
Print_ISBN
978-1-4244-6435-7
Type
conf
DOI
10.1109/ICST.2010.59
Filename
5477090
Link To Document