The invention discloses a method and a
system for automatically testing
mobile phone applications. The method includes: S1, establishing control on a
mobile phone from a computer; S2, installing the applications to be tested in the
mobile phone; S3, obtaining component information involved in a test of the applications to be tested, and if a next application to be tested exists, moving to the step S2; S4, writing a corresponding
test script according to the component information; S5, triggering a script
actuator to send the
test script to the mobile phone for batch execution and complete automated testing of all the applications to be tested installed in the mobile phone in the step S2. According to the method and the
system for automatically testing the mobile phone applications, the
test script is written according to the component information involved in the test of the applications, a user only needs to input testing command into the computer so as to trigger the script
actuator to complete the automated testing for all the applications to be tested, a
black box test of the mobile phone applications is provided, the automated testing is achieved through a visual script method, and common testing personnel can fast and efficiently complete batch testing of the mobile phone applications.