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.
Similar content being viewed by others
References
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
Ostrand T, Balcer MJ (1988) The category-partition method for specifying and generating functional tests. CACM 31(6):676–686
Hartmann J, Imoberdorf C, Meisinger M (2000) UML-based integration testing. In: Proceedings of ISSTA 2000, pp 60–70
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
Cavarra A, Davies J, Jeron T, Mournier L, Hartman A, Olvovsky S (2002) Using UML for automatic test generation. In: Proceedings of ISSTA 2002
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
Offutt J, Abdurazik A (1999) Generating test cases from UML specifications. In: Proceedings of 2nd international conference on UML’99
Bertolino A, Gnesi S (2003) Use case-based testing of product lines. In: Proceedings of the ESEC/SIGSOFT FSE, pp 355–358
Briand, L.C., Labiche, Y. (2002) A UML-based approach to system testing. Software Syst Model 1(1):10–42
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
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
Menon A (2001) A comprehensive framework for testing graphical user interfaces. PhD Dissertation, University of Pittsburgh, Pittsburgh
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
Menon A (2002) GUI testing: pitfalls and process. IEEE Computer. IEEE Computer Society Press, pp 87–88
Author information
Authors and Affiliations
Corresponding author
Rights 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
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11334-005-0006-0