EMITTER International Journal of Engineering Technology
Vol 10 No 1 (2022)

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

Usman Habib Khan (Independent Researcher, Pakistan)
Muhammad Naeem Ahmed Khan (Independent Research Scholar, Pakistan)
Aamir Mehmood Mirza (Faculty of Information and Communication Technology, Balochistan University of Information Technology, Engineering and Management Sciences, Quetta, Pakistan)
MUHAMMAD AKRAM (Faculty of Information and Communication Technology, Balochistan University of Information Technology, Engineering and Management Sciences, Quetta, Pakistan)
Shariqa Fakhar (Lecturer Sardar Bahadur Khan Women's University, Pakistan)
Shumaila Hussain (Assistant Professor Sardar Bahadur Khan Women's University, Pakistan)
Irfan Ahmed Magsi (Faculty of Information and Communication Technology, Balochistan University of Information Technology, Engineering and Management Sciences, Quetta, Pakistan)
Raja Asif Wagan (Faculty of Information and Communication Technology, Balochistan University of Information Technology, Engineering and Management Sciences, Quetta, Pakistan)



Article Info

Publish Date
26 Apr 2022

Abstract

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.

Copyrights © 2022






Journal Info

Abbrev

EMITTER

Publisher

Subject

Computer Science & IT

Description

EMITTER International Journal of Engineering Technology is a BI-ANNUAL journal published by Politeknik Elektronika Negeri Surabaya (PENS). It aims to encourage initiatives, to share new ideas, and to publish high-quality articles in the field of engineering technology and available to everybody at ...