z-logo
open-access-imgOpen Access
Automating Test Case Generation for Android Applications using Model-based Testing
Author(s) -
Usman Habib Khan,
Muhammad Naeem Khan,
Aamir Mehmood Mirza,
Muhammad Akram,
Shariqa Fakhar,
Shumaila Hussain,
Irfan Ahmed Magsi,
Raja Asif Wagan
Publication year - 2022
Publication title -
emitter international journal of engineering technology
Language(s) - English
Resource type - Journals
eISSN - 2443-1168
pISSN - 2355-391X
DOI - 10.24003/emitter.v10i1.628
Subject(s) - android (operating system) , computer science , model based testing , manual testing , white box testing , test case , code coverage , process (computing) , keyword driven testing , non regression testing , test management approach , embedded system , reliability engineering , operating system , software , machine learning , engineering , software development , software construction , regression analysis
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.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here