Skip to main content
Log in

A UML-based approach to system testing

  • Published:
Innovations in Systems and Software Engineering Aims and scope Submit manuscript

Abstract.

This article describes an approach for automatically generating and executing system tests, which can be used to improve the validation of an application. Tests are automatically generated from behavioural models of the application using the unified modelling language (UML) and then executed using a suitable test execution environment. For this paper, we demonstrate our approach by means of an application that interacts with its users via a graphical user interface. Thus, we discuss the test- execution phase with respect to a commercial user interface (UI) or capture–replay tool.

In this article, we show how, in the first step, a test designer manually annotates the UML models, which may have been semiautomatically extracted from existing, textual-use case documentation, with test requirements. In the second step, the test- generation tool automatically creates a set of textual test procedures (test cases) or executable test scripts. In the third step, a test executor runs these against the system under test using a commercial UI testing tool.

The goal of the article is to illustrate the benefits of an automated, model-based approach for improving system test design, generation and execution. Details regarding the different tools are given.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

References

  1. Balcer M, Hasling W, Ostrand T (1990) Automatic generation of test scripts from formal test specifications. In: Proceedings of ACM SIGSOFT’890–third symposium on software testing, verification, and analysis (TAVS-3). ACM Press, New York, pp 257–71

  2. Ostrand T, Balcer MJ (1988) The category-partition method for specifying and generating functional tests. CACM 31(6):676–686

    Google Scholar 

  3. Hartmann J, Imoberdorf C, Meisinger M (2000) UML-based integration testing. In: Proceedings of ISSTA 2000, pp 60–70

  4. Abdurazik A, Offutt J (2000) Using UML collaboration diagrams for static checking and test generation. In: Proceedings of third international conference on the UML, pp 385–395

  5. Cavarra A, Davies J, Jeron T, Mournier L, Hartman A, Olvovsky S (2002) Using UML for automatic test generation. In: Proceedings of ISSTA 2002

  6. Lugato D, Bigot C, Valot Y (2002) Validation and automatic test generation on UML models: the AGATHA approach. Electronics Notes in Theoretical Computer Science 66, No. 2

  7. Offutt J, Abdurazik A (1999) Generating test cases from UML specifications. In: Proceedings of 2nd international conference on UML’99

  8. Bertolino A, Gnesi S (2003) Use case-based testing of product lines. In: Proceedings of the ESEC/SIGSOFT FSE, pp 355–358

  9. Briand, L.C., Labiche, Y. (2002) A UML-based approach to system testing. Software Syst Model 1(1):10–42

    Google Scholar 

  10. Fröhlich P, Link J (2000) Automated test case generation from dynamic models. In: Bertino E (ed) Proceedings of the ECOOP 2000, pp 472–491

  11. Beer A, Mohacsi S, Stary C (1998) IDATG: an open tool for automated testing of interactive software. In: Proceedings of the COMPSAC ‘98—22nd international computer software and applications Conference, 19–21 August, pp 470–475

  12. Menon A (2001) A comprehensive framework for testing graphical user interfaces. PhD Dissertation, University of Pittsburgh, Pittsburgh

  13. Ostrand T, Anodide A, Foster H, Goradia T (1998) A visual test development environment for GUI systems. In: Proceedings of the ACM SIGSOFT international symposium on software testing and analysis (ISSTA-98), vol 23.2 of ACM Software Engineering Notes, pp 82–92

  14. Menon A (2002) GUI testing: pitfalls and process. IEEE Computer. IEEE Computer Society Press, pp 87–88

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jean Hartmann.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Hartmann, J., Vieira, M., Foster, H. et al. A UML-based approach to system testing. Innovations Syst Softw Eng 1, 12–24 (2005). https://doi.org/10.1007/s11334-005-0006-0

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11334-005-0006-0

Keywords

Navigation