skip to main content
10.1145/2554850.2554942acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

A model-based approach to test automation for context-aware mobile applications

Published:24 March 2014Publication History

ABSTRACT

Current testing tools for mobile applications do not provide sufficient support for context-aware application testing. In addition to regular input vectors (e.g. touch events, text entry) context parameters must be considered (e.g. accelerometer data interpreted as shake gestures, GPS location data, etc.). A multitude of possible application faults resulting from these additional context parameters requires an appropriately selected set of test cases. In this paper, we propose a model-based approach to improve the testing of context-aware mobile applications by deducing test cases from design-time system models. Using a custom-built version of the calabash-android testing framework enhanced by an arbitrary context parameter facility, our approach to test case generation and automated execution is validated on a context-aware mobile application.

References

  1. G. D. Abowd, A. K. Dey, P. J. Brown, N. Davies, M. Smith, and P. Steggles. Towards a better understanding of context and context-awareness. In Proceedings of the 1st international symposium on Handheld and Ubiquitous Computing, HUC '99, pages 304--307, London, UK, UK, 1999. Springer. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. L. Apfelbaum and J. Doyle. Model Based Testing. In Software Quality Week Conference, 1997.Google ScholarGoogle Scholar
  3. Baker, Paul and Ru Dai, Zhen and Grabowski, Jens and Haugen, Oystein and Schieferdecker, Ina and Williams, Clay. Model Driven Testing - Using the UML Testing Profile. Springer--Verlag Berlin Heidelberg, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. B. Bergvall-Kåreborn and S. Larsson. A case study of real-world testing. In MUM '08: Proceedings of the 7th International Conference on Mobile and Ubiquitous Multimedia, pages 113--116, New York, NY, USA, 2008. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. S. Beydeda, M. Book, and V. Gruhn. Model-Driven Software Development. Springer London, Limited, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. W. Broll, J. Ohlenburg, I. Lindt, I. Herbst, and A.-K. Braun. Meeting technology challenges of pervasive augmented reality games. In Proceedings of 5th ACM SIGCOMM Workshop on Network and System Support for Games, NetGames '06, New York, NY, USA, 2006. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. P. Brown, J. Bovey, and X. Chen. Context-aware applications: from the laboratory to the marketplace. Personal Communications, IEEE, 4(5): 58--64, 1997.Google ScholarGoogle ScholarCross RefCross Ref
  8. M. Bylund and F. Espinoza. Using Quake III Arena to Simulate Sensors and Actuators When Evaluating and Testing Mobile Services. In CHI '01 Extended Abstracts on Human Factors in Comp. Systems, CHI '01, pages 241--242, New York, NY, USA, 2001. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. R. Heckel and M. Lohmann. Towards Model-Driven Testing. Electr. Notes Theor. Comput. Sci., 82(6), 2003.Google ScholarGoogle Scholar
  10. A. Heinecke, T. Brückmann, T. Griebe, and V. Gruhn. Generating Test Plans for Acceptance Tests from UML Activity Diagrams. In IEEE: Engineering of Computer-Based Systems (ECBS 2010). IEEE, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. M. Jabbour, P. Bonnifait, and V. Cherfaoui. Enhanced local maps in a gis for a precise localisation in urban areas. In Intelligent Transportation Systems Conference, 2006. ITSC '06. IEEE, pages 468--473, September 2006.Google ScholarGoogle ScholarCross RefCross Ref
  12. H. Kim, S. Kang, J. Baik, and I. Ko. Test Cases Generation from UML Activity Diagrams. Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing, ACIS International Conference on, 3: 556--561, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. W. Linzhang, Y. Jiesong, Y. Xiaofeng, H. Jun, L. Xuandong, and Z. Guoliang. Generating Test Cases from UML Activity Diagram based on Gray-Box Method. Asia-Pacific Software Engineering Conference, 0: 284--291, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. C. Mingsong, Q. Xiaokang, and L. Xuandong. Automatic Test Case Generation for UML Activity Diagrams. In AST '06: Proceedings of the 2006 International Workshop on Automation of Software Test, pages 2--8, New York, NY, USA, 2006. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. M. Sarma and R. Mall. System Testing using UML Models. Asian Test Symposium, 0: 155--158, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. I. Satoh. A Testing Framework for Mobile Computing Software. IEEE Trans. Softw. Eng., 29(12): 1112--1121, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. B. Schilit, N. Adams, and R. Want. Context-aware computing applications. In Proceedings of the 1994 First Workshop on Mobile Computing Systems and Applications, WMCSA '94, pages 85--90, Washington, DC, USA, 1994. IEEE Computer Society. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. S. Taranu and J. Tiemann. General Method for Testing Context Aware Applications. In MUCS '09: Proceedings of the 6th International Workshop on Managing Ubiquitous Communications and Services, pages 3--8, New York, NY, USA, 2009. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. S. Weißleder. Test models and coverage criteria for automatic model-based test generation with UML state machines. PhD thesis, 2010.Google ScholarGoogle Scholar

Index Terms

  1. A model-based approach to test automation for context-aware mobile applications

    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
      SAC '14: Proceedings of the 29th Annual ACM Symposium on Applied Computing
      March 2014
      1890 pages
      ISBN:9781450324694
      DOI:10.1145/2554850

      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: 24 March 2014

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      SAC '14 Paper Acceptance Rate218of939submissions,23%Overall Acceptance Rate1,650of6,669submissions,25%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader