With the growing use of Android phones,a wide range of Android applications a large number of users to use the app,with a wider range of options.Also on the app’s functions,performance requirements in all aspects.The development of a mobile application,in order to obtain user recognition,software features,performance,stability,etc.become more important.To ensure product quality,more and more companies implements mobile application testing.Automated testing as a means of mobile testing,saving labor costs.And in a sustainable integration approach to help develop early detection of defects and repair defects.Existing test tools,such as Monkey,MonkeyRunner,Robotium although provides a good test function,but they have their shortcomings.In order to keep up with the needs of business testing,the need to further improve their shortcomings of the original test tools.We combined the business needs of the product,designed a complete automated test system.Meet the functional testing,as while as performance testing,stability testing and other testing needs.And provides log management,report management,use case management and other functions.Which functional testing,performance testing,stability testing as the core needs.Log management,report management,use case management,and device management.I address these needs,provides a complete set of solutions.For the functional test,a testing method using BDD separation service and technology is put forward.For stability testing,a set of schemes for error collection and escalation is provided.For performance testing,a method for obtaining real-time performance data and performance trend data is provided.Finally,an example is given to solve the localization problem and realize the test closed loop. |