Automated GUI Testing for Android News Applications

被引:2
|
作者
Chu, Edward T. -H. [1 ]
Lin, Jun-Yan [1 ]
机构
[1] Natl Yunlin Univ Sci & Technol, Dept Elect & Comp Sci Informat Engn, Touliu, Taiwan
关键词
GUI testing tools; test case generator; test oracle; Android phone;
D O I
10.1109/IS3C.2018.00013
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Automated GUI (graphical user interface) testing tools have been used to help engineers test whether the software GUI is displayed correctly in different smartphones. However, due to different screen aspect ratios, the ratio of width to height, the same content of a mobile application (app) may have a different layout in different smartphones. As a result, the test oracle generated by traditional methods may not be reused for different smartphones and thus prolong the testing process. In this paper, we present a GUI testing tool, named FLAG (Fully Automatic mobile GUI testing), which aims to make the test oracle reusable without compromising test accuracy. In addition, the whole testing process, including generating test cases, simulating user gestures and verifying results, is automatically performed by FLAG without human interaction. News applications have been selected for our study not only because they are popular, but also because they support most commonly-used user gestures, such as tap, scroll, spread and pinch. In our experiment, we selected five commercial Android phones and one popular news apps to evaluate the effectiveness of the FLAG. Our experiment results show that the FLAG performs better than existing methods and can achieve an average accuracy of 95.20% in determining whether a test has passed or failed.
引用
收藏
页码:14 / 17
页数:4
相关论文
共 50 条
  • [1] Using GUI Ripping for Automated Testing of Android Applications
    Amalfitano, Domenico
    Rita Fasolino, Anna
    Tramontana, Porfirio
    De Carmine, Salvatore
    Memon, Atif M.
    [J]. 2012 PROCEEDINGS OF THE 27TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2012, : 258 - 261
  • [2] 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
  • [3] 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
  • [4] A Technique for Parallel GUI Testing of Android Applications
    Tramontana, Porfirio
    Amatucci, Nicola
    Fasolino, Anna Rita
    [J]. TESTING SOFTWARE AND SYSTEMS, ICTSS 2020, 2020, 12543 : 169 - 185
  • [5] 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
  • [6] Reducing Combinatorics in GUI Testing of Android Applications
    Mirzaei, Nariman
    Garcia, Joshua
    Bagheri, Hamid
    Sadeghi, Alireza
    Malek, Sam
    [J]. 2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2016, : 559 - 570
  • [7] Automated GUI Testing of Android Apps: From Research to Practice
    Moran, Kevin
    Linares-Vasquez, Mario
    Poshyvanyk, Denys
    [J]. PROCEEDINGS OF THE 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C 2017), 2017, : 505 - 506
  • [8] Automated GUI Testing of Android Apps: From Research to Practice
    Moran, Kevin
    Linares-Vasquez, Mario
    Poshyvanyk, Denys
    [J]. 32ND IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2016), 2016, : 648 - 648
  • [9] PATS: A Parallel GUI Testing Framework for Android Applications
    Wen, Hsiang-Lin
    Lin, Chia-Hui
    Hsieh, Tzong-Han
    Yang, Cheng-Zen
    [J]. 39TH ANNUAL IEEE COMPUTERS, SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC 2015), VOL 2, 2015, : 210 - 215
  • [10] Automated testing of SAS® system GUI applications
    Chisholm, L
    [J]. PROCEEDINGS OF THE TWENTY-SECOND ANNUAL SAS USERS GROUP INTERNATIONAL CONFERENCE, 1997, : 48 - 52