Method and device for verifying data correctness

A correctness verification and data verification technology, which is applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of low efficiency of data correctness verification, achieve the effect of improving script utilization and reducing maintenance costs

Active Publication Date: 2013-07-03
BEIJING FEINNO COMM TECH
View PDF5 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Aiming at the above-mentioned defects of the prior art, the present invention provides a data correctness verification method and device in order to solve the technical problem of low efficiency of data correctness verification in the prior art

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 verifying data correctness
  • Method and device for verifying data correctness
  • Method and device for verifying data correctness

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. 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.

[0044] In the method of the present invention, the separation of test data and script is mainly realized, and the test of multiple report data can be realized by executing the script once. The method of the invention sorts the data into local files, reads the data from the data file, and then writes the data read from the data file into the script in a parameterized manner. In this way, the test of the same type of report can be realized by executing ...

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 the technical field of data test and provides a method and a device for verifying data correctness. The method comprises the following steps: establishing a document for storing driving data in a local computer; importing the driving data to a test form; parameterizing a script according to a column name of the driving data in the test form; and setting an iteration and reading in sequence substitution parameters of all lines of driving data in the test form to drive the test script to execute data verification according to the setting of the iteration. With adoption of the method, the test data is separated from the script, data read from a data file in a parameterization manner is written on the script, and one-time execution of the script can achieve test of data in multiple pieces of report forms, so that maintenance cost of the script is greatly reduced, and the script utilization ratio that QTP (quick test professional) verifies correctness of data in a web report form is effectively improved.

Description

technical field [0001] The invention relates to the technical field of data testing, in particular to a data correctness verification method and device. Background technique [0002] In website testing or functional testing of applications, in many cases the test steps are unchanged, and only the test data is changed. For example, in order to test whether the website supports internationalization (internationalization), it is necessary to conduct a successful normal login test. During the test, English user names may be used; Chinese user names may also be used; String username. The operation steps of these three test cases are the same. They all enter the user name and password, and then click the login button. The only difference is the test data (namely the user name and its password). For another example, in order to perform security testing of SQL injection or script injection, it is necessary to design a general test procedure for comments submitted by users. However...

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/36G06F17/30
Inventor 赵荣
Owner BEIJING FEINNO COMM TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products