The invention discloses an automatic test
system and method based on a
relay protection device, and relates to the technical field of
relay protection device analysis. In the
relay protection test process, electrical
time sequence data and device state signals in the test stage are collected in real time, data are processed, and a scene data unit capable of being independently stored and analyzed is generated; constructing a
test path transfer
directed graph; predicting a subsequent stage candidate set according to the
test path transfer
directed graph; forming a to-be-executed candidate
list according to the predicted subsequent stage candidate set in combination with the current available resource set; analyzing a resource conflict relationship among the test items, and generating an optimized
test sequence; when it is detected that the test process is abnormally interrupted, a continuous
test execution instruction is generated by conducting
mode matching on the context and a historical successful continuous
test case, the test is recovered from the
breakpoint, and meanwhile the interruption and
recovery mode is stored in a historical continuous
test case library. And the success rate and the safety of
continuous testing are improved.