The invention relates to a method for automatically testing a recording playback mode of a terminal system, which comprises the following steps: 10, recording actual operation of a user, which comprises mouse operation and keyboard operation, and automatically generating a script which is easily understood by the user and can be edited manually; 20, in the recording process in the step 10, inserting a check point of which the state is required to be checked in an automatic test; 30, playing the script generated in the step 10 back, automatically executing the test, and recording the state of the check point; and 40, finishing the playback of the script, analyzing the recorded state of the check point, summarizing test results, and automatically generating a test report. The method has the advantages of being suitable for automatic functional tests of terminal embedded systems and non-embedded systems, supporting tests for functions of protocols such as ICA, RDP and the like, providing reliable check points for testing GUI functions, and saving testing time.