The invention relates to a
test script automatic generation method based on a feature table, and belongs to the technical field of
automatic testing. The method comprises the following steps: step 1, establishing dynamic test characteristic quantities T1, T2,..., Tn of a
star sensor and a
gyroscope, n being the number of the characteristic quantities and being a positive integer greater than 1; 2, determining each type in each dynamic test characteristic quantity Ti and actual
test data corresponding to each set content according to requirements; establishing a feature table with dynamic test feature quantities T1, T2,..., Tn as headers; step 3, reading each
test data in the feature table, and completing automatic generation of the
test script. According to the method, automatic generation of the
test case with relatively independent demand functions and high test step
repeatability is realized, the
workload of purely manually writing the
test case script is greatly reduced, the
test efficiency is improved, and the method has the advantages of high
reusability and simplicity in operation.