Sara: self-replay augmented record and replay for Android in industrial cases

Jiaqi Guo, Shuyue Li, Jian-Guang Lou, Zijiang Yang, Ting Liu
2019 Proceedings of the 28th ACM SIGSOFT International Symposium on Software Testing and Analysis - ISSTA 2019  
Record-and-replay tools are indispensable for quality assurance of mobile applications. Due to its importance, an increasing number of tools are being developed to record and replay user interactions for Android. However, by conducting an empirical study of various existing tools in industrial settings, researchers have revealed a gap between the characteristics requested from industry and the performance of publicly available record-and-replay tools. The study concludes that no existing tools
more » ... nder evaluation are sufficient for industrial applications. In this paper, we present a record-andreplay tool called SARA towards bridging the gap and targeting a wide adoption. Specifically, a dynamic instrumentation technique is used to accommodate rich sources of inputs in the application layer satisfying various constraints requested from industry. A selfreplay mechanism is proposed to record more information of user inputs for accurate replaying without degrading user experience. In addition, an adaptive replay method is designed to enable replaying events on different devices with diverse screen sizes and OS versions. Through an evaluation on 53 highly popular industrial Android applications and 265 common usage scenarios, we demonstrate the effectiveness of SARA in recording and replaying rich sources of inputs on the same or different devices. CCS CONCEPTS • Software and its engineering → Software notations and tools; Software maintenance tools. KEYWORDS Android, Testing, Record-and-Replay * We would like to thank the anonymous reviewers for their helpful comments. Ting Liu is the corresponding author. † Work done during an internship at Microsoft Research Asia.
doi:10.1145/3293882.3330557 dblp:conf/issta/GuoLLYL19 fatcat:6qgdijeykzgahoenb3ziousboq