Research and Implementation of keyword-driven GUI test automation framework
- Author
- XuWenSheng
- Advisor
- LuoHuiQiong
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 40
- Citations
- 0
Abstract
Early computer software is command-line mode.With the development of software industry, the software with graphical user interface(GUI) which is easy to use was more and more popular with the users. Users just need to click mouse to use the software and no need to remember a series of complicated commands.Software testing is an important way to ensure software quality, and currently GUI software plays a large proportion in software products. How to test them sufficiently and conveniently has became an urgent problem, especially in regression testing and performance testing. If we just test it manually, then it will be a huge waste of human and material resources.In this dissertation I studied the current GUI automation test tools and automation test theory, also analyzed their advantages and disadvantages, then proposed a test automation framework based on keyword-driven test method. A test automation tool is implemented based on this test automation framework.Current GUI test automation tools commonly use capture/playback technology to record test scripts, which is not only inefficient but also often get unsatisfied scripts with many errors. And these test scripts is very dependent on the software interface; sometimes even just a bit change occurring to the interface may make the scripts unusable.The GUI automation test framework implemented in this dissertation can solve this problem in some degree. Keyword-driven testing technology abstracted the actual test code from the test scripts. In this dissertation XML document is used to save test scipts and the test results also can be verified automatically.This system can be used in regression testing and functional testing and improve the the level of automation testing, which reduces manual testing. So it has practical significance in improving software quality and shortening the software development cycle.
Table of contents
Abstract 4-5
Abstract 5-9
Chapter 1 Introduction 9-14
1.1 research background and significance 9-10
1.2 research status 10-11
1.3 The main research 11-12
1.4 of this article, organizational structure 12 -14
software testing and GUI test automation Overview 14-29
2.1 software test definition and development 14-15
2.2 software testing. 15-17
2.2.1 divided by the point of view of implementation of the tested software 15
2.2.2 Stages of 15-16
2.2 by .3 according to the method of testing 16-17
2.3 data-driven test automation technology 17-18
2.4 keyword-driven test automation technology 18-19
2.5 GUI testing Overview 19-20
2.5.1 GUI related concepts 19-20
2.6 GUI testing concerns 20-22
2.6.1 HCI 20-21
2.6.2 functions 21-22
2.6.3 performance aspects 22
2.7 GUI introduction of test automation technology 22-27
2.7.1 scripting language 23-24
2.7.2 GUI automation test tools 24-25 <br / > 2.7.3 use the tools provided by Windows 25-27
2.8 GUI test difficulty 27
2.9 Summary 27-29
Keyword driven GUI automation test framework design 29-46
3.1 system design 29-33
3.1.1 system module design 29-30 <br / > 3.1.2-level structure 30-32
3.1.3 workflow 32-33
3.2 module design 33-45
3.2.1 user interface design 33-34
3.2.2 test script management module design 34-36
3.2.3 test script execution module is designed 36-37
3.2.4 test results management module design 37-38
3.2.5 Keywords Library module design 38-40
3.2.6 Automatic verification test results module design 40-41
3.2.7 custom dynamic link library module is designed 41-45
3.3 of this chapter Summary 45-46
Chapter IV GUI test automation framework to achieve a keyword-driven 46-61
4.1 development tools 46-47
4.1.1 use the namespace 46-47
need to be resolved in the 4.2 to achieve 47-50
4.2.1 identifies the control method 47-49
4.2.2 user specified control 49
4.2.3 to use the API function 49-50
4.3 the GUI automation testing framework module 50-60
4.3.1 test script management module to achieve 50-52
4.3.2 test results management module to achieve 52-54
4.3.3 keyword library module to achieve 54-55
4.3.4 automatic verification module of the test results to achieve 55-56
4.3.5 the underlying dynamic link library module 56-60
4.4 Summary 60 -61
Chapter GUI test automation framework for testing 61-67
5.1 test steps 61-66
5.2 Chapter Summary 66-67 < br /> Chapter VI Summary and Outlook 67-69
6.1 of this thesis work 67
6.2 In this thesis, innovation 67-68
6.3 the future of work 68-69
thank 69-70
References 70-73
Related dissertations
- The Research and Application of Mix-driven Automation Testing Framework Based on QTP
- The Design and Implementation of Hippo GUI Automation Testing Tool
- Research on Android-based Keyword-driven Automated Testing Framework
- Research and Application of Automatic Testing for Mobile Phone Software
- Research of Keyword-Driven Automated Testing System
- The Application and Research of Software Test Automation
- Software Testing Automation Framework Analysis and Application
- The Research and Development of WMM Automated Testing Based on Keyword Driving
- Design and Implementation of Automated Test Platform Based on Keywords
- Keyword-driven automated software testing
- The Research on the UI Automated Testing Methods and Application
- A keyword-driven automated testing framework for Java API
- The Design and Implementation of Automated Testing Platform Safe
- Keyword-based automated test -driven Web services research and application
- GUI-Based Performance Test Automation Framework for WPF Applications
- Research and Application on Automated Test Technology Based on Robot Framework
- Keyword -based J2EE architecture driven automated software testing technique
- Design and Implementation of the Automatic Test System Based on RCP
- Research and Implementation on Automatic Testing Platform of CTCS-2 Train Control Center
- Based FitNium keyword -driven Web Testing Framework Research and Implementation