Automated regression testing of Web applications platform for research and implementation
- Author
- TangNing
- Advisor
- ShenBeiJun
- School
- Shanghai Jiaotong University
- Major
- Software Engineering
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 59
- Citations
- 0
Abstract
With the rapid development of Internet, the changing market demand, Web application development showing a short cycle, update frequency characteristics, which give regression testing Web applications bring new challenges. Web applications that currently exist automated regression testing tools are generally based on recording and playback mechanism. The disadvantage of this approach is the separation of data and the script does not, the script maintenance of large, reuse rate, general poor and expensive tools. In this context, this paper researched and developed an intuitive interface, low operating cost, with high reusability of Web automated testing platform Common Service Layer (referred CSL). This paper studied the regression testing, automated testing, Web application testing theories, analyzes the status of automated testing and abroad, combined with the characteristics of Web applications, the definition of CSL's requirements specification. Then follow the high cohesion and low coupling design principles, using a hierarchical design CSL style architecture and the use of test case documentation and reflection technique to achieve dependency injection to achieve the purpose of decoupling between layers, so that the test logic can be extracted and replacement, while the test data and test logic to achieve a separation. Then, based on Java Selenium Remote Control mode, completed the CSL platform implementation, and provide external interface that supports rapid secondary development, scalability and portability is good. Regression testing of Web applications based on behavioral analysis, CSL and validation platform will return all operations into different categories, such as a browser request, page interaction, W3C normative class, appearance test, etc., to do this one by one in detail. Which is conform to the requirements of the Internet market, CSL platform in the W3C specification of testing appropriate to make some extensions, allowing it to support the validation of search engine optimization, the introduction of the current several major search engines (Google, Yahoo, Live Search) Search engine optimization rules as a separate test cases. In addition, compared with other similar test platform, CSL platform used in the appearance test set box screenshots, and then compare the per-pixel bitmap unique approach, so that the original appearance of regression testing more cumbersome completely out of human intervention, avoiding manual tests may ignore errors. CSL platform than similar products of other big advantage is open source, and fully support functions and browser extensions. Meanwhile, the architecture combines the advantages of FitNesse, so they can be run directly in text form test cases, test methods automatically find an association with the background, run tests and complete report on the results, thus improving the readability of test cases, and easy to backtest code maintenance and reuse. Currently, CSL platform in Windows MSN Live system has been applied. Practice shows, CSL platform can significantly reduce the iterative version of the regression testing labor costs, improve test efficiency, thus ensuring the quality of software products. When testing the behavior of library automation testers by the relevant design is complete, general product testers need to prepare the test data generated can be used to complete the test case files or expand the platform, this feature reduces the automated maintenance and re-development costs, CSL platform improves engineering application value.
Table of contents
Abstract 5-7
ABSTRACT 7-11
1. Introduction 11-17
1.1 research background and significance 11 - 12
1.2 Current Situation and abroad 12-15
1.3 Research objectives and content of this article 15-16
1.4 paper structure 16-17
2. Web test model and technical overviews 17-28
2.1 Web test model 17-21
2.1.1 Web test modeling 17 - 20
2.1.2 Web test model of the three categories 20-21
2.2 Web testing basic technical 21-25
2.3 Regression testing 25-27
2.3.1 Regression Testing the definition and classification 25
2.3.2 regression testing strategies and procedures 25-27
2.4 technology for Web applications tested the effect 27
2.5 Chapter Summary 27-28
3. automated regression test platform needs analysis 28-37
3.1 Web Application Development characteristics and challenges 28-29
3.2 platform goals 29-30
3.3 Test Process Analysis 30-32
3.4 platform use to analyze 32-33
3.5 CSL overall platform functional analysis 33-34
3.5.1 build test cases 33-34
3.5. 2 Automated test execution 34
3.6 development environment and testing aids choice 34-36
3.7 Chapter Summary 36-37
4. Automation Regression testing platform for the design and implementation 37-51
4.1 architecture design 37-39
4.2 functional structure design 39-41
4.3 Test Design and implementation of use cases 41-43
4.3.1 test content analysis 41-42
4.3.2 test data structure 42-43
4.3.3 test file format 43
4.4 Test Engine Design and Implementation 43-49
4.4.1 reflex mechanism 44 - 46
4.4.2 dependency injection 46-47
4.4.3 engine implements 47-49
4.5 Chapter Summary 49-51 <br / > 5. automated regression test platform application examples 51-62
5.1 MSN Live Site Introduction 51
5.2 browser requests the analog 51-53 < br /> 5.3 appearance of the page automatic test 53-55
5.4 page interactive simulation 55-56
5.5 page specification test 56
5.6 editing demonstration test 56-59
5.7 test case execution 59-60
5.8 test reports 60-61
5.9 Chapter Summary 61-62
6. Summary and Outlook 62-64
6.1 Summary 62
6.2 Next Steps and outlook 62-64
References 64-67
Thanks 67-68
papers published during the study for a degree directory 68-70
Related dissertations
- Research and Implementation of an Automatic Embedded Test Platform
- The Research and Implementation of Automated Testing System on Power System Real Time Database
- Rules Driven Test Framework
- Automated testing of Web applications
- The Research of Web Functional Automated Testing Based on UML Activity Diagram
- Research and Implementation of Automatic Tester for Encryption Module of Wireless Network Interface Controller
- Research and Development of GUI Software Automated Testing Tool
- The Design and Implementation of VMware Fusion System’s Automated Testing
- Research on Automated Unit Test Framework and UseCase Management
- Research on the Method of Benchmark Database by Functional Testing Based on Financial Business Systems
- Design and Implementation of an Automated Testing Platform
- Development and Application of Radio Network Controller Automated Test System
- QTP -based software regression test automation framework development and application
- Design and Implementation of Function Test Tool for E-Business Product Commerce
- An automated test -based content management system design and implementation
- Desing and Implementation of Alarm Subsystem of Mobile Network Management System
- The Application and Research of Automation Test with Dojo Based on Selenium
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- College Students' information management and analysis system
- Research on Combinatorial Testing Technique and Its Application