Font Size: a A A

Design And Implementation Of Web Automation Testing Framework Based On Selenium

Posted on:2019-11-10Degree:MasterType:Thesis
Country:ChinaCandidate:J J FengFull Text:PDF
GTID:2428330593450047Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of computer software and hardware technology and the rapid popularization of Internet technology in the world,network applications have become the intermediary of information and the platform for information release.Web applications occupy a large share of the software market with its easy to operate,fast and convenient features,which leads to the increasing demand for Web application testing.Due to the increasing demand for software quality,the system scale and the system server performance of the Web application software are improved in order to improve the function of the application software and the system server.In order to win the market share and promote the application product to update the product frequently,in order to ensure the quality of the product in the rapid iteration,the workload of the test is very large,and the test efficiency is low,and the test efficiency is low,and the test efficiency is low.It requires a lot of human cost.To solve this problem,automated testing of Web applications is needed.In this paper,the research status of Web automation testing at home and abroad,analysis and summary of the existing problems in the present situation,in order to solve the existing problems in the status quo,so that a set of universal automatic test framework for all Web applications is designed.The framework is integrated with the open source Web automation testing tool,Selenium,which supports cross platform cross browser testing.The whole test framework is divided into two major parts,one is a server layer based on a continuous integrated server,and the other is the execution layer based on test scripts and test execution platforms.In order to improve the maintainability and reusability of test scripts,a layered architecture is designed for the test scripts,in which a large number of two development of the underlying interface of the browser's operation are provided by Selenium.The framework uses Python scripting language to implement test scripts,uses Excel to save external test cases,XPath data of Web page elements,and test results reports,and separates test data,page elements,and test business scripts using data driven mode.The code of this automatic test framework has been fully implemented and debugged successfully.It can implement UI layer function test,compatibility test,stability test,distributed test,support a variety of execution strategies for Web applications,and provide a variety of practical auxiliary functions.In the practical application,the test framework has been used for multiple regression tests on a Web application,and thousands of test cases have been automated testing.Through the analysis of the regression testing of logarithmic and manual tests,it is found that the test framework has greatly improved the test efficiency and should be improved.The quality used is of great engineering application value.
Keywords/Search Tags:Web automated testing framework, Selenium, Test script development
PDF Full Text Request
Related items