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 条
  • [1] Better Android Apps using Android Vitals
    Harty, Julian
    Mueller, Matthias
    [J]. PROCEEDINGS OF THE 3RD ACM SIGSOFT INTERNATIONAL WORKSHOP ON APP MARKET ANALYTICS (WAMA '19), 2019, : 26 - 32
  • [2] AUTOMATICLLY LEARNING FEATURES OF ANDROID APPS USING CNN
    Ding, Yu-Xin
    Zhao, Wei-Guo
    Wang, Zhi-Pan
    Wang, Long-Fei
    [J]. PROCEEDINGS OF 2018 INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND CYBERNETICS (ICMLC), VOL 1, 2018, : 331 - 336
  • [3] Raising the Motivation for Learning Programming by Using Android Apps
    Bitterlich, Peter
    Blankenbach, Karlheinz
    [J]. 2013 INTERNATIONAL CONFERENCE ON ADVANCED EDUCATION TECHNOLOGY AND MANAGEMENT SCIENCE (AETMS), 2013, : 382 - 389
  • [4] Malware Detection in Android Apps Using Static Analysis
    Paul, Nishtha
    Bhatt, Arpita Jadhav
    Rizvi, Sakeena
    Shubhangi
    [J]. Journal of Cases on Information Technology, 2021, 24 (03)
  • [5] Identifying Compatibility-Related APIs by Exploring Biased Distribution in Android Apps
    Xu, Chen
    Xiong, Yan
    Huang, Wenchao
    Meng, Zhaoyi
    Miao, Fuyou
    Su, Cheng
    Mo, Guangshuai
    [J]. 2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2020), 2020, : 280 - 281
  • [6] Exploring the Development of Micro-Apps: A Case Study on the BlackBerry and Android Platforms
    Syer, Mark D.
    Adams, Bram
    Zou, Ying
    Hassan, Ahmed E.
    [J]. 11TH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM 2011), 2011, : 55 - 64
  • [7] An empirical analysis of android apps bug and automated testing approach for Android apps
    [J]. 1600, Science and Engineering Research Support Society (11):
  • [8] Identifying malicious Android apps using permissions and system events
    Han, Hongmu
    Li, Ruixuan
    Gu, Xiwu
    [J]. INTERNATIONAL JOURNAL OF EMBEDDED SYSTEMS, 2016, 8 (01) : 46 - 58
  • [9] Locating Available Car Parking Bays Using Android Apps
    David, D. Beulah
    Dorairangaswamy, M. A.
    [J]. 2016 SECOND INTERNATIONAL CONFERENCE ON SCIENCE TECHNOLOGY ENGINEERING AND MANAGEMENT (ICONSTEM), 2016, : 157 - 163
  • [10] Detecting Malicious Android Apps using the Popularity and Relations of APIs
    Jung, Jaemin
    Lim, Kyeonghwan
    Kim, Byoungchul
    Cho, Seong-je
    Han, Sangchul
    Suh, Kyoungwon
    [J]. 2019 IEEE SECOND INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND KNOWLEDGE ENGINEERING (AIKE), 2019, : 309 - 312