Back to Search Start Over

Testing of AJAX-Based Web Applications Using Hierarchical State Model

Authors :
Chien-Hung Liu
Chia-Jung Wu
Hsi-Min Chen
Source :
ICEBE
Publication Year :
2016
Publisher :
IEEE, 2016.

Abstract

As Ajax, a widely used web development technique, is able to dynamically construct the structures of DOM elements on the browser side, more and more executions of business logic have been shifted from back-end servers to front-end browsers. Moreover, by means of Ajax technique, updates of Web content can take place asynchronously in the background without requesting the whole web pages from servers so it gains the benefit from reducing the amount of network traffic between browsers and web servers. However, in term of web application testing, the existing approaches, adopting web-browsing paths as test cases, are failed to apply in such web applications. In this paper, we propose a test model for Ajax-based web applications based on a hierarchical state machine. The test model is established from observing the state changes of HTML element's attributes and the events that trigger the changes, and then transformed into state transition test trees. Finally, it generates corresponding test cases composed by triggered events to test the behavior of Ajax-based web applications.

Details

Database :
OpenAIRE
Journal :
2016 IEEE 13th International Conference on e-Business Engineering (ICEBE)
Accession number :
edsair.doi...........a7326134cf2f42a95693fabd01818c38
Full Text :
https://doi.org/10.1109/icebe.2016.050