Iterative Android automated testing

被引:5
|
作者
Zhong, Yi [1 ,2 ]
Shi, Mengyu [1 ]
Xu, Youran [1 ]
Fang, Chunrong [1 ]
Chen, Zhenyu [1 ]
机构
[1] Nanjing Univ, State Key Lab Novel Software Technol, Nanjing 210093, Peoples R China
[2] Chongqing Coll Mobile Commun, Sch Big Data & Comp Sci, Chongqing 400065, Peoples R China
基金
国家重点研发计划; 中国国家自然科学基金;
关键词
quality assurance; automated testing; UOP; test coverage;
D O I
10.1007/s11704-022-1658-8
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
With the benefits of reducing time and workforce, automated testing has been widely used for the quality assurance of mobile applications (APPs). Compared with automated testing, manual testing can achieve higher coverage in complex interactive Activities. And the effectiveness of manual testing is highly dependent on the user operation process (UOP) of experienced testers. Based on the UOP, we propose an iterative Android automated testing (IAAT) method that automatically records, extracts, and integrates UOPs to guide the test logic of the tool across the complex Activity iteratively. The feedback test results can train the UOPs to achieve higher coverage in each iteration. We extracted 50 UOPs and conducted experiments on 10 popular mobile APPs to demonstrate IAAT's effectiveness compared with Monkey and the initial automated tests. The experimental results show a noticeable improvement in the IAAT compared with the test logic without human knowledge. Under the 60 minutes test time, the average code coverage is improved by 13.98% to 37.83%, higher than the 27.48% of Monkey under the same conditions.
引用
收藏
页数:12
相关论文
共 50 条
  • [1] Iterative Android automated testing
    ZHONG Yi
    SHI Mengyu
    XU Youran
    FANG Chunrong
    CHEN Zhenyu
    Frontiers of Computer Science, 2023, 17 (05)
  • [2] Leveraging Android Automated Testing to Assist Crowdsourced Testing
    Ge, Xiuting
    Yu, Shengcheng
    Fang, Chunrong
    Zhu, Qi
    Zhao, Zhihong
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (04) : 2318 - 2336
  • [3] Automated GUI Testing for Android News Applications
    Chu, Edward T. -H.
    Lin, Jun-Yan
    2018 INTERNATIONAL SYMPOSIUM ON COMPUTER, CONSUMER AND CONTROL (IS3C 2018), 2018, : 14 - 17
  • [4] An Automated Testing Framework for Testing Android Mobile Applications in the Cloud
    Prathibhan, C. Mano
    Malini, A.
    Venkatesh, N.
    Sundarakantham, K.
    2014 INTERNATIONAL CONFERENCE ON ADVANCED COMMUNICATION CONTROL AND COMPUTING TECHNOLOGIES (ICACCCT), 2014, : 1216 - 1219
  • [5] An empirical analysis of android apps bug and automated testing approach for Android apps
    Bie Y.
    Bin S.
    Sun G.
    Zhou X.
    1600, Science and Engineering Research Support Society (11): : 1 - 10
  • [6] CrashScope: A Practical Tool for Automated Testing of Android Applications
    Moran, Kevin
    Linares-Vasquez, Mario
    Bernal-Cardenas, Carlos
    Vendome, Christopher
    Poshyvanyk, Denys
    PROCEEDINGS OF THE 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C 2017), 2017, : 15 - 18
  • [7] Automated testing environment and assessment of assignments for Android MOOC
    Madeja, Matej
    Poruban, Jaroslav
    OPEN COMPUTER SCIENCE, 2018, 8 (01): : 80 - 92
  • [8] Automated Testing of Android Apps: A Systematic Literature Review
    Kong, Pingfan
    Li, Li
    Gao, Jun
    Liu, Kui
    Bissyande, Tegawende F.
    Klein, Jacques
    IEEE TRANSACTIONS ON RELIABILITY, 2019, 68 (01) : 45 - 66
  • [9] Using GUI Ripping for Automated Testing of Android Applications
    Amalfitano, Domenico
    Rita Fasolino, Anna
    Tramontana, Porfirio
    De Carmine, Salvatore
    Memon, Atif M.
    2012 PROCEEDINGS OF THE 27TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2012, : 258 - 261
  • [10] Towards Comprehensive Evaluation for Android Automated Testing Tools
    Zhong Y.
    Shi M.-Y.
    Fang C.-R.
    Zhao Z.-H.
    Chen Z.-Y.
    Ruan Jian Xue Bao/Journal of Software, 2023, 34 (04): : 1630 - 1649