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 language | English |
---|---|
Pages (from-to) | 1001-1025 |
Number of pages | 25 |
Journal | International Journal of Software Engineering and Knowledge Engineering |
Volume | 28 |
Issue number | 7 |
DOIs | |
Publication status | Published - 2018 Jul 1 |
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