The invention discloses a method and
system for automatically testing the WIFI compatibility of a
mobile phone. The method includes the steps that a
client terminal replays an
automatic testing script to automatically correct information parameters of a
router and sends a broadcast to a tested
mobile phone terminal, wherein the
automatic testing script is composed of batch files and scrip bodies, the batch files are generated through the
client terminal and comprise ADB broadcast sending instructions, the script is recorded through an
automatic testing tool and comprises instructions used for correcting the information parameters of the
router and the corrected information parameters of the
router. The
mobile phone terminal monitors whether the
client terminal sends the broadcast or not, if yes, the mobile phone terminal is connected with a designated AP according to a
list, a test result of
network connection is recorded and displayed, and the
list is generated through the automatic testing tool and comprises the corrected information parameters of the router. According to the method and
system for automatically testing the WIFI compatibility of the mobile phone, complicated manual tests in the prior art are replaced with automatic tests, labor force can be reduced, and in addition the testing efficiency is greatly improved.