An embodiment of the invention discloses an automatic test system for network access of a set-top box, which comprises a digital television test signal generator, a digital television test transmitter, the set-top box, an audio analyzer, a video analyzer and a controller. The digital television test signal generator, the digital television test transmitter and the set-top box are respectively electrically connected with the controller, the controller is connected with the audio analyzer and the video analyzer via a USB (universal serial bus) and then a GPIB (general purpose interface bus). The digital television test signal generator is used for generating standard test signals, the digital television test transmitter is used for modulating the test signals into digital signals, the modulated digital signals serving as the test input signals are used for testing the set=top box, and the processed test signals are respectively transmitted to the corresponding video analyzer and the audio analyzer by the set=top box and then are analyzed and displayed. By the aid of the automatic test system for network access of the set-top box, parameters of the audio and the video can be tested automatically, human labor, time and hardware resources can be saved due to the fact that the system is operated by machine, and the testing efficiency can be improved.