Font Size: a A A

The Application And Research On Web Testing Method Based On Model

Posted on:2012-08-20Degree:MasterType:Thesis
Country:ChinaCandidate:X W MinFull Text:PDF
GTID:2218330368982282Subject:Navigation, guidance and control
Abstract/Summary:PDF Full Text Request
With the development of computer technology and Internet technology, Web application software is widely used in the field of each of the society in. With the growth of market demands, the scale of Web application software becomes larger and larger, the function of which is more and more complicated. Meanwhile, the fierce commercial competition requires the development period of the Web application software being shortened, so as to test it is lack of time and human resources, how to guarantee the quality and reliability of Web application software becomes more and more important. A great deal of characteristics such as dynamics, different constructing, erupting simultaneously and distributing that compared with traditional software Web application software has, make the traditional method of testing of software seem to awkward when applied to test the Web application software.Software test technique based on model is studied in this paper for web application software. UML model which is the industrial modeling standard is chosen as test model among numerous models. Combining the interaction and concurrency characteristics of Web application software, UML Collaboration Diagram and Activity Diagram is used to construct test model and the method to generate test case based on these two kinds of models is studied. The content is as following:First of all, the current research situation of web application software test is expounded and influence that the characteristic of Web application software brings to software test is analyzed. Then a conclusion is made that model based test technology is an effective method to solve Web application software test and the industrial modeling standard UML model is chosen for its commonability, formalization and high ability of describing.Secondly, the UML test model is analyzed and the superiority of using UML model to construct Web system is illustrated. UML cooperate diagram model and UML activity diagram model is adopted to put up the test model considering the strongly interaction and max concurrency characteristics in Web application software.The role of these two kinds of models in testing is analyzed.Then, the test case generation method which based on the UML collaboration diagram model and UML activity diagram model is investigated deeply, method of constructing adjacency table is used to get test scenario from the collaboration diagram, and Cycle News and branch information was processed. For the activity diagram model, structured approach is researched, and processing method for the object flow, concurrent, looping and branching has been mainly analyzed. For a combination of test data, a collective method of equivalence class partition and boundary value analysis using in the black box testing is presented.Finally, a model based web test case generation system is designed and realized, the overall framework and main modules of the system is analyzed. For the collaboration diagram produced test case module, the structure of system message and the design of several crucial classes are given. For the activity diagram produced test case model, the recognition algorithm of complex structure is given. For the test case management module, Access database is used to store test cases. Web testing techniques based on model are evaluated. The method meets demands closer, reduces the repairing cost of test defects, and makes contribution to the realization of test automation.
Keywords/Search Tags:Web test, test method based on model, UML collaboration diagram and activity diagram, test case
PDF Full Text Request
Related items