Font Size: a A A

Reasearch And Implementation Of WEB Function Automation Test System Based On Selenium

Posted on:2018-12-04Degree:MasterType:Thesis
Country:ChinaCandidate:Y M LiuFull Text:PDF
GTID:2428330542988507Subject:Control engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet and software testing industry,the traditional manual testing has been unable to meet the meet the daily test work.The self-development project of wasu adopts an Iterative development,the need to quickly go online to meet user needs,This puts forward very high requirements for testing work,and requires tester to conduct version testing efficiently,quickly and comprehensively.The WASU Intelligent terminal upgrade system based on the Java platform developed,the project has a long cycle time and relatively many iterations.Each iteration version involves more function points and requires regular regression tests.But the time of the project team is very intense for the tester,With constant increase and change of the system requirements,the original manual test has been unable to meet the test requirements of project team daily,to establish a set of automated test system is imminent,the automated test system to complete the daily regression testing of the project,to ensure the quality of the released version of the project.In this paper,the automatic test system of Web function based on selenium is researched and implemented from the automatic test case writing and automated test case execution.Firstly,this paper analyzes and compares the common automation testing tools in the software testing industry,focuses on the research of the Selenium Automation test tool and the TestNG Automation test framework,integrates the Selenium and the TestNG framework as the tools to write the automation test cases.Secondly,the basic function of the test system is analyzed,the requirement of the test system is analyzed and the test case is designed.Then the whole framework of the automatic test system is designed and implemented.The automated test case design is divided into configuration information layer,database layer,POAPI layer,test case layer,page element positioning using Selenium WebDriver,use the PageObject design patterns separate page elements and operation,improve the maintainability of test cases,use Excel parameterization of test cases,the use of log4j log function,the use of TestNG for integration testing,through the expansion of the realization of the screenshot function.The Jenkins is used to execute the automated test cases.The Selenium HTML report plug-in is integrated to display the results of the automation test,and the execution results of the automated test cases are analyzed.
Keywords/Search Tags:Selenium, testng, automatic testing, test scripts, jenkins
PDF Full Text Request
Related items