Research and Implementation of cross-platform GUI automated testing tools

Author
DaiWei
Advisor
WangBingFeng
School
University of Electronic Science and Technology
Major
Control Theory and Control Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
117
Citations
0

Request the full text

Abstract

With the rapid development of computer technology, the continuous improvement of the level of information technology, the size and complexity of the software are growing more and more attention of software quality, and the formation of a complete test system. Software testing in software development to further increase the proportion of its workload accounted for more than 40% of the total workload of the software development. The graphical user interface (Graphical User Interface) is an important part of modern software. Software function called through a graphical user interface, GUI testing is a key link in modern software testing. The face of an increasingly complex GUI generally use automated testing tools to test significant savings in manpower and material resources, and improve efficiency. In recent years, automated testing tools have also been widely used, can already achieve the automated execution of test cases in most cases. Many foreign software development agencies have tried to introduce automated testing in the project, but the statistics show that \In general, the main reasons for the failure of the automated testing two aspects: the realization of unreasonable expectations and inappropriate. Testing tools currently on the market are the products of foreign relative to domestic users higher prices, but do not have the ability to cross-platform. Thus actually the full application of these testing tools. Based on this, we study the automated testing of the graphical user interface (GUI) tools, has developed a simple, practical test tools Smart Robot functional testing may be needed to complete the GUI. Throughout the development of the Smart Robot, I did work as follows: first, the study of the basic software testing technology, the basic principle of GUI automated testing tools - capture / playback. Second, through the Java event handling mechanism and custom class loading user GUI operating record. Smart Robot achieve data-driven script, the script is divided into a control script and data scripts. Fourth, the increase in the Smart Robot test script editing module, you can write a new test script or edit to improve test fully capture the generated script. Fifth, realize the script parsing and playback, event playback synchronization control, to solve the problem is not synchronized event playback, made good use of effects.

Table of contents

Abstract 4-5 ABSTRACT 5-10 Chapter Introduction 10-16 1.1 Project Background Introduction 10-11 1.2 research status 11-14 1.2.1 GUI automated testing methods 11-12 1.2.2 the existing GUI automated testing tools and their shortcomings 12-14 content of 1.3 thesis and main work 14-15 1.4 The paper is organized 15 1.5 This chapter Summary 15-16 Chapter II software testing technology overview 16-24 2.1 software testing basic knowledge 16-20 2.1.1 software testing defined 16-17 2.1.2 software testing purposes 17-18 2.1.3 software testing principles 18-20 2.2 software testing basic technology 20-23 2.2.1 software testing 20-21 2.2.2 software testing classification 21-22 2.2.3 software testing stage 22-23 2.3 This chapter Summary 23-24 software test automation technology 24-32 3.1 software automation test definition and advantages 24-25 3.2 software automated testing classification 25-27 3.3 software automated testing process 27-29 3.4 GUI automated testing advantages, disadvantages and feasibility analysis 29-31 3.5 This chapter Summary 31-32 is fourth cross-platform GUI automated testing tools Smart Robot overall design 32-36 the the 4.1 project designed background 32-33 4.2 Smart Robot overall system architecture 33-34 4.3 Smart Robot system module design 34-35 the the 4.3.1 event capture module 34 4.3.2 script module 34 the the 4.3.3 event Playback module 34-35 4.3.4 Script Editor module 35 4.4 Smart Robot main features of the project 35 4.5 of this chapter Summary 35-36 Chapter Smart Robot function 36-75 5.1 Smart Robot development tools 36 5.2 Smart Robot interface design and functionality introduced 36-38 5.3 Smart Robot cross-platform research 38-40 the 5.4 Java graphical user interface library 40-42 5.5 event capture module research and design 42-52 5.5.1 event capture process and module structure 42-44 5.5.2 event capture basic principles 44-47 5.5.3 custom class dynamic loader 47-50 5.5.4 event queue, event capture and event processing 50-52 5.6 script module research and design 52-66 5.6.1 test scripting technology status 52-56 5.6.2 test scripting techniques to select 56-57 5.6.3 test script design 57-58 5.6.4 test script generation and parsing 58-62 5.6.5 test script instance 62-66 5.7 event playback module design 66-73 5.7.2 reflection, late binding in the event playback applications 67 5.7.3 Smart Robot event simulation 67-71 5.7.4 event playback synchronization 71-73 5.8 Smart Robot project organizational structure 73-74 5.9 This chapter Summary 74-75 Chapter VI Smart Robot testing and improvement 75-79 6.1 Smart Robot test 75-77 follow-up version of the 6.2 Smart Robot improvement 77-78 6.3 This chapter Summary 78-79 Chapter VII summarizes 79-81 Acknowledgements 81-82 the References 82-85 the attack Shuo achieved during the research 85-86

Related dissertations

  1. A Research of a Development Framework Based on Cross-platform for Mobile Applications
    LiuYu ·Beijing Jiaotong University ·2014 ·Master's thesis
  2. Design and Implementation of the Motion Control System Based on USB Interface
  3. The Research of Video-Audio Technology and Its Application in Intelligent Community
    YuBaoZhu ·Zhejiang University of Technology ·2013 ·Master's thesis
  4. The Design and Implementation of Cross-platform Video Surveillance Transmission System on Chaos
  5. The Design and Implementation of Puzzle Game for Children
    TanLei ·Central China Normal University ·2014 ·Master's thesis
  6. Design and Implementation of Cross-platform Access for Various Devices in Home Healthcare System
  7. Research and Design on Smart Home Video Monitoring System
  8. Research of Supervisory and Control Configuration Software in Metering PUMP Remote Monitoring System
    ShiJinPei ·Zhejiang University of Technology ·2012 ·Master's thesis
  9. Embedded browser resource management and cross platform research and optimization
  10. The Design and Implementation of Cross-platform Stroke Input Method Engine
    YuTianZhao ·Harbin Institute of Technology ·2013 ·Master's thesis
  11. Design and Implementation of Cross-Platform Library for Microscopic Image Analysis of Algal Blooms
    ShiZhenSheng ·Ocean University of China ·2012 ·Master's thesis
  12. The Realization of the Modular Game Intermediate Layer Services
  13. The Research and Implementation of Flex-Based Cross-Platform Coal Mine Mobile Information System
  14. Research and Implements of Cross-platform Remote Education System Based-on SIP and RTMp
    ZhangLongHua ·Wuhan University of Technology ·2012 ·Master's thesis
  15. The Research on the Description Approach for Embedded Graphical Programming Data in Heterogeneous Domains
  16. Analysis and Design of the Examination and Evaluation System
  17. Design and implementation of B/S structure degree management information system based on
  18. Research and Design of Network Game Server Based on BOOST
    LuoLin ·South China University of Technology ·2012 ·Master's thesis
  19. Research and Implementation of the Cross-Platform Game Engine Based on Intelligent Terminal
    YaoXiaXia ·Ningbo University ·2012 ·Master's thesis
  20. The Research and Design of the Mobile Terminal Application Middleware Platform Based on HTML5
    NingYiShuang ·Beijing University of Technology ·2013 ·Master's thesis