Font Size: a A A

Design And Implementation Of Automatic Testing Framework For Mobile Phone Application

Posted on:2018-12-13Degree:MasterType:Thesis
Country:ChinaCandidate:C R WanFull Text:PDF
GTID:2428330596990031Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid spread of smart phones,smart phone applications are as mushrooms in general quickly in various industries to take root.In order to seize the market opportunities,enterprises have their own products,mobile phone APP(Application)development work as a major among all the development of the system.In this great market environment,companies began to launch a variety of mobile phones for different groups APP.APP mass production and frequent iteration of the market,APP test work to the testers brought great challenges.At present,the manual test on the mobile end of the APP application welcomed by many companies,but the traditional manual test method there are many inconvenience,cannot solve the version of the iterative large-scale regression test.In order to reduce the test workload and improve test efficiency,the introduction of automated testing is imperative.The system through the in-depth analysis of a company's current test needs and the combination of existing open source UI(User Interface)automated testing framework to build ideas,to meet the software design ideas and system architecture features under the premise of the development of a compatible Android and iOS platform UI layer automated testing framework.Using hierarchical architecture,we divide the system into four layers,and communicate with each other through the WebDriver protocol.In order not to repeat the wheel,the bottom of our integration of open source automation test framework Appium to complete the Android and iOS different platform automation test compatibility processing.In the business layer,according to iOS(Android)GUI test features designed reusable page element control positioning library,so that test cases and element control separation,to facilitate the follow-up maintenance of the framework.At the case level,we designed a set of case templates that dealt only with business process operations,and the general testers were able to test the case script based on the template.At the same time,in this system,we have the unit test based on the test technology transplanted to the mobile APP test,so that the framework has a test management functions,including test data,test cases,test execution,test reports and other test work to manage.In addition,we also designed to optimize and achieve the test report automatically generated by browsing the test report at a glance to know the test results.In summary,this paper based on the integration of excellent test framework,in-depth study and design and ultimately to achieve the mobile automation test framework,and has been put into the project practice.A good feature of the automated test framework must first meet the functional testing requirements in the functional test,the framework of the full meet the practical needs.In addition,this paper in the mobile APP automated testing framework not only adapted to a company's mobile APP product testing,but also adapted to other APP products,automated testing.Therefore,this also solved a variety of companies APP product regression test,compatibility test coverage and test the workload of large problems,improve the test efficiency,speed up the progress of a company's product release,enhance the competitiveness of enterprises.
Keywords/Search Tags:Automatic Testing Framework, Mobile automation testing, UI automated testing, Mobile APP automated testing
PDF Full Text Request
Related items