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
N1 - Copyright:
Copyright 2017 Elsevier B.V., All rights reserved.
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
T3 - Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE
SP - 639
EP - 645
BT - Proceedings - SEKE 2015
PB - Knowledge Systems Institute Graduate School
T2 - 27th International Conference on Software Engineering and Knowledge Engineering, SEKE 2015
Y2 - 6 July 2015 through 8 July 2015
ER -