Skip to main content

Towards Automated UI-Tests for Sensor-Based Mobile Applications

  • Conference paper
  • First Online:
Intelligent Software Methodologies, Tools and Techniques (SoMeT 2015)

Abstract

Mobile devices changed human-computer interaction, caused the need for specialized software engineering methods and created new business opportunities. The mobile app market is highly competitive and software developers need to maintain high software quality standards for long-lasting economic success. While powerful software development kits support developers in creating mobile applications, testing them is still cumbersome, time-consuming and error-prone. Especially interaction methods depending on sensor input like device motion gestures prevent automated UI testing – developers and testers are forced to manually test all different aspects. We present an approach to integrate sensor information into user acceptance tests and use a sensor simulation engine to enable automatic test case execution for mobile applications.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    windows, icons, menus, pointers.

  2. 2.

    http://calaba.sh.

  3. 3.

    http://calaba.sh.

  4. 4.

    http://www.specflow.org.

  5. 5.

    http://junit.org.

  6. 6.

    http://cunit.sourceforge.net.

  7. 7.

    https://code.google.com/p/robotium/.

  8. 8.

    https://github.com/mttkay/calculon.

  9. 9.

    https://github.com/calabash/calabash-android.

  10. 10.

    http://cukes.info.

  11. 11.

    https://code.google.com/p/openintents/wiki/SensorSimulator.

  12. 12.

    http://www.openintents.org.

  13. 13.

    Nexus 4 and 7, Nexus S, LG Optimus 3D, HTC Desire S510e.

  14. 14.

    http://www.vimov.com/isimulate/.

References

  1. Amalfitano, D., Fasolino, A.R., Tramontana, P., De Carmine, S., 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, pp. 258–261. ACM, New York (2012)

    Google Scholar 

  2. Bo, J., Xiang, L., Xiaopeng, G.: MobileTest: a tool supporting automatic black box test for software on smart mobile devices. In: AST 2007 Proceedings of the Second International Workshop on Automation of Software Test, p. 8. IEEE Computer Society, Washington (2007)

    Google Scholar 

  3. Choi, W., Necula, G., 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 and Applications, OOPSLA 2013, pp. 623–640. ACM, New York (2013)

    Google Scholar 

  4. Haller, K.: Mobile testing. SIGSOFT Softw. Eng. Notes 38(6), 1–8 (2013)

    Article  Google Scholar 

  5. Hesenius, M., Griebe, T., Gries, S., Gruhn, V.: Automating UI tests for mobile applications with formal gesture descriptions. In: Proceedings of the 16th International Conference on Human-Computer Interaction with Mobile Devices and Services, MobileHCI 2014, pp. 213–222. ACM, New York (2014)

    Google Scholar 

  6. Hesenius, M., Griebe, T., Gruhn, V.: Towards a behavior-oriented specification and testing language for multimodal applications. In: Proceedings of the 2014 ACM SIGCHI Symposium on Engineering Interactive Computing Systems, EICS 2014, pp. 117–122. ACM, New York (2014)

    Google Scholar 

  7. Hu, C., Neamtiu, I.: Automating gui testing for android applications. In: Proceedings of the 6th International Workshop on Automation of Software Test, AST 2011, pp. 77–83. ACM, New York (2011)

    Google Scholar 

  8. Kaasila, J., Ferreira, D., Kostakos, V., Ojala, T.: Testdroid: Automated remote UI testing on android. In: Proceedings of the 11th International Conference on Mobile and Ubiquitous Multimedia, MUM 2012, pp. 28:1–28:4. ACM, New York (2012)

    Google Scholar 

  9. Khandkar, S.H., Sohan, S.M., Sillito, J., Maurer, F.: Tool support for testing complex multi-touch gestures. In: ACM International Conference on Interactive Tabletops and Surfaces, ITS 2010, pp. 59–68. ACM, New York (2010)

    Google Scholar 

  10. She, S., Sivapalan, S., Warren, I.: Hermes: a tool for testing mobile device applications. In: ASWEC 2009 Proceedings of the 2009 Australian Software Engineering Conference, pp. 121–130. IEEE Computer Society, Washington (2009)

    Google Scholar 

  11. Tassey, G.: The economic impacts of inadequate infrastructure for software testing. Technical report, National Institute of Standards and Technology (2002)

    Google Scholar 

  12. Wynne, M., Hellesoy, A.: The Cucumber Book: Behaviour-Driven Development for Testers and Developers. Pragmatic Bookshelf, Dallas (2012)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Tobias Griebe .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Griebe, T., Hesenius, M., Gruhn, V. (2015). Towards Automated UI-Tests for Sensor-Based Mobile Applications. In: Fujita, H., Guizzi, G. (eds) Intelligent Software Methodologies, Tools and Techniques. SoMeT 2015. Communications in Computer and Information Science, vol 532. Springer, Cham. https://doi.org/10.1007/978-3-319-22689-7_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-22689-7_1

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-22688-0

  • Online ISBN: 978-3-319-22689-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics