Design and Implementation of J2EE Based Automation Testing Tool
- Author
- YuJingYe
- Advisor
- WuGuoShi
- School
- Beijing University of Posts and Telecommunications
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 151
- Citations
- 8
Abstract
Stability and reliability of enterprise software is more and more important for the security and efficiency in many corporations. However, the implementation of the enterprise software is too complex to imagine. Often, the developers can not anticipate and take full control of the different kinds of the defects which make the software product not robust. In the meanwhile, the defects will bring the customers more troubles even reduce the influence among them.Testing is an essential way to ensure the software under ordered and stable running. There are different kinds of testing methods which will try their best to greatly reduce the amount of the defects internally. The software testing is processing for many years. As the complexity of software testing during a long period of time, it is necessary to design and implement an automation testing tool to help the testers increase the testing efficiency. Moreover, the tool should be design to help the testers analyze the results more easily and carefully.In this dissertation, some deep research which focuses on several key technologies base on the J2EE platform has been done about the automation testing tool, and a real automation testing tool according to the design has been implemented. This system is coded by eclipse with open source plugin - Lomboz. During the period of the design and implementation, some principle is collected to design the database tables. The class designs are base on the design pattern. Furthermore, some improvement of the server is considered and implemented compared with the traditional ways. In the end, the new technology - AJAX is adopted for asynchronous communication. This tool also contains the function of analyzing the feedback results through the business logic. With the usage of the automation testing tool, not only the efficiency and preciseness is improved, but also release the testers from the heavy works. So it is make sense to build automation testing tool.From this dissertation, you can also find a discussion on the application of object-oriented design method, unified modeling language and O/R Mapping. In Chapter 4, several design patterns have been specified. What’s more, the thought of SOA will be simply illustrated base on this automation testing tool for the future assets integration.
Table of contents
Abstract 4-6
ABSTRACT 6-10
first chapter 10-14
1.1 issues raised 10-11
1.1.1 What is software testing
1.1.2 software testing importance 10
importance of 1.1.3 automated testing tools 10
1.1.4 the IBM Tivoli group demand for automated testing tools 10-11
1.2 automated test tools and database technology combined 11-12
1.3 research content
1.4 I did work and articles structural arrangements 12-14
the
related technologies of the second chapter of automated testing tools 14-25
2.1 J2EE technology 14-17
the
advantage of 2.1.1 J2EE 14-15
2.1.2 J2EE architecture model 15-16
2.1.3 AJAX 16-17
2.2 STAF automated testing framework 17-18
2.2.1 STAF - Software Testing Automation Framework 17-18
2.3 Hibernate VS IBatis 18-23
2.3.1 Hibernate, and IBatis contrast 18
2.3.2 selection principle 18
2.3.3 Mapping database access technology based on IBatis the SQL 18-20
2.3.4 IBatis and database connection pools the Commons DBCP integration 20-21
2.3.5 IBatis the Application Cache improve query efficiency 21-23
The
2.4 development environment introduced 23-25
third overall automated testing tools solutions 25-33
3.1 process analysis and automated testing tools target 25-27
3.1.1 Process Analysis 25-27
3.1.2 automated testing tools target 27
3.2 automated testing tools architecture 27-29
3.2.1 overall framework 27-28
3.2.2 automated test server framework 28-29
3.3 automated testing tools designed 29-33
3.3.1 static management 29-30
3.3.2 Dynamic management 30-31
3.3.3 static management and dynamic management relations 31-33
Chapter automated testing tools designed 33-62
4.1 automated test tool design modeling languages ??and tools used 33-34
4.1.1 UML-based system modeling 33
4.1.2 Rational Rose modeling tool 33-34
4.2 automated test tools layered architecture 34-35
4.2.1 application development based on five tiers 34-35
4.3 function module needs 35-37
4.3.1 TestCase and TestSuite management use case diagram 35-36
4.3.2 Test Management use case diagram 36-37
4.4 system class diagram 37-47
4.4.1 data persistence layer class diagram 37-39
4.4.2 DAO data access layer class diagram 39-40
4.4.3 Data management class diagram 40-44
4.4.4 Business Logic Layer class diagram 44-47
4.5 system database design 47-52
4.5.1 E-R diagram 47-48
4.5.2 database table structure and description 48-52
4.6 automated test engine design 52-57
4.6.1 Application STAF test engine to achieve the initial program 52-53
4.6.2 automated test engine defects of the initial program 53
4.6.3 renovation of automated test engine 53-56
4.6.4 STAF API automated test engine code to send commands to achieve 56-57
4.7 application AJAX technology presentation layer 57-58
4.7.1 application the AJAX technology implementation part 57
4.7.2 Application the AJAX dynamic input prompt 57-58
4.8 test results analysis 58-62
the 4.8.1 test result storage 58-60
4.8.2 Test results analysis 60-62
Chapter realization of automated testing tools 62-73
5.1 automated testing tool for editing interface description 62-68
5.1.1 editing interface part 62-68
5.2 automated test tool to test interface description 68-73
5.2.1 test interface 68-73
Chapter 6 Conclusions and Prospects 73-76
6.1 system summarizes 73
6.2 system 73-74
6.3 system outlook 74-76
6.3.1 SOA definition of goals and solve problems 74
6.3.2 ESB's role 74-75
6.3.3 automated testing tools on the SOA design 75-76
the
References 76-77
the
Appendix 1: automated test engine sends command code 77-79
the
Appendix 2: formatted for XML string code 79-80
the
Appendix 3: return XML to the client code 80-81
the
Appendix 4: Test results analysis code 81-83
Acknowledgements 83
Related dissertations
- Design and application of J2EE persistence layer framework DR-ORM
- The Design and the Realization of the Labor Force Sub-system of Haidian Labor Social Security Platform
- The Design and Implementation of an Object Persistence Framework and Auxiliary Development Tools Based on O/R Mapping
- Research and Application of Multilayer Truss Based on Struts and Hibernate
- Design and Implementation of a Supply Chain System for Manufactural Enterprise
- Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
- Integrated ERP Credit Control System
- The Design and Implement of Video Sharing Website Based on Face Tracking
- The Design and Implementation of the Campus Network Management System of Transport Management Institute Ministry
- A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
- Design and Implementation of Huafeng Company Integrated Office System
- Design and Implementation of a Enterprise Search Platform
- Design and Implementation of a Recommender System Framework Based on Collaborative Filtering Algorithm
- The Research and Implementation of Information Management System Intergrated the Composite SSH2Frame
- Research and Implementatione of Secondary Development of the Corporate Units at the County Level Directory Database System
- Research and Implementation Based on the the J2ME Technology of Mobile Securities System
- Design and implementation of the Qilu Petrochemical Industries Co bidding management system
- Design and Achieve of IT Project Management System
- The Design and Implementation of Telecom Card Management Based on J2EE
- Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System