• DocumentCode
    2578213
  • 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
  • fYear
    2012
  • fDate
    15-18 Oct. 2012
  • Firstpage
    318
  • Lastpage
    322
  • 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;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Reverse Engineering (WCRE), 2012 19th Working Conference on
  • Conference_Location
    Kingston, ON
  • ISSN
    1095-1350
  • Print_ISBN
    978-1-4673-4536-1
  • Type

    conf

  • DOI
    10.1109/WCRE.2012.41
  • Filename
    6385127