An oracle based on image comparison for regression testing of web applications

Akihiro Hori, Shingo Takada, Haruto Tanno, Morihide Oinuma

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

5 Citations (Scopus)

Abstract

Much work has been done on automating regression testing for Web applications, but most of them focus on test data generation or test execution. Little work has been done on automatically determining if a test passed or failed; testers would need to visually confirm the result which can be a tedious task. The difficulty is compounded by the fact that parts of a Web page (such as advertisements) may change each time the Web application is executed even though it has no bearing on the Web application function itself. We thus propose a test oracle for automatically determining the result of regression testing a Web application. The key point of our approach is the identification of parts that may change, which we call variable region. We first generate the expected result, by executing the original (premodification) Web application multiple times so that variable regions can be identified. Then, after the Web application is modified, regression testing is conducted by comparing the output of the modified Web application against the expected output. An evaluation confirmed the usefulness of our approach.

Original languageEnglish
Title of host publicationProceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE
PublisherKnowledge Systems Institute Graduate School
Pages639-645
Number of pages7
Volume2015-January
ISBN (Print)1891706373
DOIs
Publication statusPublished - 2015
Event27th International Conference on Software Engineering and Knowledge Engineering, SEKE 2015 - Pittsburgh, United States
Duration: 2015 Jul 62015 Jul 8

Other

Other27th International Conference on Software Engineering and Knowledge Engineering, SEKE 2015
CountryUnited States
CityPittsburgh
Period15/7/615/7/8

Keywords

  • Image comparison
  • Regression test
  • Web application testing

ASJC Scopus subject areas

  • Software

Fingerprint Dive into the research topics of 'An oracle based on image comparison for regression testing of web applications'. Together they form a unique fingerprint.

Cite this