Enhancing GUI Exploration Coverage of Android Apps with Deep Link-Integrated Monkey

Author:

Hu Han1ORCID,Wang Han1ORCID,Dong Ruiqi2ORCID,Chen Xiao3ORCID,Chen Chunyang4ORCID

Affiliation:

1. Faculty of Information Technology, Monash University, Clayton, Australia

2. Swinburne University of Technology Faculty of Science Engineering and Technology, Hawthorn, Australia

3. The University of Newcastle, Callaghan, Australia

4. Technical University of Munich, Munchen, Germany

Abstract

Mobile apps are ubiquitous in our daily lives for supporting different tasks such as reading and chatting. Despite the availability of many GUI testing tools, app testers still struggle with low testing code coverage due to tools frequently getting stuck in loops or overlooking activities with concealed entries. This results in a significant amount of testing time being spent on redundant and repetitive exploration of a few GUI pages. To address this, we utilize Android’s deep links, which assist in triggering Android intents to lead users to specific pages and introduce a deep link-enhanced exploration method. This approach, integrated into the testing tool Monkey, gives rise to Delm (Deep Link-enhanced Monkey). Delm oversees the dynamic exploration process, guiding the tool out of meaningless testing loops to unexplored GUI pages. We provide a rigorous activity context mock-up approach for triggering existing Android intents to discover more activities with hidden entrances. We conduct experiments to evaluate Delm’s effectiveness on activity context mock-up, activity coverage, method coverage, and crash detection. The findings reveal that Delm can mock up more complex activity contexts and significantly outperform state-of-the-art baselines with 27.2% activity coverage, 21.13% method coverage, and 23.81% crash detection.

Publisher

Association for Computing Machinery (ACM)

Reference82 articles.

1. Lazaro Clapp et al. 2016. ELLA. Retrieved from https://github.com/saswatanand/ella

2. Alltrails;Alltrails;Retrieved from https://play.google.com/store/apps/details?id=com.alltrails.alltrails&hl=en_US&gl=US

3. Android 10;Google LLC;Retrieved from https://developer.android.com/about/versions/10/highlights

4. Android Adb;Google LLC;Retrieved from https://developer.android.com/studio/command-line/adb

5. Android Bundle;Google LLC;Retrieved from https://developer.android.com/reference/android/os/Bundle?hl=en

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3