Design and Implementation of a GUI Testing Plugin for the Eclipse Platform
- Author
- ZhaoXu
- Advisor
- ChenRong , LiZhuRan
- School
- Dalian Maritime University
- Major
- Computer technology
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 29
- Citations
- 0
Abstract
Software testing is a critical element of software quality assurance and takes the much of elapse time of the software development life cycle. Improving the testing time and optimizing the techniques will always result in quick and efficient delivery of software products, as well as increase in customer satisfaction. In this direction, GUI testing (Graphical user interface testing) is the process of testing a product’s graphical user interface through a variety of test cases to ensure it meets its written specifications.GUI testing belongs to the category of functional testing (black box testing) with an aim to the judgment of the correctness of the physical user interface and product’s business functions. Early stage GUI testing was mainly carried out manually. The main difficulty that manual testing was faced with is the regression testing, test results depended on testers’ ability and experience, and regression testing was time-consuming. After that things changed with the emergence of automated GUI testing tools; they automated regression testing by generating GUI test cases once and running them many times. At present time, there are five methods for generating GUI test cases, among which are recording/playback technology, test data generation based on finite state automata, UML-based test cases generation, test data generation based on artificial intelligence methods, and event flow diagram-based generation. On the basis of survey on current GUI test methods and tools, this thesis propose to develop a GUI testing plugins with the help from the increasingly popular Java integrated development environment Eclipse.This thesis systematically analyzes an automated GUI testing tool Jacareto, designs and implements a plugin version GUI testing through recording/playback technology based on Java event handling. For this purpose, we carry on the designs of plugin functions and interfaces, and describe the details of their implementation. The plugin consists of five main modules:event capture, event replay, event representation, component manager, and event recorder. Experiments show that the plugin’s effectiveness and usability, it can greatly facilitate the work of developers and testers.
Table of contents
Summary 5-6
ABSTRACT 6-9
Chapter 1 Introduction Situation Background and Development 9-12
1.1 Research 9 -10
1.2 research 10-11
1.3 thesis structure 11-12
Chapter 2 Overview of software testing technology 12-23 <br / > 2.1 software testing concepts 12-14
2.1.1 test (Test Case) 12-13
2.1.2 test Requirements (Test Requirement) 13
2.1.3 test adequacy criteria (Test Adequacy Criteria) 13-14
2.2 software testing technology classification 14-16
2.2.1 static tests and dynamic test 14-15
2.2.2 white box , gray box testing , black box testing 15-16
2.2.3 unit testing, integration testing, system testing confirming test 16
2.3 GUI test 16-22
2.3.1 GUI test coverage criteria 17-18
2.3.2 GUI test cases generate 18-21
2.3.3 GUI testing tool 21-22
2.4 Summary 22-23
Chapter 3 Eclipse plug-in development technology 23-38
3.1 Eclipse platform Introduction 23-26
3.2 Eclipse technical Summary 26-29
3.3 Eclipse plug-in development steps 29-34
3.4 Eclipse graphical interface under development toolkit 34-37
3.4.1 AWT 34
3.4.2 Swing 34 - 35
3.4.3 SWT 35-36
3.4.4 JFace 36-37
3.5 Summary 37-38
Article design and implementation of Chapter 4 GUI test plug 38-61
4.1 functional requirements 38-39
4.2 Java event recording / playback principle 39-42
4.2.1 Java event 39-40
4.2.2 event lifecycle capture 40-41
4.2.3 event 41
playback 4.2.4 event 41-42
4.3 system design 42-45
4.3.1 functional Design 42-44
4.3.2 interface design 44-45
4.4 system implementation 45-60
4.4.1 functions to achieve 45-56
4.4.2 interface implementation 56-60
4.5 Summary 60-61
experiments described in Chapter 5 and the results of analysis 61-66
5.1 experimental use cases 61 -62
5.2 experimental Procedure 62-65
5.3 experimental results 65
5.4 Summary 65-66
Chapter 6 Conclusion 66-67
6.1 summarizes 66
6.2 Prospects 66-67
References 67-71
pursue a degree papers published during 71-72
Thanks 72
Related dissertations
- Model-based GUI Test Case Generation
- The Research on GUI Testing Based on Relating Event
- An Application Research of Creating Test Cases Automatically Based on Basic Path Test
- Research on Software Auto-Testing Technology Based on Message Mechanism
- Studying and Practising of Automated Technology in Software Testing Process
- Research on Batch Testing Platform Technology of the Acceleration Sensor
- Design and Implementation of Network Management Integrated Test System
- And the realization of software testing reuse management subsystem design
- Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
- Research on software testing technology based on complex network theory
- Design and Implementation of Automated GUI Testing Framework Based on Android
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- Research and Design of Test Paper Generation System Based on Genetic Algorithm
- The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
- Research of Software Testing Method Based on Cloud Computing
- Research on Path-oriented Test Data Generation
- Research on Process Improvement in Y Co. Based on CMM
- Method Research and System Development of Software Automatic Testing
- Research and implementation of TaaS test management services
- Automated Software Testing and Implementation Based Cube