Method and device for generating case script based on model automatization
An automatic generation and use case technology, applied in the field of information processing, can solve the problems of use case readability, poor portability, delay in automation period, high development cost, etc., to achieve maintainability, portability, high reusability, and reduce The effect of development costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] An embodiment of the present invention provides a method for automatically generating a use case script based on a model. Refer to the following figure 1 The embodiment of the present invention is described in detail, specifically including the following steps:
[0026] Step S101 models the terminal according to the UI; and
[0027] Step S102 automatically generates a use case script according to the model.
[0028] In the step S101 of modeling the terminal, the menu and buttons of the terminal UI are described in XML language (eXtensible Markup Language). In the step S102 of automatically generating use case scripts according to the model, the terminal UI is first abstracted into different types of controls or applications, and then use case generation rules for the controls are designed, and use case scripts are automatically generated according to the design model and the obtained use case generation rules.
[0029] Through the embodiment of the present invention,...
Embodiment 2
[0031] refer to figure 2 , taking the mobile phone as an example, describe in detail the method of automatically generating use case scripts based on the model. The user interface menu is the user-oriented core of the mobile phone. It directly provides most of the mobile phone functions to the user and directly determines the user experience. In order to get closer to users, the present invention provides a method for automatically generating use case scripts by modeling from the UI level of the mobile phone, specifically including:
[0032] Step S201 uses XML language (eXtensible Markup Language) to describe the menu and buttons of the mobile phone UI;
[0033] Step S202 abstracts the mobile phone UI into different types of controls or applications;
[0034] Step S203 design the use case generation rules of the control; and
[0035] Step S204 automatically generates a use case script according to the design model and use case generation rules.
[0036] refer to image 3...
Embodiment 3
[0043] refer to Figure 6 , is a structural diagram of an embodiment of the device for automatically generating use case scripts based on models in the present invention.
[0044]In this embodiment, a device for automatically generating use case scripts based on a model is provided, the device at least includes a script modeling module and a script generating module, wherein the script modeling module is used to build a terminal according to a graphical user interface model; the script generation module is used to automatically generate use case scripts according to the model. When modeling the terminal, the script modeling module uses XML language (eXtensible Markup Language) or UML language (Unified Modeling Language, Unified Modeling Language) to describe menus and buttons of the terminal UI. The script generation module first abstracts the terminal UI into different types of controls or applications, then designs the use case generation rules of the controls, and automati...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com