The invention discloses a distributed automated testing method and
system. The method comprises the steps that a
server detects whether a test task which is created and sent at the Web front end and comprises at least one
test case exists in a
database or not according to an assignment period, and if yes, the test task and test task information corresponding to the test task are obtained; whether a
client of which the environmental state is idle exists in clients connected with the
server or not is detected, and if yes, the specified number of the test cases are sent to each
client of which the environmental state is idle; the test cases are received by the clients, after the environmental states of the clients are set to be non-idle, a pre-installed
test program is started to conduct testing on the test cases, after testing is completed, the environmental states are set to be idle, and the test results are fed back to the
database. According to the distributed automated testing method and
system, the test cases are assigned to multiple clients, automated testing is conducted simultaneously, the time for testing multiple test cases is shortened, and the testing efficiency is improved.