Mobolic: An automated approach to exercising mobile application GUIs using symbiosis of online testing technique and customated input generation |
| |
Authors: | Yauhen Leanidavich Arnatovich Lipo Wang Ngoc Minh Ngo Charlie Soh |
| |
Affiliation: | 1. School of Electrical and Electronic Engineering, Nanyang Technological University, Singapore;2. Global Outreach and Extended Education, Arizona State University, Ho Chi Minh City, Vietnam |
| |
Abstract: | The increasingly prevalent use of mobile devices has raised the popularity of mobile applications. Therefore, automated testing of mobile applications has become an extremely important task. However, it is still a challenge to automatically generate tests with high coverage for mobile applications due to their specific nontrivial structure and the highly interactive nature of graphical user interfaces (GUIs). In this paper, we propose a novel automated GUI testing technique for mobile applications, namely, Mobolic. In this approach, tests with high coverage are automatically generated and executed by combining the online testing technique and customated input generation. Employing the online testing technique, Mobolic systematically explores the app GUI without falling in a loop. It generates relevant events “on the fly” that are followed by an immediate execution. In addition, involving the customated input generation, Mobolic automatically generates relevant user inputs such as user‐predefined, concrete, or random ones. We implemented Mobolic and evaluated its performance on 10 real‐world open‐source Android applications. Our experimental results show the effectiveness and efficiency of Mobolic in terms of achieved code coverage and overall exercising time. |
| |
Keywords: | event‐driven FSM model‐based testing model checking symbolic execution systematic GUI exploration textual input generation |
|
|