Font Size: a A A

Design And Implementation Of Automated Test System For Android Application

Posted on:2021-05-09Degree:MasterType:Thesis
Country:ChinaCandidate:X LiuFull Text:PDF
GTID:2428330620961333Subject:Engineering
Abstract/Summary:PDF Full Text Request
Android has become the mobile system with the highest market share nowadays.Users can make more choices of applications because of various applications Android supplies.If app can form word-of-mouth spread among users,it must have strict requirements on its function,performance,stability,etc.Testing as an important part of product quality assurance,it has become an essential step in the process of software development.As product functions continue to increase and user requirements change,traditional manual testing has been difficult in meeting the growing testing requirements,so automated testing method is used more and more widely.In view of the importance of automated testing in the testing work,this thesis design and implement a set of automated testing system for Android applications.The system contributes to standardized testing process,shorten testing time,improve testing efficiency and lower testing cost,ensures the product quality and provides a strong support for an application to be released on time.The main work of this thesis are summarize as the following:(1)The analysis of requirements.Combined with the business status of the app to be tested,this system can be divided into several major modules,such as UI automated testing,interface automated testing,stability testing,testing report managements and so forth,to meet a variety of testing needs.In this thesis,the requirements of each functional module of the system are analyzed and described in detail.(2)Design of stability testing tool.According to the characteristics of the Android GUI widgets,built a GUI model based on widget.The reinforcement learning algorithm is used to guide the testing process to fully test the GUI state that has been explored.Based on the open-source Monkey and Android Framework,implemented a stability test tool called Q-Monkey.Comparing test tools Q-Monkey with Monkey in experiments,Q-Monkey has advantages in both coverage and the ability to detect bugs.Therefore,the efficiency and effectiveness of the tool in the field of stability test are verified.(3)Design and implement the automated test system.The system are decomposed.Vueframework and Element-UI components is applied in the front end of the system,and used Webpack for front end code management,so as to realize fast debugging,reduce the difficulty of front end code development,at the same time,it makes the system interface more concise and practical;Spring Boot framework is used in the back end,Tomcat container internally installed,making system deployment easier;used Spring Security framework and JWT not only ensures the security of the system,but also realizes the configurability of system permissions.
Keywords/Search Tags:Automated Testing, Automated Testing System, Android, GUI Model, Reinforcement Learning
PDF Full Text Request
Related items