Image-Based Approach to Determining Regression Test Results of Dynamic Web Applications

Akihiro Hori, Shingo Takada, Toshiyuki Kurabayashi, Haruto Tanno

Research output: Contribution to journalArticle

Abstract

Much work has been done on automating regression testing for applications. But most of them focus on test execution. Little work has been done on automatically determining if a test case passes or fails. This decision is often made by comparing the results of executing test cases on a base version of the application and post-modification version of the application. If the two results match, the test case passes, otherwise fails. However, to the best of our knowledge, there is no regression testing method for automatically deciding pass/fail of dynamic Web applications which use JavaScript or CSS. We propose a method that automatically decides if a dynamic Web application passes a regression test case. The basic idea is to obtain a screenshot each time the GUI of the Web application (i.e. Web page) changes its state, and then compare each corresponding screenshot to see if they match. The evaluation results showed that the accuracy rate of our approach is high and our approach can be considered as fast enough for practical use.

Original languageEnglish
Pages (from-to)1001-1025
Number of pages25
JournalInternational Journal of Software Engineering and Knowledge Engineering
Volume28
Issue number7
DOIs
Publication statusPublished - 2018 Jul 1

    Fingerprint

Keywords

  • CSS
  • JavaScript
  • regression test
  • Web application testing

ASJC Scopus subject areas

  • Software
  • Computer Networks and Communications
  • Computer Graphics and Computer-Aided Design
  • Artificial Intelligence

Cite this