Research and Implement of GUI Based Auto-testing Architecture

Author
YangChengChuan
Advisor
YaoZuo
School
Donghua University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
299
Citations
6

Request the full text

Abstract

The importance of software quality has increased constantly, which has led to the position of testing in the software development becoming increasingly important. Along with the object-oriented software development technology becomes the popular, the current software structure is much more complex, and the scale of software is increasingly huge, so it is difficult to meet current requirements by manual test. Therefore, in recent years both home and abroad has introduced a lot of advanced automatic testing theory, and consistently have automated testing tools appeared, automatic testing of software has become the main trend.Graphical User Interface (GUI) testing in the software test is an important link. At present, there are a large number of automatic GUI testing tools using capture/playback to generate script. However, nowadays it is clear that the capture/playback technologies have the testing environment dependence, and anti-window weak problems. To some response-time-sensitive test, not only the synchronization of playback could not be guaranteed, but also probably bring about some fatal error. These issues always greatly affect the accuracy and reliability of the test results.Through deep research in the GUI test automation technology, and to the above shortcomings of the current capture/playback technologies, this paper combining with the Java event delegated module proposes a capture/playback testing technology based on the incident sources identification. This technology considers the incident as the focus of the capture/playback testing, plus the capture/playback test control over GUI incident, based on which further studies are carried on the automatic contrast technology between the source synchronous playback control and results. Then it improves the automatic stability in the process of testing and the accuracy of automatically comparison among the testing results. In addition, the paper uses standardized XML in the process of GUI test script recording and playback, not only the hierarchical structure of test scripts clear and readable, but also by relying on the XML document itself good capacity for expansion, test scripts can record more content, thus strengthen ability of testing GUI.On the basis of research, paper based on the Java platform designed and implemented a prototype automated testing tools - GUITest, which is event-based GUI source identification technology. GUITest implements the capture and playback features based on the incident source identification technology, and using the automatic comparison among testing results based on attributes of GUI components.In order to verify the feasibility and practicality of theoretical study, the compatibility of the prototype platform, stability of the recording and playback technology and accuracy of automatically comparison among the testing results, such a comprehensive test is carried out. The test shows that automated testing tool- GUITest realizes the GUI automatic testing function, and has good stability and accuracy and achieves the anticipated goal of the research.

Table of contents

Summary 5-7 Abstract 7-12 1 Introduction 12-18 1.1 background and significance 12-14 1.2 research status 14-15 1.3 research article 15-16 1.4 Thesis structure 16-17 1.5 Summary 17-18 2 software testing 18-29 2.1 Introduction 18-19 2.2 software testing technology 19-24 2.3 software testing process 24-27 2.4 software testing research focus 27-28 2.5 Summary 28-29 3 GUI test automation technology 29-37 3.1 GUI test automation Overview 29-31 3.2 GUI test automation tool 31-34 3.3 regression testing techniques 34-35 3.4 capture playback technology 35 3.5 Summary 35-37 4 JAVA based GUI test automation tool (GUITEST) design 37-42 4.1 Introduction 37 4.2 GUITEST design goals 37-38 4.3 GUITEST frame design 38-39 4.4 GUITEST Features 39-41 4.5 Summary 41-42 5 GUITEST achieve 42-67 achieve 5.1 event capture module 42-55 achieve 5.2 event playback module 55-58 5.3 playback synchronization control strategy 58-61 Application 5.4 validation point 61-66 5.5 Summary 66-67 6 GUITEST application 67-73 6.1 interface design 67-68 6.2 test cases to capture 68-69 6.3 points to verify the insertion 69-71 6.4 test playback 71-72 6.5 Summary 72-73 7 summarizes the outlook 73-75 7.1 summarizes 73 7.2 Prospects 73-75 8 References 75-78 published 9 master's theses 78-79 10 Acknowledgements 79

Related dissertations

  1. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  2. Design and Implementation of Python Lajiguage Visual Programming Environment
  3. Analysis and Design of Automated-Testing Framework for E-Commerce System
  4. Research on Test Plan of Development&Application and Its Technical Realization
    ZhangJianFei ·Beijing Jiaotong University ·2012 ·Master's thesis
  5. Design and Implementation of Embedded Software Testing System Based Qtopa
    WuHuiJie ·Dalian Maritime University ·2012 ·Master's thesis
  6. Research on Testing Model and Automated Testing of Web Application
    ChenJiangYong ·Fujian Normal University ·2012 ·Master's thesis
  7. Design and Realization of Process Engine’s Automated Testing Based on Workflow
  8. Research and Application on Unit Testing Technology for Object Oriented Program by CppUnit
  9. The Research of Software Testing Technology and Software Component Verification
    YuanMin ·Hunan Normal University ·2008 ·Master's thesis
  10. Design and Implementation of Data Migration Automation Testing
  11. Mobile Phone Automatation Test System Based on SC660X Platform
  12. The Design and Implementation of Test Data Automated Generation
  13. REST architecture test system application software Research and Implementation
  14. Analysis and Application of Software Localization Test
  15. The Application of Automatic Generation of Test Scripts in Object-oriented Software Testing
    ZhaoBinFei ·Jilin University ·2008 ·Master's thesis
  16. Based on test-driven development , software testing management system
  17. Technology research and application of data packets Software Testing
    LiuZuo ·Northwestern Polytechnical University ·2007 ·Master's thesis
  18. The Automated Testing Frame Work’s Design and Implementation for WinForm Control
  19. Research on the Digital Controller and PID Parameter Tuning of the Proportional Valve
    ZhangZuoZuo ·Zhejiang University ·2014 ·Master's thesis
  20. Human-Computer Interaction Technology Research of Gene Amplification Based on Arm
    LiuJun ·Qingdao Technological University ·2013 ·Master's thesis