Automating GUI testing for Android applications
Cuixiong Hu, Iulian Neamtiu · International Workshop on Automation of Software Test (AST) · 2011
Users increasingly rely on mobile applications for computational needs. Google Android is a popular mobile platform, hence the reliability of Android applications is becoming increasingly important. Many Android correctness issues, however, fall outside the scope of traditional verification techniques, as they are due to the novelty of the platform and its GUI-oriented application construction paradigm. In this paper we present an approach for automating the testing process for Android applications, with a focus on GUI bugs. We first conduct a bug mining study to understand the nature and frequency of bugs affecting Android applications; our study finds that GUI bugs are quite numerous. Next, we present techniques for detecting GUI bugs by automatic generation of test cases, feeding the application random events, instrumenting the VM, producing log/trace files and analyzing them post-run. We show how these techniques helped to re-discover existing bugs and find new bugs, and how they could be used to prevent certain bug categories. We believe our study and techniques have the potential to help developers increase the quality of Android applications.
Cited by 308 works. doi:10.1145/1982595.1982612
Authors
References
- TaintDroid: an information-flow tracking system for realtime privacy monitoring on smartphones
- Understanding Android Security
- Semantically Rich Application-Centric Security in Android
- RacerX
- Language-based security on Android
- RacerX
- Generating Event Sequence-Based Test Cases Using GUI Runtime State Feedback
- Characterizing Failures in Mobile OSes: A Case Study with Android and Symbian
- Model-Based Testing Through a GUI
- Studying the Characteristics of a "Good" GUI Test Suite