Exploring Android Apps Using Motif Actions

被引:0
|
作者
Auer, Michael [1 ]
Fraser, Gordon [1 ]
机构
[1] Univ Passau, Passau, Germany
关键词
Test Generation; Android;
D O I
10.1109/ASEW60602.2023.00023
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Automated Android testing approaches often fail to interact properly with complex UIs consisting of multiple related elements. For instance, to trigger a state transition in a form-based UI, one has to first fill out all input fields and then click on the submit button, but test generators would usually interact with the fields and button in arbitrary order, struggling to trigger the corresponding state transition, and resulting in overall lower code coverage. One way to overcome this problem is to define motif actions, which allow test generators to interact not just with individual UI elements, but with combinations of UI elements related through common patterns of interaction sequences. We designed 12 such motif actions for common scenarios and integrated them into the Android test generation tool MATE. Our experiments demonstrate that these motif actions are applicable to a wide range of apps (86.5% out of a sample of 551 apps). Motif actions are particularly useful on complex apps, where our experiments on 109 such apps demonstrate an average increase of 2.19% activity coverage and 2% line coverage.
引用
收藏
页码:135 / 142
页数:8
相关论文
共 50 条
  • [41] ANDROID APPS FOR EDUCATION: AN INTERNATIONAL COLLABORATION
    Scott, Kirk
    Sengsri, Supanee
    Tyson, Ringo
    Gonzales, Brent
    Sanchindapong, Phuttaporn
    Prompraphai, Pichaya
    Tengkew, Supasit
    [J]. INTED2015: 9TH INTERNATIONAL TECHNOLOGY, EDUCATION AND DEVELOPMENT CONFERENCE, 2015, : 707 - 717
  • [42] Automated Feature Identification for Android Apps
    Scoccia, Gian Luca
    [J]. SOFTWARE ENGINEERING AND FORMAL METHODS, SEFM 2019, 2020, 12226 : 77 - 84
  • [43] How Privacy Invasive Android Apps are?
    Kesswani, Nishtha
    Lin, Frank
    [J]. PROCEEDINGS OF THE 10TH INDIACOM - 2016 3RD INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT, 2016, : 3731 - 3734
  • [44] Android apps to aid wildlife research
    Herlekar, Ipsita
    Prakash, Megha
    [J]. CURRENT SCIENCE, 2014, 107 (05): : 735 - 737
  • [45] Forensic taxonomy of android productivity apps
    Abdullah Azfar
    Kim-Kwang Raymond Choo
    Lin Liu
    [J]. Multimedia Tools and Applications, 2017, 76 : 3313 - 3341
  • [46] Are apps ready for new Android releases?
    Guilardi, Demetrio
    Nicacio, Jalves
    Napoleao, Bianca M.
    Petrillo, Fabio
    [J]. 2020 IEEE/ACM 7TH INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS, MOBILESOFT, 2020, : 66 - 76
  • [47] Estimate Method Calls in Android Apps
    Francese, Rita
    Gravino, Carmine
    Risi, Michele
    Tortora, Genoveffa
    Scanniello, Giuseppe
    [J]. 2016 IEEE/ACM INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS (MOBILESOFT 2016), 2016, : 13 - 14
  • [48] MobiCoMonkey - Context Testing of Android Apps
    Ami, Amit Seal
    Hasan, Md. Mehedi
    Rahman, Md. Rayhanur
    Sakib, Kazi
    [J]. 2018 IEEE/ACM 5TH INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS (MOBILESOFT), 2018, : 76 - 79
  • [49] Forensic taxonomy of android productivity apps
    Azfar, Abdullah
    Choo, Kim-Kwang Raymond
    Liu, Lin
    [J]. MULTIMEDIA TOOLS AND APPLICATIONS, 2017, 76 (03) : 3313 - 3341
  • [50] On Identifying and Explaining Similarities in Android Apps
    Li Li
    Tegawendé F. Bissyandé
    Hao-Yu Wang
    Jacques Klein
    [J]. Journal of Computer Science and Technology, 2019, 34 : 437 - 455