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.
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- Android Developers. The Developer’s Guide. http://developer.android.com/guide/, last accessed on February 29th, 2012Google Scholar
- 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 Scholar
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- 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 Scholar
- 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 Scholar
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- 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 Scholar
- Robotium. http://code.google.com/p/robotium/, last accessed on February 29th, 2012Google Scholar
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- Android GUI Ripper Wiki, available at: http://wpage.unina.it/ptramont/GUIRipperWiki.htm, last accessed on July 8th , 2012.Google Scholar
Index Terms
- Using GUI ripping for automated testing of Android applications
Recommendations
Automated model-based Android GUI testing using multi-level GUI comparison criteria
ASE '16: Proceedings of the 31st IEEE/ACM International Conference on Automated Software EngineeringAutomated Graphical User Interface (GUI) testing is one of the most widely used techniques to detect faults in mobile applications (apps) and to test functionality and usability. GUI testing exercises behaviors of an application under test (AUT) by ...
Sapienz: multi-objective automated testing for Android applications
ISSTA 2016: Proceedings of the 25th International Symposium on Software Testing and AnalysisWe introduce Sapienz, an approach to Android testing that uses multi-objective search-based testing to automatically explore and optimise test sequences, minimising length, while simultaneously maximising coverage and fault revelation. Sapienz combines ...
A combined technique of GUI ripping and input perturbation testing for Android apps
ICSE '15: Proceedings of the 37th International Conference on Software Engineering - Volume 2Mobile applications have become an integral part of the daily lives of millions of users, thus making necessary to ensure their security and reliability. Moreover the increasing number of mobile applications with rich Graphical User Interfaces (GUI) ...
Comments