Proportional solenoid is the key component in electro-hydraulic proportional control systems. The static and dynamic performance of the proportional solenoid directly affects the control accuracy, response speed and reliability of the whole system. To test the static and dynamic performance of the proportional solenoid accurately, reliably as well as conveniently, an automatic test system with the combination of the sensor and control technology is developed in this paper. The entire system consists of mechanical structure which could position the proportional solenoid and adjust the displacement, the control and measurement part whose main function is to control the motion of the stepper motor ,set the drive current of the solenoid through the proportional amplifier and collect data. The experimental apparatus allows rapid switch between static test and dynamic test through two vertically-positioned pins and other accessories, which makes this test system different from the others. The experimental results demonstrate the feasibility and the rationality of the design.