skip to main content
10.1145/2002931.2002933acmconferencesArticle/Chapter ViewAbstractPublication PagesisstaConference Proceedingsconference-collections
research-article

Utilizing user interface models for automated instantiation and execution of system tests

Published:17 July 2011Publication History

ABSTRACT

Scripts for automated system tests often contain technical knowledge about the user interface (UI). This makes test scripts brittle and hard to maintain which leads to high maintenance costs. As a consequence, automation of system tests is often abandoned.

We present a model-driven approach that separates UI knowledge from test scripts. Tests are defined on a higher level, abstracting from UI usage. During test instantiation, abstract tests are enriched with UI information and executed against the system. We demonstrate the application of our approach to graphical UIs (GUIs) such as rich clients and web applications. To show the feasibility, we present a prototypical implementation testing the open-source application Bugzilla.

References

  1. IEEE Standard Computer Dictionary. A Compilation of IEEE Standard Computer Glossaries. IEEE Std 610, 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. S. Berner, R. Weber, and R. K. Keller. Observations and lessons learned from automated testing. In Proceedings of the 27th international conference on Software engineering (ICSE '05), 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. A. Bertolino. Software testing research: Achievements, challenges, dreams. In Future of Software Engineering (FOSE '07), 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. G. Botterweck. A model-driven approach to the engineering of multiple user interfaces. In Proceedings of the Workshop on Model-driven development of advanced user interfaces (MDDAUI '06), 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. G. Calvary, J. Coutaz, D. Thevenin, Q. Limbourg, N. Souchon, L. Bouillon, M. Florins, and J. Vanderdonckt. Plasticity of user interfaces: A revised reference framework. In Proceedings of the First International Workshop on Task Models and Diagrams for User Interface Design, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. E. Dustin, J. Rashka, and J. Paul. Automated software testing: introduction, management, and performance. Addison-Wesley, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. M. Fewster and D. Graham. Software test automation: effective use of test execution tools. Addison-Wesley, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. H. Grandy and S. Benz. Specification based testing of automotive human machine interfaces. In GI Jahrestagung, 2009.Google ScholarGoogle Scholar
  9. M. Grechanik, Q. Xie, and C. Fu. Maintaining and evolving gui-directed test scripts. In Proceedings of the 31st International Conference on Software Engineering (ICSE '09), 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. M. J. Harrold and A. Orso. Retesting software during development and maintenance. In Proceedings of the Frontiers of Software Maintenance (FoSM '08), 2008.Google ScholarGoogle ScholarCross RefCross Ref
  11. B. Hauptmann. Model-based test instantiation for applications with user interfaces. In Proc. Doctoral Symposium at the International Conference on Product Focused Software Development and Process Improvement (PROFES '11), 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. H. Hussmann, G. Meixner, and D. Zuehlke, editors. Model-Driven Development of Advanced User Interfaces. Springer, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. M. Katara, A. Kervinen, M. Maunumaa, T. Paakkonen, and M. Satama. Towards deploying model-based testing with a domain-specific modeling approach. In Proceedings of the Testing: Academic & Industrial Conference on Practice And Research Techniques, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. A. M. Memon and B. N. Nguyen. Advances in automated model-based system testing of software applications with a GUI front-end. In M. V. Zelkowitz, editor, Advances in Computers, volume 80. 2010.Google ScholarGoogle Scholar
  15. A. C. R. Paiva, N. Tillmann, J. C. P. Faria, and R. F. A. M. Vidal. Modeling and testing hierarchical GUIs. In Proceedings of the 12th International Workshop on Abstract State Machines, 2005.Google ScholarGoogle Scholar
  16. F. Paternò, C. Mancini, and S. Meniconi. Concurtasktrees: A diagrammatic notation for specifying task models. In Proceedings of the IFIP TC13 Interantional Conference on Human-Computer Interaction (INTERACT '97), 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. A. Pimenta. Automated Specification Based Testing of Graphical User Interfaces. PhD thesis, Engineering Faculty of Porto University, Department of Electrical and Computer Engineering, 2006.Google ScholarGoogle Scholar
  18. W. Prenninger, M. El-Ramly, and M. Horstmann. Case studies. In M. Broy, B. Jonsson, J.-P. Katoen, M. Leucker, and A. Pretschner, editors, Model-Based Testing of Reactive Systems, volume 3472 of Lecture Notes in Computer Science. Springer, 2005.Google ScholarGoogle Scholar
  19. W. Prenninger and A. Pretschner. Abstractions for model-based testing. Electron. Notes Theor. Comput. Sci., 116, January 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. R. K. Shehady and D. P. Siewiorek. A method to automate user interface testing using variable finite state machines. In Proceedings of the 27th International Symposium on Fault-Tolerant Computing (FTCS '97), 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. P. A. Szekely. Retrospective and challenges for model-based interface development. In Proceedings of the Second International Workshop on Computer-Aided Design of User Interfaces (CADUI'96), 1996.Google ScholarGoogle ScholarCross RefCross Ref
  22. M. Utting and B. Legeard. Practical Model-Based Testing: A Tools Approach. Morgan Kaufmann, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. M. Utting, A. Pretschner, and B. Legeard. A taxonomy of model-based testing. Technical report, The University of Waikato, April 2006.Google ScholarGoogle Scholar
  24. M. Veanes, C. Campbell, W. Grieskamp, W. Schulte, N. Tillmann, and L. Nachmanson. Model-based testing of object-oriented reactive systems with spec explorer. Formal methods and testing, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. S. Winter. Modellbasierte Analyse von Nutzerschnittstellen. Dissertation, Technische Universität München, München, 2009.Google ScholarGoogle Scholar

Index Terms

  1. Utilizing user interface models for automated instantiation and execution of system tests

      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
        ETSE '11: Proceedings of the First International Workshop on End-to-End Test Script Engineering
        July 2011
        46 pages
        ISBN:9781450308083
        DOI:10.1145/2002931

        Copyright © 2011 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: 17 July 2011

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Upcoming Conference

        ISSTA '24

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader