DroidbotX: Test Case Generation Tool for Android Applications Using Q-Learning

Yasin, Husam N. and Ab Hamid, Siti Hafizah and Raja Yusof, Raja Jamilah (2021) DroidbotX: Test Case Generation Tool for Android Applications Using Q-Learning. Symmetry, 13 (2). p. 310. ISSN 2073-8994

Full text not available from this repository.
Official URL: https://doi.org/10.3390/sym13020310

Abstract

Android applications provide benefits to mobile phone users by offering operative func-tionalities and interactive user interfaces. However, application crashes give users an unsatisfac-tory experience, and negatively impact the application’s overall rating. Android application crashes can be avoided through intensive and extensive testing. In the related literature, the graphical user interface (GUI) test generation tools focus on generating tests and exploring application functions using different approaches. Such tools must choose not only which user interface element to interact with, but also which type of action to be performed, in order to increase the percentage of code coverage and to detect faults with a limited time budget. However, a common limitation in the tools is the low code coverage because of their inability to find the right combination of actions that can drive the application into new and important states. A Q-Learning-based test coverage approach developed in DroidbotX was proposed to generate GUI test cases for Android applications to maximize instruction coverage, method coverage, and activity coverage. The overall performance of the proposed solution was compared to five state-of-the-art test generation tools on 30 Android applications. The DroidbotX test coverage approach achieved 51.5% accuracy for instruction coverage, 57% for method coverage, and 86.5% for activity coverage. It triggered 18 crashes within the time limit and shortest event sequence length compared to the other tools. The results demonstrated that the adaptation of Q-Learning with upper confidence bound (UCB) exploration outperforms other existing state-of-the-art solutions. © 2021 by the authors. Licensee MDPI, Basel, Switzerland.

Item Type: Article
Uncontrolled Keywords: android; GUI Testing; test case generation; reinforcement learning; Q-learning
Subjects: Q Science > QA Mathematics > QA75 Electronic computers. Computer science
Divisions: Faculty of Computer Science & Information Technology
Depositing User: Ms. Juhaida Abd Rahim
Date Deposited: 30 Apr 2021 00:49
Last Modified: 30 Apr 2021 00:49
URI: http://eprints.um.edu.my/id/eprint/25905

Actions (login required)

View Item View Item