The invention discloses a device based on automatic data construction for testing a
test object in an
input field. The device comprises a test
component modeling device, a storage device, an
input field test designing device, a test component data analyzing device and an automatic
test execution device, wherein the test
component modeling device is used for receiving an element
library, a universal type classification
library and a universal type case
library and performing element
component modeling and universal type component modeling; the storage device is used for storing
relevant information such as post-modeling data; the
input field test designing device is used for obtaining an input field
test object to be data-constructed, going through the input field
test object to be data-constructed and generating and storing the data feature cases of the input field test object to be data-constructed; the test component data analyzing device is used for reading a data feature case to be data-constructed and analyzing the read data feature case to be data-constructed to complete the data construction; and the automatic
test execution device is used for providing the input field to be tested for the input field
test design device (3) to read and completing the automatic
test execution in a
system to be tested. Therefore, the
automation level, the commonality and the
test efficiency are improved finally.