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

Test script processing device, system and method

A technology of test scripts and processing devices, applied in the field of test script processing devices, can solve the problems of difficult to meet the number of interfaces, frequent changes and rapid tests, high difficulty of work, etc., to achieve the value of increased reusability, good scalability and flexibility, The effect of improving the efficiency of preparation and testing

Active Publication Date: 2014-07-02
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF3 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

With the expansion of the software system, the size of the development team becomes larger, and the system becomes more and more complex. The unit test and integration test of the interface are more important and account for a larger proportion of the work. The test work also tends to become independent and become a separate work. Participation of people with business background but not technical background
[0003] Common recording and playback methods to record scripts can usually only record interactive actions generated by the interface, or interactive data, which cannot meet the testing needs of systems that do not support recorded data
If you use the common method of manually writing program scripts or source codes in the industry, the work will be difficult, the work efficiency will be low, the style will be difficult to maintain consistency, and the maintainability will be reduced.
According to the characteristics of the test implementation process, the test of a program component can essentially be considered as multiple sets of "key-value" as parameter input and information return, requiring users to be familiar with programming, and manual work is required for the message structure or data structure of the interface The work of compilation, the code compiled by hand is not conducive to the use of computer programs to achieve synchronous changes in data structures
If the message structure or data structure is relatively large and complex, the compilation work will be labor-intensive, time-consuming, error-prone, and occupy a high proportion of the test workload.
Therefore, the original method of manually weaving test scripts has high development costs and low reuse value, and it is difficult to meet the needs of a large number of interfaces, frequent changes, and rapid testing.

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
  • Test script processing device, system and method
  • Test script processing device, system and method
  • Test script processing device, system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0087] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0088] In order to overcome the disadvantages of high difficulty in writing test scripts and programs based on traditional recording and playback or manual compilation, difficulty in maintenance, and low reusability, and meet the needs of rapid, convenient management, and high maintainability in the software production process, an embodiment of the present invention provides a Test script processing device, which generates and exports test scripts through the source code of the target test platform. The scripts used can describe the data structure, data content, data p...

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 discloses a test script processing device, system and method. The test script processing device comprises a data structure acquisition device, a script generation device and a script editing device, wherein the data structure acquisition device is used for acquiring interface information and a data structure of a script from an external server, the script generation device is used for generating a script file frame and padding data according to the interface information and the data structure, and the script editing device is used for editing the script file frame padded with the data to a test script file. Or, the test script processing device comprises a script conversion device, a source code compiling and loading device and a parsing and invoking device, the script conversion device is used for receiving the test script file and converting the test script file into program source codes of the test script file, the source code compiling and loading device is used for performing compiling processing on the program source codes of the test script file, and the parsing and invoking device is used for parsing and invoking the program source codes subjected to compiling processing, and interacts with a to-be-tested system to acquire an execution result of the test script file. By the device, system and method, compilation test efficiency of the test script can be improved, and value of script reutilization can be increased.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a test script processing device, system and method. Background technique [0002] Software testing can be carried out in interface-driven or program-driven mode. Unit test and integration test need to simulate the calling process of the program to implement the test, which needs to be driven by program-driven mode. With the expansion of the software system, the size of the development team becomes larger, and the system becomes more and more complex. The unit test and integration test of the interface are more important and account for a larger proportion of the work. The test work also tends to become independent and become a separate work. People with a business background but not a technical background are involved. [0003] Common recording and playback methods to record scripts can usually only record interactive actions or interactive data generated by the interfa...

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/36
Inventor 江立锋吴能斌刘朝伟罗秉安
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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