Research and Implementation of EDS automated testing framework

Author
QuanQingHao
Advisor
HouMengShu
School
University of Electronic Science and Technology
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2009
Downloads
81
Citations
0

Request the full text

Abstract

As an important means to guarantee software quality and reliability,software testing plays an irreplaceable role in the process of software development. As the widely uesd of the software,the expanse of software scale,the changeable of the software development model,it’s invitable to increase the testing workload.Software automation test aims to improve software testing efficiency,shorten software development lifecycle,reduce software testing cost.So it’s valuable to study the software test automation test.After a survey of major research fields and representative achievements in the area of software testing,this thesis presents a new GUI automation test model which is based on the EDS(Event Drive System) theroy.Based on the model, we design and implement an automation test system– EDS testing system.Some experimental results illustrate that the testing system is scalability, reliability and stability.Works in this thesis are mainly focused on the following aspects:1) This thesis presents a new GUI expression model which is based on the EDS(Event Drive System) theroy. The GUI elements will be abstracted as collection of events and properties by the model which gives up the GUI’s message. This model will be accepted by the tester more easier , closes to the GUI automation test strategy and is the basis of the thesis.2) Based on the GUI expression model,this thesis puts forward a GUI testing model which will be used to provide a method how to test the GUI item with the GUI automation test tool.GUI testing failure model and testing coverage model have been presented to support the GUI testing model. GUI testing failure model can find the bug hidden in the GUI items effctive. GUI testing coverage model can help tester to analyze the adequacy of test.3) Designs and implements an automation test system– EDS testing system. The system has the following characteristics: firstly,it’s an open platform,users can define their own GUI item class according to their testing strategy which will improve the flexibility of system.Secondly,The system can test the WPF (Windows Presentation Foundation) item which is the main push of the Microsoft.This characteristic makes up for the current test tool’s defect which doesn’t support the WPF item’s automation test.Thirdly, System test case management module is based on the design pattern of the Factory and programs with C#.So the user can use it easily and no need learning other programing language.Finally, the system is based on the Microsoft’s UI Automation library, so the testing tool is compatible with previous GUI item of Windows.

Table of contents

Abstract 4-6 ABSTRACT 6-11 Chapter Introduction 11-20 1.1 Background topics 11-12 1.2 software testing technology 12-15 1.2.1 software testing model 12-13 1.2.2 software testing methods and strategies 13-14 1.2.3 manual testing limitations 14-15 1.3 software test automation 15-18 1.3.1 software test automation research status 15-17 1.3.2 major automated testing framework 17 1.3.3 GUI automated test object 17-18 1.3.4 GUI test automation tool 18 1.4 topics sense 18-19 1.5 This paper work and chapter arrangement 19-20 the NET development of GUI test automation tool technology 20-28 2.1 WINDOWS message mechanism 20-23 2.1.1 Windows news 20-21 2.1.2 Windows messaging system composed 21 2.1.3 WPF event routing 21-23 the 2.2.N ET UI AUTOMATION library 23-26 2.3 reflective technology 26-27 2.4 commissioned technical 27 2.5 Summary 27-28 Chapter GUI testing model 28-36 3.1 GUI model 28-30 3.2 GUI element relationship model 30-32 3.3 GUI test model 32-34 3.3.1 GUI test classification model 32-33 3.3.2 GUI failure model 33-34 3.4 GUI test coverage model 34-35 3.5 Summary 35-36 Chapter EDS automated testing system functional design 36-42 4.1 EDS automated test system design goals 36-38 4.1.1 GUI automated testing capabilities 37 4.1.2 GUI elements test case library 37 4.1.3 open structure 37-38 4.2 EDS automated test systems functional design 38-41 the the 4.2.1 program interface object recognition 38 4.2.2 GUI event trigger function 38-39 4.2.3 GUI elements verification function of the state S 39-40 4.2.4 event synchronization function 40 4.2.5 generation and management functions of the Log 40 4.2.6 Other features 40-41 4.3 Summary 41-42 the EDS automated test systems design and implementation 42-64 5.1 EDS automated testing system framework 42-43 5.2 EDS automated test system implementation 43-63 5.2.1 GUI elements Find module 44-45 5.2.2 reflex agent layer 45-48 5.2.3 GUI module design and realize 48-55 5.2.4 GUI elements test case library 55-56 5.2.5 Log module 56-58 5.2.6 scalable interface 58-59 5.2.7 test case management module 59-61 5.2.8 synchronization technology implementations 61-63 5.3 Summary 63-64 Chapter EDS automated test system test instance 64-70 6.1 target test object 64- 6.2 test steps 64-68 6.2.1 initialization GUI mapping table 64 6.2.2 build the system GUI elements control class 64-65 6.2.3 to create test cases 65-67 6.2.4 Test results analysis 67-68 6.3 compared with other test tools 68-69 6.4 Summary 69-70 Chapter VII Summary and Outlook 70-72 7.1 Conclusion 70 7.2 Looking 70-72 Acknowledgements 72-73 the References 73-76 the attack Shuo achieved during the research 76-77

Related dissertations

  1. Research and design of on-board control universal testing platform software
  2. Design and Implementation of Automated Test Case Generator
  3. The Design and Implementation of Public Client Business System of Internet Bank Based on J2EE
    XuYingJun ·Tianjin University ·2011 ·Master's thesis
  4. Study on recovery of cobalt acid lithium from waste lithium batteries using roasting flotation method
    LiuJie ·East China Jiaotong University ·2013 ·Master's thesis
  5. Web Based Metwork-Security Tool Testing and Analysis
  6. Software development for a launch vehicle
  7. Research on Software Automatic Testing and Its Application in Online Bank System
    AiWen ·Jilin University ·2012 ·Master's thesis
  8. Research and Implementation of Automatic Stub Generation Technology in Unit Test
  9. Research on Android-based Keyword-driven Automated Testing Framework
    HouJuMin ·Sun Yat-sen University ·2012 ·Master's thesis
  10. Study on Neural Network and Its Application in Software Fault Localization
    JiaoDongBin ·Dalian Maritime University ·2012 ·Master's thesis
  11. Research and Implementation of Automatic Software Testing Platform for Adsl Access Device
    MaJunFei ·Shanghai Jiaotong University ·2009 ·Master's thesis
  12. Design and Realization of Software Testing Management Tool
  13. Research on Application of automatic test case generation based on Improved Genetic Algorithm
    PengZuoDong ·Jiangxi University of Technology ·2012 ·Master's thesis
  14. Design and implementation of Automatic Pharmacy software system of TCM formula granule
  15. The Analysis and Design of Government Auto Office System Based SSH Framework
    LiuFeng ·Shandong University ·2012 ·Master's thesis
  16. Research of Software Testing Services in the Cloud Computing Environment
    MengXiangChao ·Dalian Maritime University ·2013 ·Master's thesis
  17. The Application of Embedded TCL Technology in MPLS VPN Test
    ChenRong ·Nanchang University ·2013 ·Master's thesis
  18. The Research and Implementation of VoIP Software Auto Test System
  19. Study on the Risk Assessment of Android Smartphone Software Testing
  20. The Key Technologies of Software Parallel Test Based on Cloud Computing
    LiuWei ·Donghua University ·2013 ·Master's thesis