Widget-Sensitive and Back-Stack-Aware GUI Exploration for Testing Android Apps
Jiwei Yan, Tianyong Wu, Jun Yan et al. · IEEE International Conference on Software Quality, Reliability and Security (QRS) · 2017
GUI exploration is a widely adopted technique to test GUI programs, which traverses the elements of screens during the user interaction and simultaneously constructs the GUI model to describe window transitions. Specific to Android apps, an elaborate GUI model should take Android characteristics into consideration. We propose a GUI exploration approach that dynamically acquires the information of these characteristics, such as the status of widgets and arrangement of the back stack. We attach this information to the window transition graph and form a new model called LATTE (LAbeled Transition graph with sTack and widgEt). To balance the accuracy and size of model, we introduce a metric "state similarity" to merge similar states. We perform experiments on 20 real-world apps to test them and construct their LATTE models. The investigation indicates that our systematic exploration approach with regard to the Android characteristics covers more program behaviors, and the generated model can be reused to direct the further testing.
Cited by 17 works. doi:10.1109/qrs.2017.14
Authors
References
- FlowDroid
- Dynodroid: an input generation system for Android apps
- Using GUI ripping for automated testing of Android applications
- Automating GUI testing for Android applications
- Automated concolic testing of smartphone apps
- IccTA: Detecting Inter-Component Privacy Leaks in Android Apps
- Targeted and depth-first exploration for systematic testing of android apps
- Automated Test Input Generation for Android: Are We There Yet? (E)
- Guided GUI testing of android apps with minimal restart and approximate learning
- A Grey-Box Approach for Automated GUI-Model Generation of Mobile Applications