Abstract
Automated testing of Android applications is always a challenging task. Deep reinforcement learning can continuously optimize the current exploration strategy through the interaction with the application under test and can explore application states that are difficult to reach in the testing process. However, existing state-of-the-art deep reinforcement learning techniques rely on coarse GUI state definitions, which make them hard to explore interesting application states even with the guidance of reward function. In this work, we propose OAT, an optimized automated testing tool for Android applications based on deep reinforcement learning. OAT is designed with a pair of fine-grained state representation and reward function to provide more effective reward incentives for reinforcement learning. OAT also adopts the Monte Carlo Tree Search (MCTS) strategy to more effectively explore promising GUI states. Our experimental evaluation shows that OAT is more effective than the state-of-the-art Android application testing techniques in terms of both code coverage and fault detection. © 2023, The Author(s), under exclusive license to Springer Nature Switzerland AG.
| Original language | English |
|---|---|
| Title of host publication | Theoretical Aspects of Software Engineering - 17th International Symposium, TASE 2023, Proceedings |
| Editors | Cristina David, Meng Sun |
| Publisher | Springer, Cham |
| Pages | 38-58 |
| ISBN (Electronic) | 9783031352577 |
| ISBN (Print) | 9783031352560 |
| DOIs | |
| Publication status | Published - 2023 |
| Event | 17th International Symposium on Theoretical Aspects of Software Engineering (TASE 2023) - Bristol, United Kingdom Duration: 4 Jul 2023 → 6 Jul 2023 https://plrg-bristol.github.io/tase2023/index.html |
Publication series
| Name | Lecture Notes in Computer Science |
|---|---|
| Volume | 13931 |
| ISSN (Print) | 0302-9743 |
| ISSN (Electronic) | 1611-3349 |
Conference
| Conference | 17th International Symposium on Theoretical Aspects of Software Engineering (TASE 2023) |
|---|---|
| Place | United Kingdom |
| City | Bristol |
| Period | 4/07/23 → 6/07/23 |
| Internet address |
Research Keywords
- Android Testing
- Deep reinforcement learning
- Reward function