The invention relates to the technical field of product test and provides a generating method and a generating
system of a configuration file for a
test line. The method comprises the following steps of reading a
test plan, generating a
test item list, and storing the
test item list into a memory; performing validity detection on the test environment in the
test item list and test parameters related to
test specification options. When the validity detection passes, the test item list is screened, so as to select contents, which meet preset requirements, in the test item list; the contents, which meet the preset requirements, in the test item list are resolved, and parameters required by test
software of the
test line in the test item list are correspondingly mapped into a buffer memory; the parameters required by the test
software of the
test line in the buffer memory are generated into an ini configuration file in an .ini
file format and are output, thereby realizing automated configuration of the test
software. The method has the advantages of high configuration efficiency and difficulty in mistaking, manpower and
material resources are saved, the development time is shortened, and the error rate is reduced.