|国家预印本平台
首页|Can You Mimic Me? Exploring the Use of Android Record & Replay Tools in Debugging

Can You Mimic Me? Exploring the Use of Android Record & Replay Tools in Debugging

Can You Mimic Me? Exploring the Use of Android Record & Replay Tools in Debugging

来源:Arxiv_logoArxiv
英文摘要

Android User Interface (UI) testing is a critical research area due to the ubiquity of apps and the challenges faced by developers. Record and replay (R&R) tools facilitate manual and automated UI testing by recording UI actions to execute test scenarios and replay bugs. These tools typically support (i) regression testing, (ii) non-crashing functional bug reproduction, and (iii) crashing bug reproduction. However, prior work only examines these tools in fragmented settings, lacking a comprehensive evaluation across common use cases. We address this gap by conducting an empirical study on using R&R tools to record and replay non-crashing failures, crashing bugs, and feature-based user scenarios, and explore combining R&R with automated input generation (AIG) tools to replay crashing bugs. Our study involves one industrial and three academic R&R tools, 34 scenarios from 17 apps, 90 non-crashing failures from 42 apps, and 31 crashing bugs from 17 apps. Results show that 17% of scenarios, 38% of non-crashing bugs, and 44% of crashing bugs cannot be reliably recorded and replayed, mainly due to action interval resolution, API incompatibility, and Android tooling limitations. Our findings highlight key future research directions to enhance the practical application of R&R tools.

Zihe Song、S M Hasan Mansur、Ravishka Rathnasuriya、Yumna Fatima、Wei Yang、Kevin Moran、Wing Lam

计算技术、计算机技术

Zihe Song,S M Hasan Mansur,Ravishka Rathnasuriya,Yumna Fatima,Wei Yang,Kevin Moran,Wing Lam.Can You Mimic Me? Exploring the Use of Android Record & Replay Tools in Debugging[EB/OL].(2025-04-28)[2025-06-14].https://arxiv.org/abs/2504.20237.点此复制

评论