The invention relates to an automatic testing method of Android device software, and the automatic testing method comprises steps of automatic recording, replaying and verification of scripts, wherein the recording comprises following steps of (101) starting a tested program, and creating a layer of transparent View layer covering the tested program, wherein the transparent View layer is a subclass of android view View; (102) operating a screen or keys according to a test requirement; in the operation process, the transparent View layer captures and records a corresponding touch control / keystroke event, and an operation instruction is transmitted to the tested program through an analog touch control / keystroke event; and the tested program executing the operation instruction. The automatic testing method is based on an Android system and unnecessary for utilizing a shell order and a high-performance personal computer (pc), so that the test safety, reliability, universality and easiness in implementation can be enhanced.