Research of Web Functional Testing Automation Based on FSM
- Author
- FengYaLi
- Advisor
- WuWenJuan
- School
- East China Normal University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 118
- Citations
- 2
Abstract
As Web applications broad access to education, banking , aviation , e-commerce and other fields , the size of the system has expanded dramatically , business logic and processes become complicated web functional testing role has become increasingly important . The face of the system the increasing size and complexity of the improvement , Web functional testing need to improve the system and test models , in order to effectively engage in automated testing. Although now there are some Web test model , but they are mainly from the perspective of interactive navigation system structure modeling, functional test does not apply to , and there is a gap between most of the model and the actual engineering applications . Solve these problems, the functional testing of Web modeling, and combined with the practical application , the development of a web functional testing tool . The tool can be a more comprehensive test various types of defects in the Web application , and expand test coverage . The main work includes : (1) a Web-enabled test model . Entity object in the Web application to be divided, combined with the theory of finite state machine modeling web functional testing , formal description of the behavior of Web functional testing in the test case driven , to better reflect its dynamic interactive features . (2) designed two XML-based the language : FFSMDL and TCDL . These two languages ??are used to define the the Web function test model and description of test cases to achieve the transition from the model to the test script is a bridge between the model and test tools . (3 ) Based on the above work , a web functional testing tool . It is used to parse out the testers defined test model to identify all possible test path , combined with test cases to generate executable test scripts , and automatically perform the test . The testers define the functional test model and test cases based on Web functional test automation . It can detect various types of defects for the Web application , including missing and does not meet the specifications . The same time, it improves the traditional test methods , test cases and test scripts in close connection with the case , reusable test cases , and reduced the impact of the frequent changes of the specification and UI to test the robustness of the tools or recording the script .
Table of contents
Abstract 7-8
Abstract 8-11
Chapter 1 Introduction 11-17
1.1 research background 11-12
1.2 research status 12-14
1.3 content of this study and innovation 14-15
1.4 papers organizational structure 15 -17
Web Test Chapter 2 Technical Overview 17-25
2.1 Web application architecture 17-18
2.2 Web Application Features 18-19
2.3 Web test basic content 19-21
2.3.1 Functional Test 19
2.3.2 Performance Test 19-20
2.3.3 Usability testing 20
2.3.4 Security Testing 20
2.3.5 compatibility testing 20-21
2.3.6 Regression testing 21
2.4 typical Web application testing model 21-22
2.5 Web test automation tool to analyze 22-24
2.5 .1 rule-based parser 23
2.5.2 Load / Performance Test Tools 23
2.5.3 GUI capture (recording / script) and playback tools 23-24
2.5.4 Web-based bug tracking tool 24
2.6 Chapter Summary 24-25
Chapter 3 Web-based finite state machine function Testing Model 25-34
3.1 Web functional test analysis 25-26
3.2 Web functional testing model objects into 26-27
3.3 Process finite state machine (Flow FSM, FFSM) 27-29
3.4 FFSM validity 29-30
3.5 FFSM an instance 30 -33
3.6 Summary 33-34
Chapter 4 test definition language definition language and FFSM design 34-46
4.1 test definition language Design 34-42
4.1.1 test definition language design ideas 34-35
4.1.2 test definition language syntax 35-36 < br /> 4.1.3 DOM Introduction 36-37
4.1.4 HTML DOM in the test definition language design application 37-39
4.1.5 XML-based The TCDL realization 39-42
4.2 FFSM definition language design 42-45
4.2.1 FFSM definition language syntax 42-43 <br / > 4.2.2 XML-based FFSMDL achieve 43-45
4.3 Chapter Summary 45-46
Chapter 5 Web model supports functional testing tool to achieve and main modules 46-61
5.1 Floweb overall design 46-48
5.1.1 Floweb functional description 46-47
5.1.2 Floweb system architecture 47-48
5.2 test model analysis module and the main algorithm 48-52
5.2.1 overall design 48-49
5.2.2 Main algorithm 49-52
5.3 automatically generates test string module and main algorithms 52-56
5.3.1 annular test path elimination 53-54
5.3.2 Main design and algorithm 54-56
5.4 test execution engine module and main algorithms 56-58
5.5 UI module design 58 - 60
5.6 Chapter Summary 60-61
Chapter 6 Functional Testing for Web-based Floweb instance 61-67
6.1 Test Function 61 - 63
6.2 test execution 63-66
6.2.1 Process description of the finite state machine 63-64
6.2.2 Automatic generation of test string 64-65
6.2.3 testing performed automatically 65-66
6.3 Chapter Summary 66-67
Chapter 7 Summary and Outlook 67-69
7.1 paper summarizes 67
7.2 Future Work Prospects 67-69
main symbol table 69-70 <br / > References 70-73
Thanks 73-74
participate during the master's degree program and published academic papers 74
Related dissertations
- Based on EFSM WEB application user unexpected behavior test model
- Research of Performance Testing Based on Web Application
- Automated testing of Web applications
- Research and Design of Intelligent Prosthetic Knee Ankle Coordinated Control System
- Research of Hart Multiplexer and Its Software Design
- The Research of XSS Detection and Defense Based Hash Tree Matching Model
- Research and Application of Key Technology for Multimedia Player Based on Imbedded Linux System
- Research and Implementation of Intelligent Decision-making System in Business Simulation Game
- Research and Design of Test Paper Generation System Based on Genetic Algorithm
- College Students' information management and analysis system
- Design and Implementation ACM Contest Program Online Evaluation System Based on J2EE
- Wireless Sensor Network Based Active Logistics Status Tracking System
- Study on indoor localization method based on radio frequency fingerprint
- Study and Research of HDCP System Based on FSM
- Motion Pattern Recognition and Control of Active Knee Prosthesis
- Research on Feature Based NC Machining Process for Aircraft Structural Parts
- Web Based on ArcGIS Geographic Information Service System Research and Implementation
- The Research and Realization on a New Method of Embedded PLC Control System Fault Diagnosis
- Real-time Simulation System Development and Motion Characteristics Analysis of Bipedal Passive Dynamic Walking Robot
- The Control System Designning of Wheel Mobile Robot