In order to solve the problem of balanced tracking control between water pressure and oil pressure in the process of high pressure water test for petroleum pipe, a control system of water pressure test machine is designed on the basis of PLC, industrial control computer and touch screen. The control system has PLC electric control and hydraulic control of electro-hydraulic proportional valve. It has good man-machine visual picture, can dynamically reflect the pressure change, holding time and judgment of qualified steel pipe during the pressing process, and can store the pressing curve, holding time and judgment record of qualified steel pipe, so as to facilitate the search and quality tracking. By introducing the present situation and some structural functions of hydrostatic testing machine, the automatic control scheme of hydrostatic testing machine is put forward, including the design scheme of hydrostatic system, the principle and design scheme of hydraulic control system, and the design scheme of monitoring software. The results show that the visual automatic control system based on VB and STEP7 can satisfy the requirement of the hydrostatic testing machine's pressing process, and realize the real-time monitoring of the field equipment by the upper computer through the free port communication mode. In this way, the advantages of PLC and industrial computer are fully used, which has certain engineering application value. Therefore, the field resources and the existing theoretical knowledge can be effectively used and the design results are in line with the actual situation, which can well meet the market requirements for steel tube inspection equipment.