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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Song, Zihe, Mansur, S M Hasan, Rathnasuriya, Ravishka, Fatima, Yumna, Yang, Wei, Moran, Kevin, Lam, Wing
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908342765486080
author Song, Zihe
Mansur, S M Hasan
Rathnasuriya, Ravishka
Fatima, Yumna
Yang, Wei
Moran, Kevin
Lam, Wing
author_facet Song, Zihe
Mansur, S M Hasan
Rathnasuriya, Ravishka
Fatima, Yumna
Yang, Wei
Moran, Kevin
Lam, Wing
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2504_20237
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Can You Mimic Me? Exploring the Use of Android Record & Replay Tools in Debugging
Song, Zihe
Mansur, S M Hasan
Rathnasuriya, Ravishka
Fatima, Yumna
Yang, Wei
Moran, Kevin
Lam, Wing
Software Engineering
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.
title Can You Mimic Me? Exploring the Use of Android Record & Replay Tools in Debugging
topic Software Engineering
url https://arxiv.org/abs/2504.20237