The invention provides a method for automatically testing a machine platform, which is used for testing various machine types of a Dot hill system. The method mainly comprises the following steps: a, beginning testing; b, scanning a part number and a serial number input to the machine platform to be tested; c, judging the machine type according to the part number and calling out corresponding items to be tested; d, inquiring whether each item to be tested has record according to the serial number, and judging the tested items and the non-tested items of the machine platform to be tested; e, if each test item has record, ending the test, and preparing the test for a next machine platform to be tested; and f, if the current test item has no record, testing the non-tested items, judging whether the test is successful, and returning to step a till the test of all non-tested items is ended. The method is not only convenient and quick to test, but also is convenient for a tester to acquire the reason causing test failure.