期刊名称:International Journal of Advanced Research In Computer Science and Software Engineering
印刷版ISSN:2277-6451
电子版ISSN:2277-128X
出版年度:2013
卷号:3
期号:10
出版社:S.S. Mishra
摘要:AJAX applications are well known for making errors due to their state fullness, asynchronous, event -built nature, the use of loosely typed, the client-side changes of the browser's Document-Object Model (DOM), and the use of delta communication between client and web server Unfortunately, static code analysis techniques are not able to reveal many of the dynamic dependencies present in today's web applications. To that end, we propose an implementation named ATUSA in which we automatically derive a model of the user interface states of an AJAX application by "crawling" the AJAX application code to identify key events and components. In order to recognize logical failures in these executions, we propose the use of invariants obtained from the crawling process and for handling structural failures we propose to implement Metamorphic Relations based oracle. The results highlight the efficiency of the proposed approach in terms of fault -finding ability, a bility to be changing in size, to increases the level of automation, and the usefulness of invariants and metamorphic relations
关键词:Ajax; DOM; JavaScript; web-server; Automated Testing; Web testing techniques