ReAjax: a reverse engineering tool for Ajax Web applications
- 10 February 2012
- journal article
- Published by Institution of Engineering and Technology (IET) in IET Software
- Vol. 6 (1) , 33-49
Abstract
In contrast to conventional multi-page Web applications, an Ajax application is often developed as a single-page application in which content and structure are changed at runtime according to user interactions, asynchronous messages received from the server and the current state of the application. These features make Ajax applications quite hard to understand for programmers. The authors propose to support Ajax comprehension through reverse engineering. In this study, the authors propose a reverse-engineering tool, ReAjax, to build GUI-based state models from Ajax applications. ReAjax applies dynamic analysis and uses execution traces to generate a finite state machine of the target application GUI. They show that GUI-based state models obtained semi-automatically are similar to those obtained manually and they can be used for program understanding purposes. Finally, the authors summarise a case study and some usage scenarios in which ReAjax has been applied to five real Ajax applications with the purpose of evaluating its viability and effectiveness in recovering models.Keywords
This publication has 7 references indexed in Scilit:
- Techniques and tools for Rich Internet Applications testing2010
- An Iterative Approach for the Reverse Engineering of Rich Internet Application User Interfaces2010
- An event‐flow model of GUI‐based applications for testingSoftware Testing, Verification and Reliability, 2007
- Testing Web applications by modeling with FSMsSoftware and Systems Modeling, 2005
- Leveraging user-session data to support Web application testingIEEE Transactions on Software Engineering, 2005
- Analysis and testing of Web applications2001
- Introduction2000