Model-based GUI Test Case Generation
- Author
- ZhuangXueWei
- Advisor
- WangLinZhang
- School
- Nanjing University
- Major
- Software Engineering
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 59
- Citations
- 1
- Software Testing
- GUI Testing
- Finite State Machine Model
- using Event Flow Graphmodel
- Test Case Generation
- Coverage criteria
Abstract
Nowadays, The Graphical User Interface (GUI) has become an indispensable part of software. With the expansion of the soft scale, GUI system has become more and more complex. Meanwhile, its function has been stronger and stronger. As a result, the testing on GUI falls into a difficult situation. Owing to the repeated and boring manual testing, people have a stronger demanding on automated GUI testing.The testing tools based on record and playback mechanism are popularly used in engineering practice. However, the key step of the test generation is still hand-made. The method, model-based automatic test cases generation, has always been a academia respected way to problems of test automation.In this thesis, the author will study about the auxiliary usage of the state machine model in generating GUI test cases. The main work of this paper is as follows:1. The paper proposes the GUI modeling method for testing. The system models respectively by two methods:using Finite State Machine (FSM) model and using Event Flow Graph model. In addition, the author improves the state transition table by insert table the window thumbnails, which makes the descriptive way based on FSM more intuitively. What’s more, this paper proposes a rule-based approach to simplify the complexity of the FSM model, then gives a simplified algorithm.2. The paper presents the test case generation algorithms based on GUI modeling. It puts forward three coverage criteria of the FSM model.what’s more, three test case generation algorithms to meet these three coverage criteria respectively are given. Finally, this thesis conducts experiments and analyze results.
Table of contents
Summary 5-6
Abstract 6-7
directory 7-9
LIST 9-10
Table directory 10-11
Chapter 1 Introduction 11-16
1.1 background 11-12
1.2 GUI test automation research status 12-14
1.2.1 application in business GUI test automation systems 12-13
1.2.2 GUI test automation research in the field of technology 13-14 <br / > 1.3 This paper studies the work 14-15
1.4 structure of this article 15-16
Chapter 2 software testing theories 16-24
2.1 software testing Overview 16-19
2.1.1 software testing definitions 16
2.1.2 software testing step 16-18 <br / > 2.1.3 software testing technology 18-19
2.2 GUI testing Overview 19-20
2.2.1 GUI testing features 19
2.2 problem .2 GUI testing 19-20
2.3 GUI test automation 20-23
2.3.1 Overview of automated test 20-21
2.3 .2 GUI test automation steps 21-22
issues 2.3.3 GUI test automation 22-23
2.4 Summary 23-24
Chapter 3 for testing GUI behavior modeling 24-53
3.1 GUI model concepts 24-25
3.2 GUI behavior based on finite state machine (FSM) modeling nbsp 25-40
3.2.1 define a finite state machine ; 25-26
3.2.2 GUI-based behavioral modeling FSM 26-40 <br / > 3.3 GUI-based behavioral event flow modeling related definitions 40-45
3.3.1 event flow modeling 40-41
3.3.2 GUI -based event streams behavioral Modeling 41-45
3.4 rule-based approach to simplify the FSM model 45-49
3.5 rule-based FSM model simplification algorithm 49-52 <br / > 3.6 Summary 52-53
Chapter 4 GUI behavior model based test case generation 53-62
4.1 test coverage criteria (FSM) model based on finite state machine 53-54
4.2 meets different test coverage criteria for test case generation algorithm 54-57
4.3 experiments and analysis 57-62
Article Chapter 5 summary and Outlook 62-64
5.1 summary 62
5.2 job Outlook 62-64
References 64 - 67
Thanks 67-69
Related dissertations
- The Research on GUI Testing Based on Relating Event
- Research on Automatic of Software Testing Based on Models
- Design and Implementation of a GUI Testing Plugin for the Eclipse Platform
- The Research on Agent-based Testing Framework and Testing Approach for Web Applications
- The Software Test Suite Generation Method Based on Model Compare
- Studying the Model-based Framework for Testing Graphical User Interfaces
- The Research on GUI Testing Based on Weighted Events
- English Title of Master Dissertation
- A UML component testing technology - based research
- Based on the weight of the improved GUI testing framework research
- GUI Testing Technique for J2ME Programs Based on FSM
- 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
- 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