Back to Search Start Over

WebRR: self-replay enhanced robust record/replay for web application testing

Authors :
Zhenyue Long
Jun Wei
Xiaojiang Chen
Guoquan Wu
Wei Chen
Source :
ESEC/SIGSOFT FSE
Publication Year :
2020
Publisher :
ACM, 2020.

Abstract

Record-and-replay tools are important for quality assurance of Web applications by capturing user case scenarios and executing them automatically when needed. However, the tests generated by existing techniques are brittle, and often lead to test breakages as the dynamic behavior and frequent updates of modern Web applications. In this paper, we propose WebRR, a self-replay enhanced robust record-and-replay technique for Web applications testing. The novelty of WebRR is that, it introduces a new self-replay mechanism in the recording phase, which checks the captured event from the record module online, and generates multiple locators (including DOM locators, visual locator and proximity locators) automatically, to improve the robustness of generated test cases. During the replay, it combines multiple locators and new local workflow repair technique to repair test breakages, and can improve the resilience of generated tests to frequent updates of the applications. We applied our approach to 3 enterprise Web applications, which are deployed in a large power grid company of China. The experimental results show that WebRR is effective, and substantially improve the robustness of end-to-end web tests that are generated using record-and-replay technique.

Details

Database :
OpenAIRE
Journal :
Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering
Accession number :
edsair.doi...........50f2759579ad1453dc1370a8988917ec