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 条
  • [31] Model-Based Testing of Networked Applications
    Li, Yishuai
    Pierce, Benjamin C.
    Zdancewic, Steve
    ISSTA '21: PROCEEDINGS OF THE 30TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2021, : 529 - 539
  • [32] A Model Based Approach to Test Case Generation for Testing the Navigation Behavior of Dynamic Web Applications
    Bansal, Priti
    Sabharwal, Sangeeta
    2013 SIXTH INTERNATIONAL CONFERENCE ON CONTEMPORARY COMPUTING (IC3), 2013, : 213 - 218
  • [33] Model-based testing for Web applications
    Miao H.-K.
    Chen S.-B.
    Zeng H.-W.
    Jisuanji Xuebao/Chinese Journal of Computers, 2011, 34 (06): : 1012 - 1028
  • [34] DroidbotX: Test Case Generation Tool for Android Applications Using Q-Learning
    Yasin, Husam N.
    Ab Hamid, Siti Hafizah
    Raja Yusof, Raja Jamilah
    SYMMETRY-BASEL, 2021, 13 (02): : 1 - 30
  • [35] Model-Based Test Oracle Generation for Automated Unit Testing of Agent Systems
    Padgham, Lin
    Zhang, Zhiyong
    Thangarajah, John
    Miller, Tim
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2013, 39 (09) : 1230 - 1244
  • [36] Achieving Scalable Model-Based Testing Through Test Case Diversity
    Hemmati, Hadi
    Arcuri, Andrea
    Briand, Lionel
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2013, 22 (01)
  • [37] Test case prioritization techniques for model-based testing: a replicated study
    João Felipe S. Ouriques
    Emanuela G. Cartaxo
    Patrícia D. L. Machado
    Software Quality Journal, 2018, 26 : 1451 - 1482
  • [38] Reducing the Cost of Model-Based Testing through Test Case Diversity
    Hemmati, Hadi
    Arcuri, Andrea
    Briand, Lionel
    TESTING SOFTWARE AND SYSTEMS, 2010, 6435 : 63 - 78
  • [39] Test case prioritization techniques for model-based testing: a replicated study
    Ouriques, Joao Felipe S.
    Cartaxo, Emanuela G.
    Machado, Patricia D. L.
    SOFTWARE QUALITY JOURNAL, 2018, 26 (04) : 1451 - 1482
  • [40] Agent-based tool for model-based test case generation and execution
    Ramirez-Mendez, Jose
    Quesada-Lopez, Christian
    Jenkins, Marcelo
    V JORNADAS COSTARRICENSES DE INVESTIGACION EN COMPUTACION E INFORMATICA (JOCICI 2021), 2021,