skip to main content
10.1145/2351676.2351717acmconferencesArticle/Chapter ViewAbstractPublication PagesaseConference Proceedingsconference-collections
Article

Using GUI ripping for automated testing of Android applications

Published:03 September 2012Publication History

ABSTRACT

We present AndroidRipper, an automated technique that tests Android apps via their Graphical User Interface (GUI). AndroidRipper is based on a user-interface driven ripper that automatically explores the app’s GUI with the aim of exercising the application in a structured manner. We evaluate AndroidRipper on an open-source Android app. Our results show that our GUI-based test cases are able to detect severe, previously unknown, faults in the underlying code, and the structured exploration outperforms a random approach.

References

  1. Domenico Amalfitano, Anna Rita Fasolino, and Porfirio Tramontana. 2008. Reverse Engineering Finite State Machines from Rich Internet Applications. In Proceedings of the 2008 15th Working Conference on Reverse Engineering (WCRE '08). IEEE Computer Society, USA, 69-73. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. D. Amalfitano, A. R. Fasolino and P. Tramontana, A GUI Crawling-Based Technique for Android Mobile Application Testing, Third International Workshop on TESTing Techniques & Experimentation Benchmarks for EventDriven Software, IEEE CS Press, pp. 252- 261. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Android Developers. The Developer’s Guide. http://developer.android.com/guide/, last accessed on February 29th, 2012Google ScholarGoogle Scholar
  4. Eric Chu. 2011. 10 Billion Android Market Downloads and Counting, http://androiddevelopers.blogspot.com/2011/12/10-billion-androidmarket-downloads-and.html last acc. on February 29th, 2012Google ScholarGoogle Scholar
  5. Fevzi Belli, Christof J. Budnik, and Lee White. 2006. Eventbased modelling, analysis and testing of user interactions: approach and case study: Research Articles. Softw. Test. Verif. Reliab. 16, 1 (March 2006), 3-32. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Tsong Yueh Chen, Fei-Ching Kuo, Robert G. Merkel, and T. H. Tse. 2010. Adaptive Random Testing: The ART of test case diversity. J. Syst. Softw. 83, 1 (January 2010), 60-66. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Cuixiong Hu and Iulian Neamtiu. 2011. Automating GUI testing for Android applications. In Proceedings of the 6th International Workshop on Automation of Software Test (AST '11). ACM, New York, NY, USA, 77-83. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Gartner. 2011 Gartner Says Sales of Mobile Devices Grew 5.6 Percent in Third Quarter of 2011;http://www.gartner.com /it/page.jsp?id=1848514 last acc. on February 29th, 2012Google ScholarGoogle Scholar
  9. Zhifang Liu, Xiaopeng Gao and Xiang Long. 2010. Adaptive Random Testing of Mobile Application. In Proceedings of the 2nd International Conference on Computer Engineering and Technology (ICCET ’10), IEEE Computer Society, Washington, DC, USA, 2, 297-301.Google ScholarGoogle Scholar
  10. Alessandro Marchetto, Paolo Tonella, and Filippo Ricca. 2008. State-Based Testing of Ajax Web Applications. In Proceedings of the 2008 International Conference on Software Testing, Verification, and Validation (ICST '08). IEEE Computer Society, Washington, DC, USA, 121-130. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Atif Memon, Ishan Banerjee, and Adithya Nagarajan. 2003. GUI Ripping: Reverse Engineering of Graphical User Interfaces for Testing. In Proceedings of the 10th Working Conference on Reverse Engineering (WCRE '03). IEEE Computer Society, Washington, DC, USA, 260-269. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Atif Memon and, Qing Xie. 2005. Studying the FaultDetection Effectiveness of GUI Test Cases for Rapidly Evolving Software. IEEE Trans. Softw. Eng. 31, 10, 884896. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Atif M. Memon. 2007. An event-flow model of GUI-based applications for testing: Research Articles. Softw. Test. Verif. Reliab. 17, 3 (September 2007), 137-157. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Android Developers, The Developer’s Guide. UI/Application Exerciser Monkey, http://developer.android.com/guide/developing/tools/monkey .html last accessed on February 29th, 2012Google ScholarGoogle Scholar
  15. Robotium. http://code.google.com/p/robotium/, last accessed on February 29th, 2012Google ScholarGoogle Scholar
  16. Tommi Takala, Mika Katara, and Julian Harty. 2011. Experiences of System-Level Model-Based GUI Testing of an Android Application. In Proceedings of the 2011 Fourth IEEE International Conference on Software Testing, Verification and Validation (ICST '11). IEEE Computer Society, Washington, DC, USA, 377-386. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. A.Wasserman, Software Engineering Issues for Mobile Application Development, Proc. of the FSE/SDP workshop on Future of software engineering research, FOSER 2010, IEEE Comp. Soc. Press, pp. 397- 400 Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Android GUI Ripper Wiki, available at: http://wpage.unina.it/ptramont/GUIRipperWiki.htm, last accessed on July 8th , 2012.Google ScholarGoogle Scholar

Index Terms

  1. Using GUI ripping for automated testing of Android applications

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      ASE '12: Proceedings of the 27th IEEE/ACM International Conference on Automated Software Engineering
      September 2012
      409 pages
      ISBN:9781450312042
      DOI:10.1145/2351676

      Copyright © 2012 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 3 September 2012

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      Overall Acceptance Rate82of337submissions,24%

      Upcoming Conference

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader