Incremental web application testing using page object

Bing Yu, Lei Ma, Cheng Zhang

Research output: Chapter in Book/Report/Conference proceedingConference contribution

6 Citations (Scopus)

Abstract

Software testing is indispensable to assure software quality. Traditional software testing techniques are insufficient for modern web applications due to their unique characteristics, such as highly dynamic generation of web pages and interactions with DOM elements. Meanwhile, existing web testing techniques are cumbersome to use in long-term maintenance and evolution because the tests are often brittle in the presence of fast changes to web pages. In this paper, we propose an automatic test generation technique for dynamic web applications. Our technique effectively decouples test code from web pages by automatically generating page objects. Based on page objects, our technique performs iterative feedback directed random test generation. Our evaluation on seven real-world web applications demonstrates that the proposed technique achieves reasonable code coverage (from 23.3% to 90.8%) and can effectively explore dynamically generated web pages (around 14.7 times more than the original static web pages), revealing hundreds of HTML issues and five real errors in the applications.

Original languageEnglish
Title of host publicationProceedings - 3rd Workshop on Hot Topics in Web Systems and Technologies, HotWeb 2015
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages1-6
Number of pages6
ISBN (Electronic)9781467396882
DOIs
Publication statusPublished - Jan 4 2016
Externally publishedYes
Event3rd Workshop on Hot Topics in Web Systems and Technologies, HotWeb 2015 - Washington, United States
Duration: Nov 12 2015Nov 13 2015

Publication series

NameProceedings - 3rd Workshop on Hot Topics in Web Systems and Technologies, HotWeb 2015

Conference

Conference3rd Workshop on Hot Topics in Web Systems and Technologies, HotWeb 2015
CountryUnited States
CityWashington
Period11/12/1511/13/15

All Science Journal Classification (ASJC) codes

  • Computer Networks and Communications
  • Computer Science Applications

Fingerprint Dive into the research topics of 'Incremental web application testing using page object'. Together they form a unique fingerprint.

  • Cite this

    Yu, B., Ma, L., & Zhang, C. (2016). Incremental web application testing using page object. In Proceedings - 3rd Workshop on Hot Topics in Web Systems and Technologies, HotWeb 2015 (pp. 1-6). [7372274] (Proceedings - 3rd Workshop on Hot Topics in Web Systems and Technologies, HotWeb 2015). Institute of Electrical and Electronics Engineers Inc.. https://doi.org/10.1109/HotWeb.2015.14