The Study of Program Test for Graphical User Interface

Author
QianSiYou
Advisor
YangShouBao , JiangFan
School
University of Science and Technology of China
Major
Information Security
Classification
TP311.52 Software Development
Degree
Doctoral dissertation
Year
2010
Downloads
393
Citations
3

Request the full text

Abstract

GUI, which is short for Graphical User Interfaces, plays a key role in current software systems as a necessary part of man-machine interaction. The execution orders of GUI programs depend on the order of input events based on event-driven mode, which is essentially different from the traditional orders.Software testing is irreplaceable in software quality assurance, but the traditional testing methods can’t be applied to GUI testing due to the uncertainty of execution orders between event-handler programs caused by the event-driven GUIs. This paper studies on GUI testing methods, focusing on the interaction relations among GUI events and interaction relations between events and system states.1. GUI testing modelAs testing models being the core of software testing, they are also the core of GUI testing. This paper analyzes the sharing variants among the GUI events, points out their interaction relations between GUI events, and proposes an event-interactive architecture describing these relations. Besides, this paper also analyzes the relations between GUI events and GUI system states, describes these interaction relations by means of describing the GUI events modification on GUI system states, and then, extends this architecture to get event-state relation model.2. GUI test case generationThe interaction relations of events are based on sharing variants, while the essence of sharing variants is the data transmission among them, in other words, the interaction relations of events are decided by the values and using relations of variants. This paper proposes a method of test case generation for GUI based on the event-interactive architecture. This method obtains the event-handler program flow charts of every event, then, gives the formal description of test cases by analyzing the arrival-value data flow equations using these flow charts, and proposes the test case generation algorithm for GUI based on this event-interactive architecture and the data flow analysis of event-handling programs. At the same time, discusses the coverage criterion according to the features of GUI.3. GUI test oracles generationThere are too many GUI test cases, and the test oracle information varies with the test cases, leading to a great staff and overhead system costs. The event-state relation models proposed by this paper describe the GUI events modification on GUI system states, and the test oracle information of every test case can be calculated in turn according to the event order in them.

Table of contents

Abstract 5-6 ABSTRACT 6-8 directory 8-11 Figures 11-12 Table directory 12-13 Chapter 1 Introduction 13-19 1.1 background 13-14 1.1.1 software testing 13 1.1.2 GUI test 13-14 1.2 research 14-16 1.3 research 16-17 1.4 research contributions 17-18 1.5 paper structure 18-19 Chapter 2 GUI testing model 19-41 2.1 GUI test model related concepts 19-22 2.1.1 GUI system state formal description 19-20 2.1.2 GUI events and event sequences defined 20-22 2.1.3 GUI event handler 22 2.2 existing GUI testing model 22-27 2.2.1 GUI based on finite state machine test model 22-25 2.2.2 GUI -based event flow test model 25-27 2.3 GUI event interactions architecture 27-32 2.3.1 GUI event interactions 27-29 2.3.2 GUI event interactions architecture formal description 29-32 2.4 event - the state association model 32-36 <br / > 2.4.1 event - status related information 33-35 2.4.2 event - state association model describes 35-36 2.5 call Graph window 36 -37 2.6 build GUI test model 37-38 2.7 Summary 38-41 Chapter 3 GUI test case generation 41-57 3.1 event-based interactive GUI test case structure analysis 41-43 3.1.1 GUI test cases and test cases interactively define 41-42 3.1.2 GUI event type of interaction analysis 42-43 3.2 based on data flow analysis, interactive GUI test case generation 43-52 3.2.1 arrival - constant data flow equations 43-44 3.2.2 GUI basic block and data flow calculation 44-46 3.2.3 GUI test case generation method of analysis 46-49 <br / > 3.2.4 event-based framework for interactive GUI test case generation algorithm 49-50 3.2.5 windows GUI test case generation between 50-52 3.3 GUI test coverage guidelines 52-56 3.3.1 test coverage criteria introduced 52-53 3.3.2 event-based interactive GUI test coverage criteria architecture 53-56 < br /> 3.4 Summary 56-57 Chapter 4 GUI testing evaluation generates 57-65 4.1 Overview 57-58 4.2 based event - state association model test evaluation information to generate 58-63 4.2.1 GUI test evaluation information generating method analysis 58-60 4.2.2 event-based - state association model test evaluation information generating algorithm 60-62 4.2.3 test evaluation information generating algorithm's time complexity analysis 62-63 4.3 test evaluation point location problem 63-64 4.4 Summary 64-65 Chapter 5 experimental Verification and Analysis 65-79 5.1 GUI system under test 65-67 5.2 test model construction 67-73 5.2.1 call Graph window construction 67-69 5.2.2 event interactive architecture and events - state association model construction 69-73 5.3 experimental results and analysis 73-77 5.3.1 test analysis 73-75 5.3.2 test generation time analyzing 75-76 5.3.3 test evaluation information to generate time analyzing 76-77 5.4 experimental results 77 5.5 of this chapter Summary 77-79 Chapter 6 Conclusion 79-81 6.1 the main work 79-80 6.2 contribution of this paper 80 6.3 future work 80-81 References 81-85 Thanks 85-87 published during the reading academic and research achievements 87-89 participate in research projects during the reading 89

Related dissertations

  1. Design and Implementation of Automated GUI Testing Framework Based on Android
  2. Research on Several Issues of Legacy System Reengineering
    LiHan ·Dalian University of Technology ·2013 ·Doctoral dissertation
  3. Model-based GUI Test Case Generation
    ZhuangXueWei ·Nanjing University ·2012 ·Master's thesis
  4. GUI Test Script Repair Aided with Human Knowledge
    GaoZeBao ·Nanjing University ·2013 ·Master's thesis
  5. The Research of GUI Software Test Cases Optimization Algorithm
    HuaZuoFei ·Anhui University ·2013 ·Master's thesis
  6. Design and Implementation of a GUI Testing Plugin for the Eclipse Platform
    ZhaoXu ·Dalian Maritime University ·2012 ·Master's thesis
  7. Implementation of an Automated Testing Tool Based on Java
    WangChong ·Donghua University ·2013 ·Master's thesis
  8. The Research on GUI Testing Based on Relating Event
    HeTianChi ·Hunan University ·2008 ·Master's thesis
  9. The Research on GUI Testing Based on Weighted Events
    HuJiPing ·Hunan University ·2006 ·Master's thesis
  10. Research on Key Technique in GUI Record and Playback System
    GaoFeng ·Harbin Institute of Technology ·2006 ·Master's thesis
  11. Research and Implementation of software test automation system
  12. Research on Model of Automated Test Case Generation Based on Functional Object and Its Implementation
    LvGeFeng ·Hunan University ·2005 ·Master's thesis
  13. Design and Implementation of Automated Test Platform Based on Keywords
    HaoYiPeng ·Harbin Institute of Technology ·2007 ·Master's thesis
  14. The Automated Testing System That Applies for Website-testing
    XiaZhiYuan ·Jilin University ·2010 ·Master's thesis
  15. GUI Testing Research Based on the Call Stack
    GuoJingJing ·Shanghai Normal University ·2010 ·Master's thesis
  16. Based on the weight of the improved GUI testing framework research
    XinMinJie ·Shanghai Normal University ·2009 ·Master's thesis
  17. GUI Testing Technique for J2ME Programs Based on FSM
    HouYing ·Dalian Maritime University ·2009 ·Master's thesis
  18. Critical Technology Research and Implementation of the GUI-Based Software Test Tool
    YangYi ·South China University of Technology ·2011 ·Master's thesis
  19. Research on the Technology and Realization of GUI Automatic Testing Platform