The invention provides an automatic test method, terminal, platform and
system. The method comprises the steps of obtaining test scheme information from the automatic
test platform; analyzing the test scheme information to generate a test
instruction sequence, wherein the test
instruction sequence comprises a plurality of assertions for identifying
document object model (dom) elements and the assertions for testing the dom elements; and performing the test
instruction sequence to identify and test the dom elements in a
user interface (UI) of to-be-tested
software, and when the assertions are performed, generating feedback information and sending the feedback information to the automatic
test platform, thereby generating a
test report. According to the method, the terminal, the platform and the
system, through utilization of a feature that the structures of the dom elements in an Android
system and an IOS system are completely consistent, only the same set of test scheme is required for an Android version and an IOS version, so the test cost is reduced, the automatic test stability is enhanced, and moreover, the method, the terminal, the platform and the system have the advantages that the platform can adapt to various terminals wirelessly, multithread tests can be carried out at the same time, and the
test report is generated automatically.