DinoDroid: Testing Android Apps Using Deep Q-Networks

10/12/2022
by   Yu Zhao, et al.
0

The large demand of mobile devices creates significant concerns about the quality of mobile applications (apps). Developers need to guarantee the quality of mobile apps before it is released to the market. There have been many approaches using different strategies to test the GUI of mobile apps. However, they still need improvement due to their limited effectiveness. In this paper, we propose DinoDroid, an approach based on deep Q-networks to automate testing of Android apps. DinoDroid learns a behavior model from a set of existing apps and the learned model can be used to explore and generate tests for new apps. DinoDroid is able to capture the fine-grained details of GUI events (e.g., the content of GUI widgets) and use them as features that are fed into deep neural network, which acts as the agent to guide app exploration. DinoDroid automatically adapts the learned model during the exploration without the need of any modeling strategies or pre-defined rules. We conduct experiments on 64 open-source Android apps. The results showed that DinoDroid outperforms existing Android testing tools in terms of code coverage and bug detection.

READ FULL TEXT

page 2

page 6

page 11

research
02/12/2021

Speculating Ineffective UI Exploration via Trace Analysis

With the prosperity of mobile apps, quality assurance of mobile apps bec...
research
02/17/2023

Columbus: Android App Testing Through Systematic Callback Exploration

With the continuous rise in the popularity of Android mobile devices, au...
research
02/01/2019

AMOGA: A Static-Dynamic Model Generation Strategy for Mobile Apps Testing

In the past few years, mobile devices have been increasingly replacing t...
research
08/22/2023

Multi-Objective Improvement of Android Applications

Non-functional properties, such as runtime or memory use, are important ...
research
08/20/2023

Scene-Driven Exploration and GUI Modeling for Android Apps

Due to the competitive environment, mobile apps are usually produced und...
research
05/21/2020

Concurrency-related Flaky Test Detection in Android apps

Validation of Android apps via testing is difficult owing to the presenc...
research
06/05/2019

Adroitness: An Android-based Middleware for Fast Development of High-performance Apps

As smartphones become increasingly more powerful, a new generation of hi...

Please sign up or login with your details

Forgot password? Click here to reset