Patent ID: 8643714

Claim:
A test device for testing an electronic product, comprising: a data storage for storing a standard video file and a standard frame table, the standard video file comprising a series of frames which show a standard electronic product playing a testing file with a plurality of pages, the standard frame table recording a plurality of standard frames and display time of each standard frame; a video capturing unit for capturing pictures generated in the playing process during which the electronic product plays the testing file, the captured pictures of the electronic product being stored in the data storage as an original video file, and a processing unit, comprising: a testing video file obtaining module for controlling the video capturing unit to capture the original video file of the electronic product playing the testing file, and comparing the original video file with the standard video file to obtain a testing video file from the original video file; a preselected frame determining module for obtaining the display time of each standard frame of the standard video file from the standard frame table in turn and obtaining frames from the test video file according to the obtained display times, taking each of the obtained frames which are generated at the display times correspondingly as a reference frame of each standard frame, selecting K frames previous to each reference frame and K frames following each reference frame from the test video file as preselected frames of each reference frame; a matching frame determining module for comparing the preselected frames of each reference frame with the standard frame corresponding to each reference frame to determine whether a matching frame exists in the preselected frames of each reference frame, if the matching frame does not exist in the preselected frames of each reference frame, determining the electronic product has flaws and finishing the test of the electronic product, if the matching frame exists in the preselected frames of each reference frame, recording the display time of the matching frame, and determining whether there are the matching frames in the preselected frames corresponding to each of the next standard frames in the testing video file; and a parameter determining module for determining display parameters according to the display times of the matching frames when the matching frames corresponding to all the standard frames are found in the testing video file.