Font Size: a A A

Markov Chain-based Web Application System Test Case Generation Technology

Posted on:2021-05-21Degree:MasterType:Thesis
Country:ChinaCandidate:Y Z LiuFull Text:PDF
GTID:2428330614965725Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
Web application has been becoming the mainstream technology in the software domain due to its unique features of convenience,speed and ease of operation.Meanwhile,the e-commerce platform system,as a typical application of the web system,has attracted more and more attention.With the increase of complexity and large scale,testing for web application has become more and more important.In order to win market position,meet the high-quality requirements of users for the system,and continuously expand the complexity and system scale of web application systems,the importance of web application system testing gradually emerges.At present,the testing of web application systems is still dominated by manual testing,which requires manual generation and execution of test cases.Therefore,testing technology cannot meet the requires of rapid iteration of software version due to its low test efficiency.This thesis focuses on the analysis of specific web applications,and proposes automatic test case generation algorithms and automatic execution methods.Specifically,first,it provides the requirements analysis of the Web application system,establishes the corresponding demand function flowchart,and constructs the Markov chain by using the model structure,and Perfect use model structure.The analytic hierarchy process is utilized to calculate the transition probability between states in the model.Second,based on the transition probability between states,an automatic test case generation algorithm is designed to automatically generate the test case paths with higher coverage percentage of states and key modules.Finally,Selenium combined with unittest framework are used to automatically generate the required test cases,and the experimental results also verify the efficiency of proposed methods.The experimental results show that the method of automatically generating test cases based on the Markov chain model can automatically generate more high-quality test cases than traditional manual testing methods,which significantly improves the efficiency of software testing.The proposed automatic testing and implementation technology can fully meet the requirements of the web application system for testing.
Keywords/Search Tags:Web application, Markov chain, selenium, Test case
PDF Full Text Request
Related items