The invention provides a testing system for the keystroke life including a keystroke input module, a singlechip, a liquid crystal display module, an air pressure regulator, at least one electromagnetic valve and at least one direct-acting air cylinder. The keystroke input module is to incept the order of the starting and closing testing system and incept the testing parameter. The singlechip includes a microprocessor and an application; the microprocessor can order the electromagnetic valve by carrying out the application. The liquid display module is to display the setting testing times and the present testing times. The air pressure regulator supplies the air pressure for the direct-acting air cylinder to make it move up and down by the electromagnetic valve to control the button and test the button life. The invention also provides a method. The invention constructs by the singlechip instead of the PC, so it has the function of speed adjustment and the power-off protection function. |