Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for processing data based on script test program

A data processing device and script testing technology, which is applied in the computer field, can solve problems such as program instability and loss, and achieve the effects of avoiding field loss or disorder, improving success rate, and improving stability

Active Publication Date: 2016-04-20
TANGRAM MICROELECTRONICS TECH SHANGHAI CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can solve the instability of the script language program, avoid the loss of the input command word, or solve the problem of the display that causes the output field to be lost or out of order, and improve the matching rate of the test

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
  • Method and device for processing data based on script test program
  • Method and device for processing data based on script test program
  • Method and device for processing data based on script test program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0029] In order to facilitate the understanding of the embodiments of the present invention, further explanations will be given below with specific embodiments in conjunction with the accompanying drawings, which are not intended to limit the embodiments of the present invention.

[0030] The present invention takes into account the accuracy ...

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 method and device for processing data based on a script test program. The method comprises the steps of obtaining data in a command input process, detecting the data, complementing operation for partial commands when the data is the correctly matched partial commands and outputting the complete commands after the complement, or deleting obtained data this time when the data match is wrong and obtaining to-be-detected data again, or outputting correctly matched complete commands when the data is the correctly matched complete commands. The method further comprises the steps of dividing the data output by an output line into one or more key words and detecting the one or more key words, wherein when the one or more key words are matched with prospect output key words adding with regular expression, the output data is judged to be matched with the prospect output, and when the one or more key words are not matched with the prospect output key words adding with the regular expression, the output data is judged to be not matched with the prospect output. The method and device can improve the stability of a scrip language program and further can improve the success rate of the test.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a data processing method and device based on a script test program. Background technique [0002] In the process of software and hardware development, it is always necessary to test various aspects of the results (such as: functional verification and stability verification, etc.). As for the choice of programming language, compared with other programming languages, scripting language has inherent convenience in the detection of input and output text and the operation of the system level. Therefore, the framework of the test process is built by the scripting language. The logic of the script program is very simple. Generally, it is to input commands, detect the output, and judge the data that should be input according to the output. Its advantage is that it can realize semi-automation or even full automation, which can save a lot of time spent on testing, and can arrange the t...

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
IPC IPC(8): G06F11/36
CPCG06F11/3668
Inventor 赵意飞
Owner TANGRAM MICROELECTRONICS TECH SHANGHAI CO LTD