QBE: QLearning-Based Exploration of Android Applications

Yavuz Koroglu, Alper Sen, Ozlem Muslu, Yunus Mete, Ceyda Ulker, Tolga Tanriverdi, Yunus Donmez

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

98 Citations (Scopus)

Abstract

Android applications are used extensively around the world. Many of these applications contain potential crashes. Black-box testing of Android applications has been studied over the last decade to detect these crashes. In this paper, we propose QLearning-Based Exploration (QBE), a fully automated black-box testing methodology, which explores GUI actions using a well-known reinforcement learning technique called QLearning. QBE performs automata learning to obtain a model of the AUT, and generates replayable test suites. Specifically, QBE learns from a set of existing applications the kinds of actions that are most useful in order to reach a particular objective such as detecting crashes or increasing activity coverage. To the best of our knowledge, ours is the first machine learning based approach in Android GUI Testing. We conduct experiments on a test set of 100 AUTs obtained from the commonly used F-Droid benchmarks to show the effectiveness of QBE. We show that QBE performs better than all compared black-box tools in terms of activity coverage and number of distinct detected crashes. We make QBE and our experimental data available online.

Original languageEnglish
Title of host publicationProceedings - 2018 IEEE 11th International Conference on Software Testing, Verification and Validation, ICST 2018
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages105-115
Number of pages11
ISBN (Electronic)9781538650127
DOIs
Publication statusPublished - 25 May 2018
Externally publishedYes
Event11th IEEE International Conference on Software Testing, Verification and Validation, ICST 2018 - Vasteras, Sweden
Duration: 9 Apr 201813 Apr 2018

Publication series

NameProceedings - 2018 IEEE 11th International Conference on Software Testing, Verification and Validation, ICST 2018

Conference

Conference11th IEEE International Conference on Software Testing, Verification and Validation, ICST 2018
Country/TerritorySweden
CityVasteras
Period9/04/1813/04/18

Bibliographical note

Publisher Copyright:
© 2018 IEEE.

Keywords

  • Android
  • Automata Learning
  • Reinforcement Learning
  • Test Generation

Fingerprint

Dive into the research topics of 'QBE: QLearning-Based Exploration of Android Applications'. Together they form a unique fingerprint.

Cite this