Method and device for automatically generating test script
A test script and automatic generation technology, applied in the computer field, can solve the problems of cumbersome Java script conversion work, heavy programmer workload, low test script generation efficiency, etc., so as to achieve more humanized generation, improve generation efficiency, and reduce workload. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] Velocity is a Java-based template engine (Template engine). It allows anyone to simply use the template language (Template language) to refer to objects defined by Java code. Velocity can provide template services (Template service) for various development architectures. Velocity can generate SQL and PostScript, Extensible Markup Language XML from a template (Template), or be used as an integrated component of other systems. When Velocity is applied to Web development, interface designers and Java program developers can simultaneously develop a Web site that follows the pattern-view-controller MVC architecture, that is, page designers can only focus on the display effect of the page, and the Java program developers focus on business logic coding.
[0041] figure 1 The implementation flow of the automatic generation method of the test script provided by the first embodiment of the present invention is shown, and the details are as follows:
[0042] In step S101, input ...
Embodiment 2
[0050] figure 2 The structure of the device for automatically generating test scripts provided by the second embodiment of the present invention is shown. For the convenience of description, only the parts related to the embodiment of the present invention are shown.
[0051] Java script input unit 21, for inputting standardized Java script;
[0052] In the implementation of the present invention, it is required that the input Java test script to be converted should be developed in a normalized and standardized way, and the Java script is written by a preset fixed framework, so as to achieve code style unity, easy unified management, and convenient expansion. For example, the All scripts inherit an abstract class and realize the fixed method of setting, thus forming a standardized Java script.
[0053] Configuration file generation unit 22, for generating the configuration file of the Java script that Java script input unit 21 inputs;
[0054] In the embodiment of the prese...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com