Font Size: a A A

Research And Design Of Automatic Test System For Mobile Application

Posted on:2018-08-28Degree:MasterType:Thesis
Country:ChinaCandidate:J W HuangFull Text:PDF
GTID:2348330542459901Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the continuous development of mobile Internet,the number of mobile applications' users is increasing.Mobile applications can make people's lives and work more convenient,so people's demand for mobile applications is growing rapidly.In order to ensure that mobile application can be released quickly,most companies use the idea of continuous integration to carry out the project.Most of the continuous integration platform adopt the master-slave structure pattern,which can reduce the load on the test machine and improve the efficiency of the test.But with the software scale gradually become larger,the task scheduling and resource allocation of the traditional master-slave structure is difficult to meet the demand,and unbalanced distribution and waste of resources always appear in the system.In order to ensure the quality of the software,the product should be tested effectively before released.Mobile application testing is more complex than PC software,not only needs functional testing and performance testing,but also includes network environment testing and operating system compatibility testing and other special tests.Furthermore,most of the continuous integration scheme are not well supported for mobile application testing.In order to solve the above problems,this thesis designs an efficient mobile application automatic test system,the specific work is as follows:(1)Design and implementation of a highly efficient mobile application automation testing framework.The test framework adopt the test method based on widget to record script,and improve UIAutomator tool to solve the problem that script recording can not uniquely identify the widget,so that the recording process is simple and stable.(2)To solve the problem that the automated build and the automated testing in current continuous integration scheme do not support mobile applications,this thesis uses mobile application automated build and mobile application automated build testing scheme and adopts the mobile automation test framework designed in this paper.(3)To solve the problem of the efficiency of relational database in continuous integration scheme,this thesis adopts non-relational database.In order to improve the performance of data storage and extraction,this thesis adopts Redis cache mechanism and MongoDB data persistence.(4)Using Docker to overcome the defect of the master/slave configuration of the continuous integration scheme.By using a container instead of a test machine to optimize deployment way of the continuous integration scheme,the test environment can be quickly launched and restored.In addition,using Docker plugin can improve the task scheduling efficiency and resource utilization.Finally,this thesis implements a prototype of mobile automation test system.
Keywords/Search Tags:Mobile application testing, Continuous integration, Containerization, Test automation framework
PDF Full Text Request
Related items