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

4 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

Fingerprint

Testing
Bearings (structural)
Websites

Keywords

  • Image comparison
  • Regression test
  • Web application testing

ASJC Scopus subject areas

  • Software

Cite this

Hori, A., Takada, S., Tanno, H., & Oinuma, M. (2015). An oracle based on image comparison for regression testing of web applications. In Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE (Vol. 2015-January, pp. 639-645). Knowledge Systems Institute Graduate School. https://doi.org/10.18293/SEKE2015-017

An oracle based on image comparison for regression testing of web applications. / Hori, Akihiro; Takada, Shingo; Tanno, Haruto; Oinuma, Morihide.

Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE. Vol. 2015-January Knowledge Systems Institute Graduate School, 2015. p. 639-645.

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

Hori, A, Takada, S, Tanno, H & Oinuma, M 2015, An oracle based on image comparison for regression testing of web applications. in Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE. vol. 2015-January, Knowledge Systems Institute Graduate School, pp. 639-645, 27th International Conference on Software Engineering and Knowledge Engineering, SEKE 2015, Pittsburgh, United States, 15/7/6. https://doi.org/10.18293/SEKE2015-017
Hori A, Takada S, Tanno H, Oinuma M. An oracle based on image comparison for regression testing of web applications. In Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE. Vol. 2015-January. Knowledge Systems Institute Graduate School. 2015. p. 639-645 https://doi.org/10.18293/SEKE2015-017
Hori, Akihiro ; Takada, Shingo ; Tanno, Haruto ; Oinuma, Morihide. / An oracle based on image comparison for regression testing of web applications. Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE. Vol. 2015-January Knowledge Systems Institute Graduate School, 2015. pp. 639-645
@inproceedings{9e775ed634f94a988cd4259d7d8566de,
title = "An oracle based on image comparison for regression testing of web applications",
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.",
keywords = "Image comparison, Regression test, Web application testing",
author = "Akihiro Hori and Shingo Takada and Haruto Tanno and Morihide Oinuma",
year = "2015",
doi = "10.18293/SEKE2015-017",
language = "English",
isbn = "1891706373",
volume = "2015-January",
pages = "639--645",
booktitle = "Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE",
publisher = "Knowledge Systems Institute Graduate School",

}

TY - GEN

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

AU - Hori, Akihiro

AU - Takada, Shingo

AU - Tanno, Haruto

AU - Oinuma, Morihide

PY - 2015

Y1 - 2015

N2 - 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.

AB - 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.

KW - Image comparison

KW - Regression test

KW - Web application testing

UR - http://www.scopus.com/inward/record.url?scp=84969753333&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=84969753333&partnerID=8YFLogxK

U2 - 10.18293/SEKE2015-017

DO - 10.18293/SEKE2015-017

M3 - Conference contribution

AN - SCOPUS:84969753333

SN - 1891706373

VL - 2015-January

SP - 639

EP - 645

BT - Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE

PB - Knowledge Systems Institute Graduate School

ER -