一句话:提出 SARA,结合动态插桩、自回放录制与自适应回放,实现工业级 Android 应用录制回放。
移动应用质量保证高度依赖录制回放工具,但已有实证研究表明,公开工具的能力与工业界需求之间存在明显差距,难以满足工业应用的要求。本文提出录制回放工具 SARA,旨在弥合这一差距并推动广泛采用。SARA 采用动态插桩技术,在应用层采集丰富的输入源,以满足工业界的多种约束;提出自回放(self-replay)机制,在不降低用户体验的前提下记录更多用户输入信息,从而支持精确回放;并设计自适应回放方法,使事件能够在屏幕尺寸和操作系统版本各异的设备上回放。作者在 53 个高人气工业 Android 应用和 265 个常见使用场景上进行了评估,验证了 SARA 在同一设备或不同设备上录制与回放丰富输入源的有效性。
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 under evaluation are sufficient for industrial applications. In this paper, we present a record-and-replay 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 self-replay 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.
DOI 原文 ·
@inproceedings{paperbot5353,
title = {Sara: self-replay augmented record and replay for Android in industrial cases},
author = {Jiaqi Guo and Shuyue Li and Jian-Guang Lou and Zijiang Yang and Ting Liu},
booktitle = {ISSTA},
year = {2019},
doi = {10.1145/3293882.3330557}
}