Font Size: a A A

Research And Application Of Model Driven Web Automated Testing Platform

Posted on:2022-12-18Degree:MasterType:Thesis
Country:ChinaCandidate:L X YangFull Text:PDF
GTID:2518306758474634Subject:Electronics and Communications Engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of computer technology and Internet technology,Web applications based on B/S architecture have developed rapidly.The architecture level of Web applications is becoming more and more complex and the quality requirements are getting higher and higher.In order to ensure the quality of the Web application system,it is necessary to carry out high-quality software testing for Web applications,and it is also necessary to carry out automated testing for Web applications to improve test efficiency.However,most of the existing automated testing tools require testers to write test cases manually.This process is greatly affected by human factors and cannot well meet the test requirements of Web applications.In order to improve the testing efficiency and coverage of Web applications and ensure the quality of Web applications,this paper proposes and implements a model-driven automated testing platform for Web applications.Specific work includes :(1)Research on test case automatic generation technology based on UML model.Firstly,the UML state diagram is used to model the behavior of the tested application,and then the UML use case diagram is used to associate the UML state diagram to realize the test strategy formulation.The test path generation algorithm and test data generation algorithm are proposed according to the corresponding UML model diagram combined with test coverage criterion and risk-based test.Finally,the test path and test data are generated according to the corresponding algorithm to generate test cases that meet the test requirements.(2)Design and implementation of automatic test platform.In this paper,the automatic test case generation technology based on UML model is applied to the automatic test platform,and the requirement analysis and overall design of the platform are realized.The platform is mainly divided into two parts,which are composed of server and client.The server is to realize the test project management,test modeling,test case automatic generation,test set establishment and execution and test results analysis and display.The client is mainly based on keyworddriven,data-driven and hierarchical ideas of Web automation test tool Selenium secondary development and packaging,build Web automation test framework to achieve automatic execution of the test.(3)Application verification and experimental comparison of automated test platform.The automatic test method and automatic test platform in this paper are used to select the suitable application for application verification,and the current test tools are selected to realize the comparative experiment of test efficiency and test coverage,and the test cases of the automatic test platform are counted.This test platform realizes from test strategy design to test case automatic generation,and then to test automatic execution.Making full use of test resources to achieve automatic execution of 7 × 24 hours improves the test efficiency and coverage of Web applications to a certain extent.
Keywords/Search Tags:Auto-testing, Model-driven, Test case, Keyword-driven, Web application
PDF Full Text Request
Related items