Font Size: a A A

The Design And Implementation Of MTBF Automated Test Tool Based On Uiautomator

Posted on:2018-06-28Degree:MasterType:Thesis
Country:ChinaCandidate:H J LiuFull Text:PDF
GTID:2348330542954049Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of mobile Internet,intelligent terminal function has been greatly developed.Using MTBF stability test to ensure the stability of the platform has played a huge role in the company's brand protection.However,with the shorten of the mobile phone development cycle,the complexity of the system stability test is increasing,and relying on manual testing method not only can not get the reliable test results,but also cause the high cost.Therefore,the MTBF stability test is getting higher and higher attention.D company operates a variety of intelligent terminal products,and B department is responsible for the smart phone software version test.The product iterative cycle is short,and the lack of manpower cause a great task of testing.B department's test team has 100 people,and still can not meet the test needs.To solve this problem,this paper designed MTBF automated testing tools to develope the D company's mobile phone version test.First of all,this paper analyzes the status of automated testing demand in department B,and points out that the iterative cycle of B department mobile phone is short,the manpower is not enough,the task of testing is very large,and the quality of version is urgently needed to be improved in stability.Secondly,based on the UiAutomator and python tools,this paper designs an MTBF automated test solution for the B department,and plans to deploy the MTBF stability test system:develop a clear MTBF stability test specification for quality assessment.This paper designed automation test tool Exec,viewed the properties of mobile phone control based on Uiautomatorviewer tool,write the script using of QK_Automation test framework,called the phone end of the apk test in the PC side,and automatically monitor the entire MTBF test process.This paper designed a complete log crawl and result analysis tools using Python to the development of positioning and solve problems,and improve test efficiency.The design can be a large-scale deployment of test scenarios,and the tools are easy to operate,and can reduce the requirements of human and technical.During the MTBF automated testing process,I was responsible for writing scripts based on the UiAutomator framework,and continued to be responsible for maintenance and updates after the important module script was written.Test the completed items to be tested,test the test results after the test is completed,submit the bug based on the test results,and send the test completion report.In addition,I am also responsible for the functional testers to teach them how to use the training and solve their problems.From the results point of view,the MTBF automated testing tools are easy to use and can be stable to operate,and can large-scale deployment of test scenarios,the results are clear and simple and measurable indicators to meet the B department's requirements of improving the stability of the quality.There are 316 bugs in the results during 6 months,and the bug solution rate>50%,making up the lack of MTBF stability test problems,and improved the test efficiency of B department,reducing the B department test labor costs.At the same time this paper provides a reference for other enterprises that want to carry out MTBF automated test.
Keywords/Search Tags:Android, Automated test, Uiautomator framework, MTBF, Mobile phone testing
PDF Full Text Request
Related items