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

Request the full text

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

  1. The Research on GUI Testing Based on Relating Event
    HeTianChi ·Hunan University ·2008 ·Master's thesis
  2. Research on Automatic of Software Testing Based on Models
    XiaoChunYan ·Jiangnan University ·2012 ·Master's thesis
  3. Design and Implementation of a GUI Testing Plugin for the Eclipse Platform
    ZhaoXu ·Dalian Maritime University ·2012 ·Master's thesis
  4. The Research on Agent-based Testing Framework and Testing Approach for Web Applications
    SunZuoZuo ·Hunan University ·2011 ·Master's thesis
  5. The Software Test Suite Generation Method Based on Model Compare
  6. Studying the Model-based Framework for Testing Graphical User Interfaces
    GuYanPing ·Shanghai Normal University ·2007 ·Master's thesis
  7. The Research on GUI Testing Based on Weighted Events
    HuJiPing ·Hunan University ·2006 ·Master's thesis
  8. English Title of Master Dissertation
    PanZuo ·Southeast University ·2006 ·Master's thesis
  9. A UML component testing technology - based research
  10. Based on the weight of the improved GUI testing framework research
    XinMinJie ·Shanghai Normal University ·2009 ·Master's thesis
  11. GUI Testing Technique for J2ME Programs Based on FSM
    HouYing ·Dalian Maritime University ·2009 ·Master's thesis
  12. And the realization of software testing reuse management subsystem design
  13. Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
    XiongLiPing ·Hunan University ·2013 ·Master's thesis
  14. Research on software testing technology based on complex network theory
  15. Design and Implementation of Automated GUI Testing Framework Based on Android
  16. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  17. The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
    YaoZuo ·Harbin University of Commerce ·2013 ·Master's thesis
  18. Research of Software Testing Method Based on Cloud Computing
  19. Research on Path-oriented Test Data Generation
    WangShiTao ·Hunan University ·2013 ·Master's thesis
  20. Research on Process Improvement in Y Co. Based on CMM
    FengFei ·China Academy of Railway Sciences ·2013 ·Master's thesis