In view of problems of singleness and specificity of traditional circuit board test platform, in order to meet automatic testing requirements of different circuit boards, an universal automatic test platform for circuit board based on virtual instrument was designed. The platform achieves automated testing of different types of boards using virtual instrument testing technology, scan code technology and network technology. The test results are bound to serial number of the board and automatically saved to database of server, and the board test results can be queried via web browsing. The test results show that the platform can realize automatic test of different types of circuit boards, and improves test accuracy and efficiency under the premise of ensuring test accuracy of the circuit board.