Incremental web application testing using page object

Bing Yu, Lei Ma, Cheng Zhang

研究成果: Chapter in Book/Report/Conference proceedingConference contribution

6 引用 (Scopus)

抜粋

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.

元の言語英語
ホスト出版物のタイトルProceedings - 3rd Workshop on Hot Topics in Web Systems and Technologies, HotWeb 2015
出版者Institute of Electrical and Electronics Engineers Inc.
ページ1-6
ページ数6
ISBN(電子版)9781467396882
DOI
出版物ステータス出版済み - 1 4 2016
外部発表Yes
イベント3rd Workshop on Hot Topics in Web Systems and Technologies, HotWeb 2015 - Washington, 米国
継続期間: 11 12 201511 13 2015

出版物シリーズ

名前Proceedings - 3rd Workshop on Hot Topics in Web Systems and Technologies, HotWeb 2015

会議

会議3rd Workshop on Hot Topics in Web Systems and Technologies, HotWeb 2015
米国
Washington
期間11/12/1511/13/15

All Science Journal Classification (ASJC) codes

  • Computer Networks and Communications
  • Computer Science Applications

フィンガープリント Incremental web application testing using page object' の研究トピックを掘り下げます。これらはともに一意のフィンガープリントを構成します。

  • これを引用

    Yu, B., Ma, L., & Zhang, C. (2016). Incremental web application testing using page object. : 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