skip to main content
10.1145/2628363.2628391acmconferencesArticle/Chapter ViewAbstractPublication PagesmobilehciConference Proceedingsconference-collections
research-article

Automating UI tests for mobile applications with formal gesture descriptions

Published:23 September 2014Publication History

ABSTRACT

Touch- and gesture-based interfaces are common in applications for mobile devices. By evolving into mass market products, smartphones and tablets created an increased need for specialized software engineering methods. To ensure high quality applications, constant and efficient testing is crucial in software development. However, testing mobile applications is still cumbersome, time-consuming and error-prone. One reason is the devices' focus on touch-based interaction - gestures cannot be easily incorporated into automated application tests. We present an extension to the popular Calabash testing framework solving this problem by allowing to describe gestures with a formal language in tests scripts.

References

  1. Amalfitano, D., Fasolino, A. R., Tramontana, P., De Carmine, S., and Memon, A. M. Using GUI Ripping for Automated Testing of Android Applications. In Proceedings of the 27th IEEE/ACM International Conference on Automated Software Engineering, ASE 2012, ACM (New York, NY, USA, 2012), 258--261. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Android Developer Network. Android GestureLibraries. http://developer.android.com/reference/android/gesture/GestureLibraries.html {accessed 2014-02-15}.Google ScholarGoogle Scholar
  3. Anthony, L., Vatavu, R.-D., and Wobbrock, J. O. Understanding the Consistency of Users' Pen and Finger Stroke Gesture Articulation. In Proceedings of Graphics Interface 2013, GI '13, Canadian Information Processing Society (Toronto, Ont., Canada, Canada, 2013), 87--94. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Anthony, L., and Wobbrock, J. O. A Lightweight Multistroke Recognizer for User Interface Prototypes. In Proceedings of Graphics Interface 2010, GI '10, Canadian Information Processing Society (Toronto, Ont., Canada, Canada, 2010), 245--252. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Bo, J., Xiang, L., and Xiaopeng, G. MobileTest: A Tool Supporting Automatic Black Box Test for Software on Smart Mobile Devices. In AST '07: Proceedings of the Second International Workshop on Automation of Software Test, IEEE Computer Society (Washington, DC, USA, 2007), 8. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Choi, W., Necula, G., and Sen, K. Guided GUI Testing of Android Apps with Minimal Restart and Approximate Learning. In Proceedings of the 2013 ACM SIGPLAN International Conference on Object Oriented Programming Systems Languages & Applications, OOPSLA '13, ACM (New York, NY, USA, 2013), 623--640. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Echtler, F., and Butz, A. GISpL: Gestures Made Easy. In Proceedings of the Sixth International Conference on Tangible, Embedded and Embodied Interaction, TEI '12, 233--240. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Galbally, J., Plamondon, R., Fierrez, J., and Ortega-Garcia, J. Synthetic On-Line Signature Generation. Part I: Methodology and Algorithms. Pattern Recognition 45, 7 (2012), 2610--2621. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Haller, K. Mobile Testing. SIGSOFT Softw. Eng. Notes 38, 6 (Nov. 2013), 1--8. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Hou, Y., Chen, R., and Du, Z. Automated GUI Testing for J2ME Software Based on FSM. In SCALCOM-EMBEDDEDCOM '09: Proceedings of the 2009 International Conference on Scalable Computing and Communications; Eighth International Conference on Embedded Computing, IEEE Computer Society (Washington, DC, USA, 2009), 341--346. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Hu, C., and Neamtiu, I. 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, 2011), 77--83. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Kaasila, J., Ferreira, D., Kostakos, V., and Ojala, T. Testdroid: Automated Remote UI Testing on Android. In Proceedings of the 11th International Conference on Mobile and Ubiquitous Multimedia, MUM '12, ACM (New York, NY, USA, 2012), 28:1--28:4. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Kammer, D., Henkens, D., Henzen, C., and Groh, R. Gesture Formalization for Multitouch. Software: Practice and Experience (2013).Google ScholarGoogle Scholar
  14. Kammer, D., Wojdziak, J., Keck, M., Groh, R., and Taranko, S. Towards a Formalization of Multi-Touch Gestures. In Proceedings of ITS'10, 49. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Khandkar, S. H., Sohan, S. M., Sillito, J., and Maurer, F. Tool Support for Testing Complex Multi-Touch Gestures. In ACM International Conference on Interactive Tabletops and Surfaces, ITS '10, ACM (New York, NY, USA, 2010), 59--68. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Kin, K., Hartmann, B., DeRose, T., and Agrawala, M. Proton++: A Customizable Declarative Multitouch Framework. In Proceedings of the 25th Annual ACM Symposium on User Interface Software and Technology, UIST '12, 477--486. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Kin, K., Hartmann, B., DeRose, T., and Agrawala, M. Proton: Multitouch Gestures As Regular Expressions. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, CHI '12, 2885--2894. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. She, S., Sivapalan, S., and Warren, I. Hermes: A Tool for Testing Mobile Device Applications. In ASWEC '09: Proceedings of the 2009 Australian Software Engineering Conference, IEEE Computer Society (Washington, DC, USA, 2009), 121--130. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Tassey, G. The Economic Impacts of Inadequate Infrastructure for Software Testing. Tech. rep., National Institute of Standards and Technology, 2002.Google ScholarGoogle Scholar
  20. Vatavu, R.-D., Anthony, L., and Wobbrock, J. O. Gestures As Point Clouds: A $P Recognizer for User Interface Prototypes. In Proceedings of the 14th ACM International Conference on Multimodal Interaction, ICMI '12, ACM (New York, NY, USA, 2012), 273--280. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Wobbrock, J. O., Wilson, A. D., and Li, Y. Gestures Without Libraries, Toolkits or Training: A $1 Recognizer for User Interface Prototypes. In Proceedings of the 20th Annual ACM Symposium on User Interface Software and Technology, UIST '07, ACM (New York, NY, USA, 2007), 159--168. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Wynne, M., and Hellesoy, A. The Cucumber Book: Behaviour-Driven Development for Testers and Developers. Pragmatic Bookshelf, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Automating UI tests for mobile applications with formal gesture descriptions

    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
      MobileHCI '14: Proceedings of the 16th international conference on Human-computer interaction with mobile devices & services
      September 2014
      664 pages
      ISBN:9781450330046
      DOI:10.1145/2628363

      Copyright © 2014 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: 23 September 2014

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      MobileHCI '14 Paper Acceptance Rate35of124submissions,28%Overall Acceptance Rate202of906submissions,22%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader