Back to Search
Start Over
WebRR: self-replay enhanced robust record/replay for web application testing
- 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.
- Subjects :
- Computer science
business.industry
Event (computing)
Real-time computing
020207 software engineering
02 engineering and technology
Web testing
Test case
Workflow
Robustness (computer science)
020204 information systems
0202 electrical engineering, electronic engineering, information engineering
Web application
business
Resilience (network)
Quality assurance
Subjects
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