Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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 2012 Publication 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.
[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.
[3]
Android Developers. The Developer’s Guide. http://developer.android.com/guide/, last accessed on February 29th, 2012
[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, 2012
[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.
[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.
[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.
[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, 2012
[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.
[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.
[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.
[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.
[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.
[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, 2012
[15]
Robotium. http://code.google.com/p/robotium/, last accessed on February 29th, 2012
[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.
[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
[18]
Android GUI Ripper Wiki, available at: http://wpage.unina.it/ptramont/GUIRipperWiki.htm, last accessed on July 8th, 2012.

Cited By

View all
  • (2024)Navigating Mobile Testing Evaluation: A Comprehensive Statistical Analysis of Android GUI Testing MetricsProceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering10.1145/3691620.3695476(944-956)Online publication date: 27-Oct-2024
  • (2024)Model-based GUI Testing For HarmonyOS AppsProceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering10.1145/3691620.3695364(2411-2414)Online publication date: 27-Oct-2024
  • (2024)Effective, Platform-Independent GUI Testing via Image Embedding and Reinforcement LearningACM Transactions on Software Engineering and Methodology10.1145/367472833:7(1-27)Online publication date: 21-Jun-2024
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

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
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]

Sponsors

In-Cooperation

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 03 September 2012

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Android
  2. Testing Automation
  3. Testing Tools

Qualifiers

  • Article

Conference

ASE'12
Sponsor:

Acceptance Rates

Overall Acceptance Rate 82 of 337 submissions, 24%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)64
  • Downloads (Last 6 weeks)7
Reflects downloads up to 03 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2024)Navigating Mobile Testing Evaluation: A Comprehensive Statistical Analysis of Android GUI Testing MetricsProceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering10.1145/3691620.3695476(944-956)Online publication date: 27-Oct-2024
  • (2024)Model-based GUI Testing For HarmonyOS AppsProceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering10.1145/3691620.3695364(2411-2414)Online publication date: 27-Oct-2024
  • (2024)Effective, Platform-Independent GUI Testing via Image Embedding and Reinforcement LearningACM Transactions on Software Engineering and Methodology10.1145/367472833:7(1-27)Online publication date: 21-Jun-2024
  • (2024)DinoDroid: Testing Android Apps Using Deep Q-NetworksACM Transactions on Software Engineering and Methodology10.1145/365215033:5(1-24)Online publication date: 4-Jun-2024
  • (2024)GuiEvo: Automated Evolution of Mobile App UIsProceedings of the 21st International Conference on Mining Software Repositories10.1145/3643991.3644936(335-347)Online publication date: 15-Apr-2024
  • (2024)MUD: Towards a Large-Scale and Noise-Filtered UI Dataset for Modern Style UI ModelingProceedings of the 2024 CHI Conference on Human Factors in Computing Systems10.1145/3613904.3642350(1-14)Online publication date: 11-May-2024
  • (2024)Practical Non-Intrusive GUI Exploration Testing with Visual-based Robotic ArmsProceedings of the IEEE/ACM 46th International Conference on Software Engineering10.1145/3597503.3639161(1-13)Online publication date: 20-May-2024
  • (2024)Robotic Process Automation Efficiency for Mobile App Testing: An Empirical InvestigationInternational Journal of Software Engineering and Knowledge Engineering10.1142/S021819402450011634:07(1025-1046)Online publication date: 14-May-2024
  • (2024)PADRAIG: Precise Android Automated Input Generation2024 IEEE 24th International Conference on Software Quality, Reliability and Security (QRS)10.1109/QRS62785.2024.00017(72-83)Online publication date: 1-Jul-2024
  • (2024)A Fast Crash Reproduction Method for Android Applications Based on Widget Hierarchy GraphsIEEE Internet of Things Journal10.1109/JIOT.2024.335720911:8(13217-13230)Online publication date: 15-Apr-2024
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media