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 language | English |
|---|---|
| Title of host publication | Proceedings - 2018 IEEE 11th International Conference on Software Testing, Verification and Validation, ICST 2018 |
| Publisher | Institute of Electrical and Electronics Engineers Inc. |
| Pages | 105-115 |
| Number of pages | 11 |
| ISBN (Electronic) | 9781538650127 |
| DOIs | |
| Publication status | Published - 25 May 2018 |
| Externally published | Yes |
| Event | 11th IEEE International Conference on Software Testing, Verification and Validation, ICST 2018 - Vasteras, Sweden Duration: 9 Apr 2018 → 13 Apr 2018 |
Publication series
| Name | Proceedings - 2018 IEEE 11th International Conference on Software Testing, Verification and Validation, ICST 2018 |
|---|
Conference
| Conference | 11th IEEE International Conference on Software Testing, Verification and Validation, ICST 2018 |
|---|---|
| Country/Territory | Sweden |
| City | Vasteras |
| Period | 9/04/18 → 13/04/18 |
Bibliographical note
Publisher Copyright:© 2018 IEEE.
Keywords
- Android
- Automata Learning
- Reinforcement Learning
- Test Generation