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 条
  • [1] GUI and Usage Model-Based Test Case Generation for Android Applications with Change Analysis
    San Miguel, Jose Lorenzo
    Takada, Shingo
    MOBILE!'16: PROCEEDINGS OF THE 1ST INTERNATIONAL WORKSHOP ON MOBILE DEVELOPMENT, 2016, : 43 - 44
  • [2] Automating Functional Test Design with Model-Based Testing
    Schulz, Stephan
    SAE INTERNATIONAL JOURNAL OF PASSENGER CARS-ELECTRONIC AND ELECTRICAL SYSTEMS, 2012, 5 (01): : 27 - 33
  • [3] EFSM Model-Based Testing for Android Applications
    Wang, Weiwei
    Guo, Junxia
    Li, Beite
    Shang, Ying
    Zhao, Ruilian
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2024, 34 (04) : 597 - 621
  • [4] Model-Based Test Case Generation for Web Applications
    Nabuco, Miguel
    Paiva, Ana C. R.
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS, PART VI - ICCSA 2014, 2014, 8584 : 248 - 262
  • [5] A Survey on Model-Based Testing Tools for Test Case Generation
    Li, Wenbin
    Le Gall, Franck
    Spaseski, Naum
    TOOLS AND METHODS OF PROGRAM ANALYSIS, 2018, 779 : 77 - 89
  • [6] Optimization of Model based Functional Test Case Generation for Android Applications
    Mateen, Ahmed
    Abbas, Khizar
    2017 IEEE INTERNATIONAL CONFERENCE ON POWER, CONTROL, SIGNALS AND INSTRUMENTATION ENGINEERING (ICPCSI), 2017, : 90 - 95
  • [7] Model-based testing, test case prioritization and testing of virtual reality applications
    Le Traon, Yves
    Xie, Tao
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2023, 33 (08):
  • [8] Model-based automatic test case generation for automotive embedded software testing
    Shin, Ki-Wook
    Lim, Dong-Jin
    INTERNATIONAL JOURNAL OF AUTOMOTIVE TECHNOLOGY, 2018, 19 (01) : 107 - 119
  • [9] Combining Model-Based and Risk-Based Testing for Effective Test Case Generation
    Gebizli, Ceren Sahin
    Metin, Duygu
    Sozer, Hasan
    2015 IEEE EIGHTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2015,
  • [10] Model-based automatic test case generation for automotive embedded software testing
    Ki-Wook Shin
    Dong-Jin Lim
    International Journal of Automotive Technology, 2018, 19 : 107 - 119