A Grey-Box Approach for Automated GUI-Model Generation of Mobile Applications

  • Wei Yang
  • Mukul R. Prasad
  • Tao Xie
Conference paper

DOI: 10.1007/978-3-642-37057-1_19

Volume 7793 of the book series Lecture Notes in Computer Science (LNCS)
Cite this paper as:
Yang W., Prasad M.R., Xie T. (2013) A Grey-Box Approach for Automated GUI-Model Generation of Mobile Applications. In: Cortellessa V., Varró D. (eds) Fundamental Approaches to Software Engineering. FASE 2013. Lecture Notes in Computer Science, vol 7793. Springer, Berlin, Heidelberg

Abstract

As the mobile platform continues to pervade all aspects of human activity, and mobile applications, or mobile apps for short, on this platform tend to be faulty just like other types of software, there is a growing need for automated testing techniques for mobile apps. Modelbased testing is a popular and important testing approach that operates on a model of an app’s behavior. However, such a model is often not available or of insufficient quality. To address this issue, we present a novel grey-box approach for automatically extracting a model of a given mobile app. In our approach, static analysis extracts the set of events supported by the Graphical User Interface (GUI) of the app. Then dynamic crawling reverse-engineers a model of the app, by systematically exercising these events on the running app. We also present a tool implementing this approach for the Android platform. Our empirical evaluation of this tool on several Android apps demonstrates that it can efficiently extract compact yet reasonably comprehensive models of high quality for such apps.

Download to read the full conference paper text

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  • Wei Yang
    • 1
    • 2
  • Mukul R. Prasad
    • 1
  • Tao Xie
    • 2
  1. 1.Fujitsu Labs. of AmericaSoftware Systems Innovation GroupSunnyvaleUSA
  2. 2.Department of Computer ScienceNorth Carolina State UniversityRaleighUSA