Rapidly growing mobile applications make people's lives colorful,but as the number of large increases,the quality of the control is difficult to keep up with the rhythm,the traditional manual test method is difficult to deal with such a large number of applications.On the one hand,manual testing will take a large part of the time,will increase the cost;the other hand,the fragmentation of devices and OS releases,it is difficult to ensure compatibility issues.Therefore,how to effectively test the Android application has become a difficult problem.In view of the above situation,Android automated test technology can be a good solution to this problem.It can replace the manual operation,fully automatic operation,and can concurrently test multiple applications at the same time,improve the efficiency of the test.But its test algorithm and implementation will affect the test results and test efficiency.This is making higher demands on Android automated test system design.Aimed at inefficient algorithm in previous research results,we designed and implemented a GUI-based automated test system without modifying Android platform and application,named”GATS”.it effectively reduces the time required for testing and increases the number of application errors found.The main work of this dissertation includes: 1)Research and analysis of the current domestic and international Android automated test system,summed up their advantages and disadvantages.2)In order to solve the low effeciency of getting UI in Dynodroid,we present a method by Android accessibility.3)We present an algorithm based on state machine,design and implement the GATS.4)We validate the system performance with the real applications.The experimental results show that the GATS system has a significant improvement in efficiency and effectiveness. |