Font Size: a A A

Implementation And Optimization Of Automated Test Cases Based On Android System

Posted on:2021-03-31Degree:MasterType:Thesis
Country:ChinaCandidate:H C PengFull Text:PDF
GTID:2428330614465777Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
Android system as the main mobile device operating system in recent years,has a very broad application prospect.The number of applications of APP software based on this system is increasing day by day,and the test demand for these software applications is also imminent,so the automatic test based on Android system came into being.This paper mainly studies how to write and manage automated test scripts,and puts forward the implementation and optimization scheme of automated test cases based on Android operating system.The main contents of this paper are as follows:(1)This paper studies the development process,platform architecture and platform characteristics of Android system,in addition,it also studies the principle,purpose,relative merits and related tools of automated testing,as well as various environments that need to be built to realize automated testing.(2)Aiming at the problem of how to carry out automatic test,starting from the background and function of test task requirements,combining with different perspectives of functional process and Script Architecture,and research on test task,in conclusion,the requirements analysis and design of automated test are completed;this paper also studies the related concepts,components,architecture,advantages and disadvantages of Appium,which is an automated testing framework.(3)Based on the above analysis and design,the environment of automated test is built,this paper studies how to realize basic automated test scripts and how to execute scripts in batches and generate test reports.(4)Based on the above script,this chapter studies the problems and optimization goals of script writing;it also studies the structure of designing automated test cases based on unittest framework,encapsulation of initialization methods,and setting default templates for use cases to optimize test cases;however,it studies keyword-driven technology;in addition,it still studies the concept of hierarchical management of automation project structure,and implements classification management of test tasks,making the entire test plan more reasonable and efficient;finally,the results of optimization in this chapter are analyzed.
Keywords/Search Tags:Automated test, Android, Python, Appium
PDF Full Text Request
Related items