Font Size: a A A

Design And Implementation Of Automated Testing Platform For Android Mobile Phone Application Software

Posted on:2022-08-15Degree:MasterType:Thesis
Country:ChinaCandidate:J M WangFull Text:PDF
GTID:2518306779991579Subject:Enterprise Economy
Abstract/Summary:PDF Full Text Request
The compatibility test of Android mobile phone application software is mainly to verify whether the application software can work normally on different mobile phones,due to the diversity of mobile phone brands,models,system versions,screen sizes and resolutions,etc.,Android mobile phone application software testing is more complicated than general software testing,which requires a large amount of manpower and time,it is a great difficulty and challenge for software enterprises and testers.The existing automated testing platforms have improved the test efficiency to a certain extent,but most of the current automated testing platforms can only support a single mobile phone to run tests,the test efficiency is not high,only a few platforms that can support multiple mobile phones to run tests in parallel,but their implementation methods and environment deployment are too complicated,which is not conducive to the large-scale implementation and application of automated testing platforms.In view of the above testing difficulties and the shortcomings of the existing automated testing platforms,this thesis designs and implements an automated testing platform that supports parallel running tests of multiple Android phones of different brands,different models,different system versions,different screen sizes,and different resolutions.This platform does not require additional deployment of other environments,is very easy to implement and operate,and solves the "fragmentation" problem in Android application software compatibility test.Therefore,the main task of this thesis is divided into the following four points:1.Study the current situation of automatic testing of mobile application software in domestic and overseas,as well as Android,software testing,Python parallel,Pytest testing framework and other related theories and technologies.2.Study Monkey,Monkey Runner,UiAutomator and Appium,four popular Android automation frameworks and their applications,compares and analyzes these four Android automation frameworks,and realizes the secondary encapsulation of the common operation methods of Appium and ADB.3.Automated testing platform requirements analysis and automated testing development environment construction.4.Research and application of YAML language,PO(Page Object)design pattern,using Python as the programming language of automated testing platform,Py Charm as IDE,Appium as the automation testing framework,PO design pattern and YAML are used to manage test data and configuration information,which realizes the separation of data,script and business logic,combined with Pytest and Python multi process technology,designed and implemented a compatibility test automated testing platform that supports multiple mobile phones running in parallel.This automated testing platform does not need people on duty and supports the parallel operation test of multiple mobile phones,compared with manual test and other automated testing platforms that only support the operation test of a single mobile phone,the test efficiency is improved several times,the test cycle is greatly shortened,and a lot of test manpower and test time are saved for enterprises,which achieves the research purpose of this thesis,it provides some reference for exploring more efficient and flexible mobile application software automated testing platform.
Keywords/Search Tags:Android, Automatic testing, Appium, Python, Parallel
PDF Full Text Request
Related items