QTP -based software regression test automation framework development and application

Author
ZhaoNing
Advisor
ShenBeiJun , FengJianQiang
School
Shanghai Jiaotong University
Major
Software Engineering
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2009
Downloads
108
Citations
5

Request the full text

Abstract

Regression testing software life cycle as an integral part of the software testing process in the whole account for a large proportion of the workload, software development would conduct regression testing. In the progressive and rapid iterative development, continuous release of new versions of the regression tests more frequently, but in XP and other agile methods, it is required every day for several regression testing. Thus, through the implementation of automated testing to improve the efficiency and effectiveness of regression testing is very meaningful. QuickTest Professional (referred QTP) is currently very popular an automated testing tool. Testers can view using the script to the performance of keywords each step of the test, but also through the integrated QTP recording capability to capture test steps. But only using a test recording and playback tools to complete automated testing is flawed. Because these tests are randomly created, their functionality is difficult to track and reproduce, maintenance cost is huge, and even lead to failure of the implementation of automation. Automated testing is not a tool, an automated test script language can be achieved. The introduction of automated testing framework to automate testing is a very important factor. The main research work is based on a set of development tools QTP suitable for automated regression testing software testing framework. We first analyzed the software regression testing duplication of work, and its design is based automated testing framework identifying the structure. Then study proposes a framework for test data management methods and test scripts, and test batch script execution method, and achieve a batch execution drives. Then design and implementation of a framework for a series of public functions and business components, such as exception handling functions and file manipulation functions and so on. Finally developed in the framework of automatic test report generation tool to generate the overall test reports and detailed test report. Under this framework, testers by calling the same exception handler, start testing, and end the test business component, you can easily complete each test will be repeated in the general steps. In addition, the use of the framework, all test data and test scripts according to uniform standards stored in the specified directory version control tools, test scripts administrators can flexibly execute test scripts by lot, in the middle process without supervision, detailed test report after running all the scripts can be generated automatically. And compared to the existing regression testing tool, this framework has the following characteristics: a) designed public library, batch execution drivers, and utilities business component; 2) proposed framework QTP test scripts and test data management methods ; 3) proposed QTP test script execution method; 4) of Excel QTP automatically generated test report. The framework and other projects in HP Watson regression testing was carried out practical application, practice shows that it enhances the automation scripts functionality and maintainability, improve programming efficiency testers, effective conservation of regression testing costs.

Table of contents

Abstract 5-7 ABSTRACT 7-11 1 Introduction 11-14 1.1 research background and significance 11 <br / > 1.2 Analysis and abroad 11-12 1.3 Objective and content 12-13 1.4 papers organizational structure 13 1.5 Chapter Summary 13-14 2 software regression testing and automated testing theories 14-31 2.1 software testing classification 14-15 2.2 software Regression testing 15-19 2.2.1 regression test case library maintenance 16-17 2.2.2 regression test package selection 17-18 2.2.3 regression testing the basic process 18-19 2.3 automated test 19-25 2.3.1 Overview of automated testing 19-20 < br /> 2.3.2 Automated Testing prerequisite 20-21 2.3.3 automated testing lifecycle 21-25 2.4 automated testing framework 25 -26 2.5 testing tools and QTP 26-30 2.5.1 Test Tool Classification 26-27 2.5.2 Test Tool Selection 27-29 2.5.3 QTP tool 29-30 2.6 Chapter Summary 30-31 3 QTP-based software regression test automation framework design and achieve 31-47 3.1 overall design framework 31-33 3.2 Design and implementation of a business component 33-36 3.3 libraries Design and Implementation 36-38 3.4 unified management of test data 38-40 3.5 test script batch execution 40-42 3.6 Test automatic report generation 42-44 3.7 QTP with QC connection 44-46 3.8 Chapter Summary 46-47 4 Applications 47-63 4.1 Project Description 47-48 4.2 HP Watson project testing process 48-49 4.3 Framework application process 49-61 4.3.1 Recording object library 50-51 4.3.2 Configuring QTP environment 51-53 4.3.3 prepare public function 53-54 4.3.4 write business component 54-57 4.3.5 test script peer review 57-58 4.3.6 record the test results 58-61 4.4 implementation results 61-62 4.5 Chapter Summary 62-63 5 Conclusion 63-65 5.1 dissertation work summary 63 5.2 Prospects 63-65 References 65-67 Thanks 67-68 papers published during the study for a degree directory 68-71 Shanghai Jiaotong University dissertation written resolutions 71

Related dissertations

  1. The Research and Implementation of Automated Testing System on Power System Real Time Database
  2. Design and Implementation of Data Migration Automation Testing
  3. Rules Driven Test Framework
    QinDaYong ·Chengdu University of Technology ·2008 ·Master's thesis
  4. The Application and Analysis of Automated Testing Framework in Functional Testing
    ChangZheng ·Beijing Forestry University ·2007 ·Master's thesis
  5. GUI -oriented software testing automation tools Research and Implementation
    ZhangNianLin ·Xi'an University of Technology ·2007 ·Master's thesis
  6. Automation Architecture Research of GUI Regression Test
    MaLing ·Southeast University ·2005 ·Master's thesis
  7. The Study and Implement of Automated Sofeware Test System
    YuGongPing ·Shanghai Jiaotong University ·2007 ·Master's thesis
  8. Research on Automated Regression Testing Technologies of GUIs
    LiuDaMing ·Dalian Maritime University ·2006 ·Master's thesis
  9. Research and Implementation of Automatic Tester for Encryption Module of Wireless Network Interface Controller
    SuXinPing ·Suzhou University ·2008 ·Master's thesis
  10. Research and Development of GUI Software Automated Testing Tool
    XieWeiWei ·Dalian Maritime University ·2008 ·Master's thesis
  11. The Design and Implementation of VMware Fusion System’s Automated Testing
    WangGuiBo ·Beijing Jiaotong University ·2010 ·Master's thesis
  12. Research on Automated Unit Test Framework and UseCase Management
    ZhangQiuJu ·Harbin Engineering University ·2008 ·Master's thesis
  13. Research on the Method of Benchmark Database by Functional Testing Based on Financial Business Systems
    ZhangShaoBo ·Chengdu University of Technology ·2009 ·Master's thesis
  14. Design and Implementation of an Automated Testing Platform
    ZhouFeiYu ·Beijing Jiaotong University ·2009 ·Master's thesis
  15. The Research and Application of Software Test Automation Framework
  16. Research and Implementation of Automation Functional Testing Framework on Web System
  17. An Automated Testing Framework for Web Applications
    ShiNingNing ·Jilin University ·2011 ·Master's thesis
  18. Keyword-based automated test -driven Web services research and application
    QianWeiNing ·Northwestern University ·2011 ·Master's thesis
  19. Research and Implementation of Software Test Automation Framework
    JiaRuiJing ·East China Normal University ·2011 ·Master's thesis
  20. Development and Application of Radio Network Controller Automated Test System