Title :
Automated Acceptance Testing of JavaScript Web Applications
Author :
Negara, Natalia ; Stroulia, Eleni
Author_Institution :
Dept. of Comput. Sci., Univ. of Alberta, Edmonton, AB, Canada
Abstract :
Acceptance testing is an important part of software development and it is performed to ensure that a system delivers its required functionalities. Today, most modern interactive web applications are designed using Web 2.0 technologies, many among them relying on JavaScript. JavaScript enables the development of client-side functionality through the dynamic modification of the web-page´s content and structure without calls to the server. This implies that server-side testing frameworks will necessarily fail to test the complete application behaviors. In this paper we present a method for automated acceptance testing of JavaScript web applications to ensure that required functionalities have been implemented. Using an intuitive, human-readable scripting language our method allows users to describe user stories in high level declarative test scripts and to then execute these test scripts on a web application using an automated website crawler. We also describe a case study that evaluates our approach in terms of capabilities to translate user stories in automated acceptance test scripts.
Keywords :
Java; Web services; Web sites; authoring languages; client-server systems; content management; program testing; software development management; JavaScript Web application; Web 2.0; Web page content; automated Website crawler; automated acceptance testing; client-side functionality development; human readable scripting language; server side testing; software development; Browsers; HTML; Java; Testing; USA Councils; User interfaces; Web pages; Acceptance testing; Ajax; Automated Testing; Crawling; JavaScript; User Story; Web testing;
Conference_Titel :
Reverse Engineering (WCRE), 2012 19th Working Conference on
Conference_Location :
Kingston, ON
Print_ISBN :
978-1-4673-4536-1
DOI :
10.1109/WCRE.2012.41