Based on iterative development model to build GUI test automation framework

Author
ShenZuoYin
Advisor
ZhengZuoQing , XiaKuanLi
School
Fudan University
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2010
Downloads
98
Citations
1

Request the full text

Abstract

GUI automation test has been generally applied in different kinds of development model in the current software testing. However, most of them test software by means of repetitive execution of the target scenario with the third party record-playback automation tool to simulate user action. Although such test model can quickly build up the automation, it still needs a lot of manual work to initialize the scenario. As a result, the generated code is not easy to maintain and even postpones the testing process to the end of the development circle. So such test model is not very efficient.By looking over the current situation and research work on iteration development model in the software testing, it is necessary to set up a new GUI automation test framework based on iterative-development model that meets the target of improving the efficiency of software development and the trend of software testing. The test framework can increase the code reusability by abstracting the physical control and logical functionality; improve the code coverage via controlling software execution behavior and managing test data; and enhance the synchronous collaboration between test process and development process by iteration programming model. Based on this design, Microsoft UI Automation technology is applied to build up the framework foundation in the research work. To accomplish the whole programming mode test framework, a series of core components such as physical control model and logical functionality model, execution behavior manager and data manager are designed, test harness and logging system are programmed as well. This automation framework has been successfully applied in the real testing work. In the summary of the thesis, the automation testing framework for the wider application is predicted.

Table of contents

Abstract 4-5 ABSTRACT 5-6 first chapter 6-11 1.1 Background and Significance 6 - 8 1.2 research status at home and abroad 8-9 1.3 the main contents 9 1.4 this chapter arrangements 9-11 <br / > Chapter II testing framework is the core idea 11-16 2.1 testing framework architecture 11-12 2.2 iterative testing model 12-14 <br / > 2.3 behavior control coverage 14-15 2.3.1 software execution behavior control 14 2.3.2 software, interactive data control 14-15 2.4 test results verify 15 2.5 Chapter Summary 15-16 Chapter III testing framework the key technology 16-24 <br / > 3.1 WPF technology 16-18 3.1.1 logic tree 16-17 3.1.2 visual tree 17 3.1.3 tree traversal applications in the test framework 17-18 3.2 user Interface automation Technology 18-20 3.2.1 UI Automation tree model 18 3.2.2 UI Spy 18-19 3.2.3 tree traversal in automated testing framework application 19 3.2.4 UI Automation and WPF composite applications 19-20 3.3 aspect-oriented programming 20-21 3.3.1 aspect-oriented programming advantages 20-21 3.3.2. Net of features tag technology 21 3.3.3 aspect-oriented programming framework in the test application 21 3.4 reflective technology 21-23 3.4.1 reflection the principle and the role of technology 22 3.4.2 reflection in. Net specific rendering 22-23 3.4.3 reflective technology applied in the test framework 23 3.5 Summary 23-24 Chapter testing framework for the detailed design 24-47 4.1 testing framework the overall structure 24 -25 4.2 main automated database design 25-36 4.2.1 physical control model 25-31 4.2.2 logic function model 31-35 4.2.3 test code layer 35-36 4.3 core components designed 36-44 4.3.1 data Manager 36 -39 4.3.2 behavior controller 39-44 4.4 test drive Kit design 44-45 4.5 log component design 45-46 4.6 Chapter Summary 46-47 chapter test framework specific application 47-62 5.1 typical test scenario applied 47-58 5.1.1 WPF application testing 47-52 5.1.2 Win32 desktop applications test 52-58 5.2 test case execution and management 58-59 5.3 test results of the task analysis 59-60 5.4 testing framework scope 60-61 5.5 chapter Summary 61-62 Chapter VI Conclusion 62-64 6.1 meaning of work and summary 62-63 6.2 Prospects 63-64 <br / > 6.2.1 inadequacies of the current framework 63 6.2.2 follow-up 63-64 References 64-66 Acknowledgements 66-67

Related dissertations

  1. Research on the Digital Controller and PID Parameter Tuning of the Proportional Valve
    ZhangZuoZuo ·Zhejiang University ·2014 ·Master's thesis
  2. Human-Computer Interaction Technology Research of Gene Amplification Based on Arm
    LiuJun ·Qingdao Technological University ·2013 ·Master's thesis
  3. Study on the Bubble Image Processing System Based on ARM
    LiuXiaoWen ·Tianjin University ·2012 ·Master's thesis
  4. Design and Implementation of Copper Flat Wire Surface Defect Detection
    LiXiuChao ·Dalian Jiaotong University ·2013 ·Master's thesis
  5. μC/OS-Ⅱ-based Recording Player Software Design and Implementation
  6. Study on Iterative Mapreduce Computation Model for Clustering Analysis
    XuWei ·Tianjin University ·2012 ·Master's thesis
  7. Transplantation of Linux Operation System and Software Designing on Machine Vision Platform Based on6467T
  8. Gui-based Software Icon Usability Research
  9. Study on Scheduling Management for Agile Software Develop Project(S)Based on Critical Chain
    HuDan ·Zhejiang University of Technology ·2013 ·Master's thesis
  10. Practice&Implementation of Scrum Software Development Methodology in ROSS Company
  11. Designing and implement of terminal display and control of radar based on Embedded System
  12. Design and Application of the Embedded Cross-platform GUI Development Model
    WangYuHang ·Harbin Institute of Technology ·2012 ·Master's thesis
  13. Design of Video Matrix Control System Based on Embedded Linux
  14. Digital Photo Frame Design Based on ARM Platform
    FanMin ·University of North ·2014 ·Master's thesis
  15. The Design of Frequency Control System of Propulsion Motor in Self-propelled Type Cages
    LiuYingYing ·Zhejiang Ocean University, ·2014 ·Master's thesis
  16. A Design and Implement of Arbitrary Waveform Generator
    ZhangKun ·Harbin Engineering University ·2013 ·Master's thesis
  17. The Design of Automatic Sun Tracking System
    LongXu ·Hunan University ·2013 ·Master's thesis
  18. Research on Fault Diagnosis System for Power Transformer Based on Audio Signal
  19. The Development of Visualized Remote Structural Health Monitoring and Warning System
  20. Identification and Parameter Optimization of Turbine Regulating System