skip to main content
10.1145/1138929.1138932acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
Article

Automation of GUI testing using a model-driven approach

Published: 23 May 2006 Publication History

Abstract

This paper describes an ongoing research on test case generation based on Unified Modeling Language (UML). The described approach builds on and combines existing techniques for data and graph coverage. It first uses the Category-Partition method to introduce data into the UML model. UML Use Cases and Activity diagrams are used to respectively describe which functionalities should be tested and how to test them. This combination has the potential to create a very large number of test cases. This approach offers two ways to manage the number of tests. First, custom annotations and guards use the Category-Partition data which allows the designer tight control over possible, or impossible, paths. Second, automation allows different configurations for both the data and the graph coverage. The process of modeling UML activity diagrams, annotating them with test data requirements, and generating test scripts from the models is described. The goal of this paper is to illustrate the benefits of our model-based approach for improving automation on software testing. The approach is demonstrated and evaluated based on use cases developed for testing a graphical user interface (GUI).

References

[1]
P. Fröhlich, J. Link, "Automated Test Case Generation from Dynamic Models". In: Bertino, E. (Ed.): Proceedings of the ECOOP 2000 pp.472--491, 2000.]]
[2]
A. Bertolino and S. Gnesi: "Use case-based testing of product lines". Proceedings of the ESEC / SIGSOFT FSE, 355--358, 2003.]]
[3]
L. C. Briand and Y. Labiche, "A UML-Based Approach to Application Testing", Software and Applications Modeling, vol. 1 (1), pp. 10--42, 2002.]]
[4]
A. Cavarra, J. Davies, T. Jeron, L. Mournier, A. Hartman and S. Olvovsky, "Using UML for Automatic Test Generation", Proceedings of ISSTA'2002, Aug. 2002.]]
[5]
J. Hartmann, C. Imoberdorf, and M. Meisinger, "UML-based Integration Testing", Proceedings of ISSTA'2000, pp. 60--70, Aug. 2000.]]
[6]
A. Beer, S. Mohacsi, and C. Stary: "IDATG: An Open Tool for Automated Testing of Interactive Software". Proceedings of the COMPSAC '98 - 22nd International Computer Software and Applications Conference, pages 470--475 August 19-21, 1998.]]
[7]
T. Ostrand, Marc J. Balcer: "The Category-Partition Method for Specifying and Generating Functional Tests", Comm. ACM vol.31, no.6, pp. 676--686 (1988).]]

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
AST '06: Proceedings of the 2006 international workshop on Automation of software test
May 2006
128 pages
ISBN:1595934081
DOI:10.1145/1138929
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]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 23 May 2006

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. GUI verification
  2. UML
  3. model based testing

Qualifiers

  • Article

Conference

ICSE06
Sponsor:

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)28
  • Downloads (Last 6 weeks)0
Reflects downloads up to 20 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media