Automating Test Case Generation for Android Applications using Model-based Testing

被引:1
|
作者
Khan, Usman Habib
Khan, Muhammad Naeem Ahmed
Mirza, Aamir Mehmood [1 ]
Akram, Muhammad [1 ]
Fakhar, Shariqa [2 ]
Hussain, Shumaila [2 ]
Magsi, Irfan Ahmed [1 ]
Wagan, Raja Asif [1 ]
机构
[1] Balochistan Univ Informat Technol Engn & Manageme, Quetta, Pakistan
[2] Sardar Bahadur Khan Womens Univ, Quetta, Pakistan
关键词
Android app testing; Model-based testing; Functional testing; Smartphone app testing; Test case generation; TEST ORACLES; FRAMEWORK; CONTEXT;
D O I
10.24003/emitter.v10i1.628
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Testing of mobile applications (apps) has its quirks as numerous events are required to be tested. Mobile apps testing, being an evolving domain, carries certain challenges that should be accounted for in the overall testing process. Since smartphone apps are moderate in size so we consider that model-based testing (MBT) using state machines and statecharts could be a promising option for ensuring maximum coverage and completeness of test cases. Using model-based testing approach, we can automate the tedious phase of test case generation, which not only saves time of the overall testing process but also minimizes defects and ensures maximum test case coverage and completeness. In this paper, we explore and model the most critical modules of the mobile app for generating test cases to ascertain the efficiency and impact of using model-based testing. Test cases for the targeted model of the application under test were generated on a real device. The experimental results indicate that our framework reduced the time required to execute all the generated test cases by 50%. Experimental setup and results are reported herein.
引用
收藏
页码:63 / 82
页数:20
相关论文
共 50 条
  • [41] Guided, Stochastic Model-Based GUI Testing of Android Apps
    Su, Ting
    Meng, Guozhu
    Chen, Yuting
    Wu, Ke
    Yang, Weiming
    Yao, Yao
    Pu, Geguang
    Liu, Yang
    Su, Zhendong
    ESEC/FSE 2017: PROCEEDINGS OF THE 2017 11TH JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2017, : 245 - 256
  • [42] Large Language Model-based Test Case Generation for GP Agents
    Jorgensen, Steven
    Nadizar, Giorgia
    Pietropolli, Gloria
    Manzoni, Luca
    Medvet, Eric
    O'Reilly, Una-May
    Hemberg, Erik
    PROCEEDINGS OF THE 2024 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, GECCO 2024, 2024, : 914 - 923
  • [43] Threat Model-based Security Test Case Generation Framework and Tool
    Fu, Chang-Lan
    Zhang, He
    Li, Feng-Long
    Kuang, Hong-Yu
    Ruan Jian Xue Bao/Journal of Software, 2024, 35 (10): : 4573 - 4603
  • [44] Model-Based Test-Case Generation for Simulink/Stateflow using Dependency Graph Approach
    Sridhar, Adepu
    Srinivasulu, D.
    Mohapatra, Durga Prasad
    PROCEEDINGS OF THE 2013 3RD IEEE INTERNATIONAL ADVANCE COMPUTING CONFERENCE (IACC), 2013, : 1414 - 1419
  • [45] Domain Adaptation for Code Model-Based Unit Test Case Generation
    Shin, Jiho
    Hashtroudi, Sepehr
    Hemmati, Hadi
    Wang, Song
    PROCEEDINGS OF THE 33RD ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2024, 2024, : 1211 - 1222
  • [46] CrawlDroid: Effective Model-based GUI Testing of Android Apps
    Cao, Yuzhong
    Wu, Guoquan
    Chen, Wei
    Wei, Jun
    INTERNETWARE'18: PROCEEDINGS OF THE TENTH ASIA-PACIFIC SYMPOSIUM ON INTERNETWARE, 2018,
  • [47] Ant-colony optimization for automating test model generation in model transformation testing
    Karimi, Meysam
    Kolahdouz-Rahimi, Shekoufeh
    Troya, Javier
    JOURNAL OF SYSTEMS AND SOFTWARE, 2024, 208
  • [48] Model-based test case generation and prioritization: a systematic literature review
    Muhammad Luqman Mohd-Shafie
    Wan Mohd Nasir Wan Kadir
    Horst Lichter
    Muhammad Khatibsyarbini
    Mohd Adham Isa
    Software and Systems Modeling, 2022, 21 : 717 - 753
  • [49] Model-based test case generation and prioritization: a systematic literature review
    Mohd-Shafie, Muhammad Luqman
    Kadir, Wan Mohd Nasir Wan
    Lichter, Horst
    Khatibsyarbini, Muhammad
    Isa, Mohd Adham
    SOFTWARE AND SYSTEMS MODELING, 2022, 21 (02): : 717 - 753
  • [50] Model-Based Test Case Prioritization Using an Alternating Variable Method for Regression Testing of a UML-Based Model
    Shin, Ki-Wook
    Lim, Dong-Jin
    APPLIED SCIENCES-BASEL, 2020, 10 (21): : 1 - 23