Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Web application model and test method based on UML use case diagram and sequence diagram

A test method and web application technology, applied in the Internet field, can solve problems such as unseen comparative system research

Inactive Publication Date: 2010-05-05
SHANGHAI SECOND POLYTECHNIC UNIVERSITY
View PDF0 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The research on Web application modeling and system-level test case generation methods based on use cases and corresponding sequence diagrams is still relatively preliminary, and there is no report on comparative system research in China

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Web application model and test method based on UML use case diagram and sequence diagram
  • Web application model and test method based on UML use case diagram and sequence diagram
  • Web application model and test method based on UML use case diagram and sequence diagram

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention will be further illustrated below through an implementation case.

[0025] 1. Build a test model for web applications

[0026] The method of modeling the use case migration model UCTM is as follows:

[0027] I) From the user's point of view, the Web system is divided into several components according to the actors (Actors), and each component completes the entire logic function of the Actor, which is described by the top-level use case diagram. It is equivalent to dividing the system into several large subsystems. Since Actor is an external participant of the system, we divide the system into several components according to the function of Actor when modeling, and a component represents the entire logical function of the participant, so we only consider the system itself when modeling The drawing of Actor is omitted; the present invention considers a Web system as a "black box" and only focuses on the functional interaction between components. T...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a Web application model and a test method based on a UML use case diagram and a sequence diagram, which is used for establishing the Web application test model based on use case and automatically generating test scenes therefrom. The test method comprises the following steps: firstly, using a layered UML extension use case diagram is used as a Web application model from the viewpoint of an external user, wherein the model is called a use case transition model (Use Case Transition Model, UCTM); secondly, describing each use case from top to bottom by a formalized sequence diagram, and automatically transforming the sequence diagram to a restricted directed graph (RDG); thirdly, providing a constraint message coverage criterion ( CMC), and generating test cases from the RDG, wherein the test cases can meet the CMC, and the number of the test cases is reduced; and fourthly, merging the RDG from bottom to top, and traversing the RDG. The test scenes on different levels of Web application can be generated, and the provided constraint message coverage criterion (CMC) can be met.

Description

technical field [0001] The invention relates to the Internet field, in particular to a Web application modeling and testing method based on use cases and corresponding sequence diagrams. Background technique [0002] Web application (WA) is a very complex, distributed, interactive application with multi-layer structure. The heterogeneous and dynamic nature of WA makes it very difficult to model the behavior and structure of WA. The connection between WA pages is realized through links and components. Many Web pages contain multiple HTML forms, and each form is dynamically linked to different background software components and implemented with different programming languages. Many characteristics of WA make traditional software testing methods unable to be directly applied to WA testing, and make Web testing more complicated than general software testing, requiring more considerations, thus bringing new challenges to the field of software testing. [0003] The patent docume...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36G06F9/44
Inventor 李丽萍
Owner SHANGHAI SECOND POLYTECHNIC UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products