A Coverage Measurement Method For GUI Test Cases On Android Applications

被引:0
|
作者
MIRZA, Merve Melis [1 ]
SEN, Alper [1 ]
机构
[1] Bogazici Univ, Bilgisayar Muhendisligi Bolumu, Istanbul, Turkey
关键词
Mobile Application Testing; Graphical User Interface Testing; Test Coverage; Code Coverage; Banking Application Testing;
D O I
10.1109/UYMS54260.2021.9659789
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Coverage measurements are among the most effective methods for determining the extent and quality of the functional tests executed on a mobile application. Although code coverage metrics such as line and branch are provided by the Integrated Development Environments (IDE), there is not any tool that can calculate the coverages of Graphical User Interface (GUI) components. In this study, we are suggesting a coverage measurement method that is independent of the source code and can function just by using application's compiled artifact (APK), for activity, action and GUI components. With the tool we have developed based on this method, it is possible to run functional tests and to identify all the accessed activities, executed actions, defined for an activity, and GUI components, which were referenced with their ID's, to obtain related coverages. We have confirmed the validity of our coverage metrics by running the tool for the tests we have written for a large scale mobile banking application.
引用
收藏
页码:25 / 30
页数:6
相关论文
共 50 条
  • [1] Class Coverage GUI Testing for Android Applications
    Subramanian, Sathyanarayanan
    Singleton, Thomas
    El Ariss, Omar
    [J]. 2016 INTERNATIONAL CONFERENCE ON SYSTEM RELIABILITY AND SCIENCE (ICSRS 2016), 2016, : 84 - 89
  • [2] TestMig: Migrating GUI Test Cases from iOS to Android
    Qin, Xue
    Zhong, Hao
    Wang, Xiaoyin
    [J]. PROCEEDINGS OF THE 28TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS (ISSTA '19), 2019, : 284 - 295
  • [3] Automatic Android GUI Traversal with High Coverage
    Wang, Peng
    Liang, Bin
    You, Wei
    Li, Jingzhe
    Shi, Wenchang
    [J]. 2014 FOURTH INTERNATIONAL CONFERENCE ON COMMUNICATION SYSTEMS AND NETWORK TECHNOLOGIES (CSNT), 2014, : 1161 - 1166
  • [4] Repairing Obsolete GUI Test Scripts for Android Applications with Exploration and Backtracking
    Ji, Ruihua
    Qian, Zhengxuan
    Li, Zhong
    Zhu, Xiaoqing
    Pei, Yu
    Pan, Minxue
    Zhang, Tian
    [J]. PROCEEDINGS OF THE 15TH ASIA-PACIFIC SYMPOSIUM ON INTERNETWARE, INTERNETWARE 2024, 2024, : 51 - 60
  • [5] Android GUI Test Generation with SARSA
    Khan, Md Khorrom
    Bryce, Renee
    [J]. 2022 IEEE 12TH ANNUAL COMPUTING AND COMMUNICATION WORKSHOP AND CONFERENCE (CCWC), 2022, : 487 - 493
  • [6] A Toolset for GUI Testing of Android Applications
    Amalfitano, Domenico
    Fasolino, Anna Rita
    Tramontana, Porfirio
    De Carmine, Salvatore
    Imparato, Gennaro
    [J]. 2012 28TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2012, : 650 - 653
  • [7] Prioritizing Test Cases for Memory Leaks in Android Applications
    Ju Qian
    Di Zhou
    [J]. Journal of Computer Science and Technology, 2016, 31 : 869 - 882
  • [8] Prioritizing Test Cases for Memory Leaks in Android Applications
    Qian, Ju
    Zhou, Di
    [J]. JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2016, 31 (05) : 869 - 882
  • [9] Automated GUI Testing for Android News Applications
    Chu, Edward T. -H.
    Lin, Jun-Yan
    [J]. 2018 INTERNATIONAL SYMPOSIUM ON COMPUTER, CONSUMER AND CONTROL (IS3C 2018), 2018, : 14 - 17
  • [10] EHBDroid: Beyond GUI Testing for Android Applications
    Song, Wei
    Qian, Xiangxing
    Huang, Jeff
    [J]. PROCEEDINGS OF THE 2017 32ND IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE'17), 2017, : 27 - 37