Dissertation > Industrial Technology > Automation technology,computer technology > Computing technology,computer technology > Computer software > Program design,software engineering > Software Engineering > Software Maintenance

The Application and Research on Web Testing Method Based on Model

Author ZuoXiangWei
Tutor SunYao
School Harbin Engineering University
Course Navigation,Guidance and Control
Keywords Web test test method based on model UML collaboration diagram and activity diagram test case
CLC TP311.53
Type Master's thesis
Year 2011
Downloads 19
Quotes 0
Download Dissertation

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.

Related Dissertations
More Dissertations