Towards Automatic Transformation from UML Model to FSM Model for Web Applications

HTML  Download Download as PDF (Size: 544KB)  PP. 68-75  
DOI: 10.4236/jsea.2008.11010    6,003 Downloads   11,184 Views  Citations

Affiliation(s)

ABSTRACT

The need for automatic testing of large-scale web applications suggests the use of model-based testing technology. Among various modeling languages, UML is widely spread and used for its simplicity, understandability and ease of use. But rigorous analysis for UML model is difficult due to its lack of precise semantics. On the other hand, as a formal notation, FSM provides an avenue for automatic generation of test cases, but the requirement for mathematical basis makes itself academic inventions divorced from real applications. This paper proposes an approach to transforming UML model to FSM model, taking advantage of both languages. As our work focuses on the transformation of UML state diagrams to FSM models, a specific transformation mechanism is presented, which deals with different elements with different mapping rules. To illustrate the mechanism we proposed, an example of a web application for software download is presented. Finally, we give a method for implementation of the mechanism and a tool prototype to support the method.

Share and Cite:

X. Wang, H. Miao and L. Guo, "Towards Automatic Transformation from UML Model to FSM Model for Web Applications," Journal of Software Engineering and Applications, Vol. 1 No. 1, 2008, pp. 68-75. doi: 10.4236/jsea.2008.11010.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.