arrow
Return

Practical, Automated Scenario-Based Mobile App Testing

delete2024-07-01
delete0
delete
OA
AI
S
Shengcheng Yu
房
房春荣 (Chunrong Fang) *
M
Mingzhe Du
Z
Zimin Ding
陈
陈振宇 (Zhenyu Chen)
Zhendong Su cover
Zhendong Su (Zhendong Su)
DOI:10.1109/TSE.2024.3414672delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
The importance of mobile application (app) quality assurance is increasing with the rapid development of the mobile Internet. Automated test generation approaches, as a dominant direction of app quality assurance, follow specific models or strategies, targeting at optimizing the code coverage. Such approaches lead to a huge gap between testing execution and app business logic. Test scripts developed by human testers consider business logic by focusing on testing scenarios. Due to the GUI-intensive feature of mobile apps, human testers always understand app GUI to organize test scripts for scenarios. This inspires us to utilize domain knowledge from app GUI understanding for scenario-based test generation. In this paper, we propose a novel approach, ScenTest, for scenario-based mobile app testing with event knowledge graph (EKG) via GUI image understanding. ScenTest tries to start automated testing by imitating human practices and integrating domain knowledge into scenario-based mobile app testing, realizing fully automated testing on target testing scenarios for the first time. ScenTest extracts four kinds of entities and five kinds of corresponding relationships from crowdsourced test reports, where the test events and app GUI information are presented, and constructs the EKGs for specific scenarios. Then, ScenTest conducts test generation for specific scenarios on different apps with the guidance of EKG with the combination consideration of app current state and testing context. We conduct an evaluation on ScenTest on different aspects. The results show that the test generation of ScenTest on the basis of EKG is effective, and ScenTest reveals 150+ distinct real-world bugs in specific scenarios compared with representative baselines.
Keywords:
Mobile app testing
scenario-based testing
image understanding
event knowledge graph
Mobile app testing
scenario-based testing
image understanding
event knowledge graph

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
2.9K
Citations:
1.1W

Organization

S
swiss federal institutes of technology domain
Scholars:
9.0W
Papers: 8.0W
Citations: 163
N
nanjing university
Scholars:
7.8W
Papers: 5.6W
Citations: 87
Cited Papers

Cited Papers

Abnormal expression of insulin-like growth factor-I receptor in hepatoma tissue and its inhibition to promote apoptosis of tumor cells
err2013-06-25
err0
PREAI
errZhizhen Dong; Min Yao; Li Wang; Xiaodi Yan; Xing Gu; Yun Shi; Ninghua Yao; Liwei Qiu; Wei Wu; Dengfu Yao
errShare
errSave
Complex relationship between sex hormones, insulin resistance and leptin in men with and without prostatic disease
err2015-11-02
err0
errOAAI
errHalina Grosman; Bibiana Fabre; Miguel Lopez; Carlos Scorticati; Maximiliano Lopez Silva; Viviana Mesch; Osvaldo Mazza; Gabriela Berg
errShare
errSave
Paravesical Granuloma after Inguinal Herniorrhaphy
err1999-11-12
err0
PREAI
errHideaki Kise; Takuji Shibahara; Norio Hayashi; Kiminobu Arima; Makoto Yanagawa; Juichi Kawamura
errShare
errSave
GUI-Guided Test Script Repair for Mobile Apps
err2020-01-01
err24
errOAAI
errPan, Minxue; Xu, Tongtong; Pei, Yu; Li, Zhong; Zhang, Tian; Li, Xuandong
errShare
errSave
Transformation algorithm and analysis of the Fourier transform spectrometer based on cascaded Fabry–Perot interferometers
err2018-08-27
err0
PREAI
errIslam Samir El-Sayed; Yasser M. Sabry; Walid ElSayd ElZeiny; Niveen Badra; Diaa A. Khalil
errShare
errSave
Cross-sectional imaging in ureter tumors: Findings and staging accuracy of various modalities
err2001-05-01
err0
PREAI
errÇetin Atasoy; Cemil Yağci; Suat Fitoz; Tanzer Sancak; Gülden Akyar; Serdar Akyar
errShare
errSave
errShare
errSave
researcher View more