Towards Automated UI-Tests for Sensor-Based Mobile Applications

  • Tobias GriebeEmail author
  • Marc Hesenius
  • Volker Gruhn
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 532)


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.


Software engineering Testing Test automation Mobile applications Sensor simulation 


  1. 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. 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. 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. 4.
    Haller, K.: Mobile testing. SIGSOFT Softw. Eng. Notes 38(6), 1–8 (2013)CrossRefGoogle Scholar
  5. 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. 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. 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. 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. 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. 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. 11.
    Tassey, G.: The economic impacts of inadequate infrastructure for software testing. Technical report, National Institute of Standards and Technology (2002)Google Scholar
  12. 12.
    Wynne, M., Hellesoy, A.: The Cucumber Book: Behaviour-Driven Development for Testers and Developers. Pragmatic Bookshelf, Dallas (2012)Google Scholar

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  1. 1.Paluno - The Ruhr Institute for Software TechnologyUniversity of Duisburg-EssenEssenGermany

Personalised recommendations