Font Size: a A A

Android Mobile Phone Automationtest Analysis

Posted on:2020-01-30Degree:MasterType:Thesis
Country:ChinaCandidate:X H ChenFull Text:PDF
GTID:2428330620458338Subject:Electronics and communications
Abstract/Summary:PDF Full Text Request
Smart phones have occupied all aspects of people's lives,such as video communication,mobile payment,e-reading,etc.At present,IOS,Android and Xiaomi are the main carrying systems of smartphone terminals,however,Android mobiles still account for most of the domestic market,such as Samsung,Huawei,OPPO and other mobile phone manufacturers.Faced with such a fierce competition in the mobile phone industry,it is particularly important to improve its quality,especially the test part of mobile phone software quality.For the heavy repetitive testing work,manual testing has been unable to meet the test requirements.Therefore,automated testing instead of manual testing has become the focus of the mobile phone industry.Aiming at the serious problems existing in the testing of Android mobile phones in a company,such as single physical equipment,difficult to detect by manual testing,excessive testing manpower,etc.An Android automated test system based on UIAutomator framework and suitable for a factory test standard is designed and implemented.This paper describes the basic characteristics of automated testing,and on the basis of the application occasions,introduces the relevant technologies needed for the automated testing system scheme.Taking several high,middle and low-end mobile phones of a company as examples,the requirements of Android automated testing are analyzed.Base on Python language,using PyCharm tools and UIAutomator framework,design an automated test system,and the test cases are covered by requirement design.The automatic test system on Windows system is built,Called the interface provided by Device library file in UIAutomator,the automatic test system suitable for a company test standard is realized.In writing automated test scripts,the control parameters provided by UI Automator are used to adapt to different mobile phone models.Through the execution script of the automated test system,the product of a company was tested,and the current test results were compared with the test results obtained by previous test methods.The results of an automated test system based on Python language and UIAutomator framework shows that,this system can solve the test problems mentioned in this paper,improve the test efficiency,save test manpower and reduce test cost,achieved the expected goal of this subject,and be formally used in a company.
Keywords/Search Tags:Automation Test, Android, UIAutomator
PDF Full Text Request
Related items