Font Size: a A A

The Design And Implementation Of Testing Tool Of Smoke Based On UiAutomator

Posted on:2016-12-23Degree:MasterType:Thesis
Country:ChinaCandidate:R R FanFull Text:PDF
GTID:2308330479491505Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Nowadays, with the rapid development of the economy, the electronic industry has also made people amazing.Among them, the Android industry is one of the outstanding.With the upgrading of the hardware, the Android software industry is also rapidly rising, while the quality of the software should be guaranteed.In any phase of the software life cycle, once the software changes, it is possible to bring the problem to the software. We have to re test the existing functionality of the software in order to determine whether the revised meet the expectations of the target, and verify whether the original damage to the original normal function. At the same time, it also needs to add new test cases to test the new or modified functions. In order to verify the correctness of the modification and its effect, it is necessary to carry out a regression test. As a component of the software life cycle, regression testing has a large proportion of workload during the whole software testing, and multiple regression tests are carried out in every stages of the software development. In the gradual and rapid iterative development, the new version of the continuous release needs a lot of regression testing, and in the extreme programming method, it is the request of a number of times a day regression testing. Therefore, it is very meaningful to develop a set of regression testing tools with high efficiency and performance.In this paper, the issues raised above, the proposed framework for automated testing on Android platform Ui Automator for UI controls, and in this framework is designed and implemented automated testing tool Smoke. This article draws on a number of different Android platform automated testing technology and testing framework, designed a set of test tools Smoke based automated testing framework Ui Automator, and to establish the appropriate script library. The testing tool can be used not only for regression testing, but also for smoking testing and stability testing. This paper also analyzes the current on the Android platform on the UI automation testing tool specific needs, not only design the testing tool required architecture and its specific work process, more successful realization of the concrete function modules, including equipment loading module, the script deployment module, test setup module, log module. he test tool is connected to the Android device through the ADB command, and the script is passed to the test device by the command, and the call command is executed on the test case for the Android to the push device. Android equipment will be prepared in accordance with the steps of the script, real-time analysis of the test log, and automatically generate the t est report.Through the research and development tools for functional testing and non functional testing, the results of the test are generally in line with the expected results, meet the functional requirements and non functional requirements of the system. At present, the testing tool Smoke has been used in the daily regression testing of the internship unit, and has shared a lot of testing work for the testers.
Keywords/Search Tags:Android, Automated test, Ui Automator framework, Regression test
PDF Full Text Request
Related items