The Research and Application of Mix-driven Automation Testing Framework Based on QTP

Author
FuCong
Advisor
GaoChengYing
School
Sun Yat-sen University
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2013
Downloads
37
Citations
0

Request the full text

Abstract

Currently, the faced-main problems of automation testing are how to reducedeveloping test script spending; how to reduce maintain test script spending; how to makeour test script run more stable. Now, a automation testing team with multiple automationtesting developers. But without care of developed in coordination, such as about code styleproblems, code merge problems and the problems of developing concurrent script,Automation testing framework conflict so many problems. The automation testingtechnology is developing quickly now. Then requirements to automation testingframework are expected to be much higher. The automation testing framework will beexpected to be more efficient, more stable, easy to maintain. However, automation testingframework is based on automation testing tool. Choosing an automation testing tool mostlyaffect the difficulty and stability of developing automation testing framework. Quick testprofessional automation testing tool is business automation testing tools. It containsexcellent of function components. It have application interface to be used in automation. Itsupport of reserve objects to developing more power automation testing code. It becamemore and more popular in automation testing, So this paper chooses QTP automationtesting tool as the framework basic tool.This article is introduction of facing difficult problems and challenges in automationtesting now. We research on automation testing tool QTP and the thought of automationtesting framework. Thinking out the current project automation develop experience, thisessay designs an automation testing framework which is basic on QTP automation testingtool. It is support framework independence、 maintenance stability、 coordinationdevelopment. This framework can auto run QTP automation testing tool and lunch thetested program. It is automatic open the test script and associated the function libraries toQTP resource pool. It can associate the environment file to QTP tool. It can drive the testby test data file. It can call functions according to keyword in test script. The automationtesting framework applies to project is easy to control code style unity, code interface unity,script run platform unity. Avoid the script and work conflicts in joint development process.Improving the function code reusability and make our automation testing script developingmore efficient. Now, this testing framework has used and applied on practical HPDM project todevelop the project automation scripts. This framework has both advance of keyworddriven method and data-driven method. This automation framework structure is stability. Itis scalability and improved the code reuse. Reduce the developing script cost and improvethe benefit.

Table of contents

Abstract 4-5 Abstract 5-9 first chapter 9-15 1.1 Background 9-10 1.2 domestic and foreign research status studies 10-13 1.3 article organizational structure nbsp 13-14 1.4 herein ; 14-15 <br / > the second chapter theories and techniques of software test automation development 15-26 2.1 software testing 15-16 2.2 software test automation Overview 16-18 advantages and limitations of automated testing 2.3 18-21 2.4 automated test framework design ideas 21-22 classification 2.5 test Tool 22 -23 2.6 QTP automated testing tools 23-25 ?? 2.7 Chapter Summary 25-26 Chapter III hybrid drive QTP automation testing framework based design 26-36 3.1 design framework to consider the criteria 26 3.2 testing framework targets 26-27 build nbsp 3.3 automated test framework ; 27-35 3.3.1 start the engine description 29 3.3.2 functions resource pool module description 29-30 3.3.3 test environment variables module description 30-32 3.3.4 test Data module Description 32 3.3.5 test module description 32-33 3.3.6 keyword function library Description 33-34 3.3.7 object Library Description 34-35 3.4 Summary 35-36 chapter based on QTP mixed driven automated testing framework to achieve 36-56 4.1 development tools 37-38 4.2 to start the engine to achieve 38-39 4.3 function module resource pool achieve 39-40 4.4 test environment variables module 40-41 4.5 test data module 41-44 4.6 test module 44-45 4.7 keyword library achieve 45-51 4.7.1 public library 47-48 4.7.2 private Functions library 48-49 4.7.3 test object manipulation library 49-50 4.7.4 report generation function library 50-51 4.8 generate test reports 51-55 4.8.1 custom test report generation process 52-53 4.8.2 test report generation realize 53-55 4.9 Chapter Summary 55-56 Chapter hybrid drive based QTP automation testing framework applications 56-67 5.1 background and Introduction 56 -58 5.2 hybrid drive application test automation framework 58-60 5.3 running test scripts 60 5.4 automated test reports 60-62 5.5 automated testing Framework application analysis 62-66 5.6 Chapter Summary 66-67 Chapter summary and Outlook 67-69 <br / > Work nbsp 6.1 herein ; 67 6.2 job prospects 67-69 references 69-72 Appendix 72-78 Thanks 78

Related dissertations

  1. Research and Implementation of the Automated Testing Technology of Bank Payment System
    LiShiGe ·WRI ·2012 ·Master's thesis
  2. The Application and Research of Software Test Automation
  3. The Design and Implementation of Automated Testing Platform Safe
    BaiHePeng ·Beijing Jiaotong University ·2011 ·Master's thesis
  4. GUI-Based Performance Test Automation Framework for WPF Applications
    LaiLi ·Zhejiang University ·2011 ·Master's thesis
  5. Design and Implementation of the Automatic Test System Based on RCP
  6. Research and Implementation on Automatic Testing Platform of CTCS-2 Train Control Center
    ShiKun ·Beijing Jiaotong University ·2010 ·Master's thesis
  7. Automated Testing Framework System ATestPPMC Research and Implementation
    ShenHanChao ·Shanghai Jiaotong University ·2011 ·Master's thesis
  8. SAFFRON based automated testing framework for QTP research
  9. Study on Forecast of Electronic Products Recycling of Third-party Reverse Logistics Based on Data-driven
    CaiNengZhao ·Xiamen University ·2014 ·Master's thesis
  10. Emulsifier Fault Diagnosis System Research Based on Data-driven
  11. Optimization Control of Synthetic Ammonia Based on Data Driven
  12. Research on Schema Matching Technology Supporting Massive Heterogeneous Data Integration
    ZhaoChenLu ·Northeastern University ·2013 ·Master's thesis
  13. Design and Implementation of Android Function Automation Test Tool
    LiuShu ·Dalian University of Technology ·2013 ·Master's thesis
  14. Office Automation System Testing Research Based on QTP
    ShiJing ·Xi'an University of Petroleum ·2013 ·Master's thesis
  15. The Study and Realization of the Android Tablet Stability Automated Test
    ZhouYing ·Central China Normal University ·2014 ·Master's thesis
  16. Research and Application of Mobile Platform-Based Automation Test
    ZouLiangMing ·Northeastern University ·2013 ·Master's thesis
  17. Research on Data-driven Crosspoint-Queued on Chip Router
    WangZhen ·Shanghai University ·2013 ·Master's thesis
  18. Brake Modeling and Control Method of High-speed Electric Multiple Units
    YanZuo ·East China Jiaotong University ·2010 ·Master's thesis
  19. Imaging Method of High Speed Atomic Force Microscope
    DongXiaoKun ·Nankai University ·2012 ·Doctoral dissertation
  20. Data-driven Subspace Methods and Its Application in the Prediction
    SunCe ·Northeastern University ·2011 ·Master's thesis