Research and Implementation of Automated Software Testing

Author
DengYu
Advisor
XiaHongXia
School
Wuhan University of Technology
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2009
Downloads
328
Citations
3

Request the full text

Abstract

Software test takes an important part in the software engineering,and it is one of the effective techniques to ensure software quality.Meanwhile,it raises high requirment to the technology of software test.Up to now,more and more test approaches have been applied to increase the quality of software test,and automated testing is known as the most efficient and effective way to achieve the goal.So how to apply software testing management and automated testing technology to practical projects is a new topic in the field of software test.This article mainly aims at the research of automated testing methods.The author introduced the correct choice and utilization of test tools during the three phases including unit test,functional test and performance test,and also gave suggestion to the management of souce code version and defects based on the project of Dopod club.The first,at the phase of unit test(UT),JUnit frame and EclEmma tool are chosen together to perform UT.By this way,not only test codes can be developed quickly with Junit frame,but also the coverage rate of source codes can be checked by EclEmma easily.Thus the efficiency and quality of UT will be promoted greatly. At the same time,EclEmma can calculate the coverage rate tested by JUnit.The second,at the phase of functional test(FT),Test-management tools(such as TD) are used to organize and perform all of the test cases and QTP to record and execute the test scripts,so that we can achieve automated FT completely.Furthermore, when recording and debugging the test scripts with automatic tools,we should choose the appropriate checkpoint or data-driven methods to increase the robustness and reliability of the test scripts.The last,at the phase of performance test(PT),appropriate tools should be selected to replace manual test.The Load Generator is responsible for creating pressure.The Controller is a central console from which the load test is managed and monitored.And the Analysis can generate reports and perform analysis.In addition, performance test steps are described in detail within this article.The author combined some instances into researching the software automated test,including the managing of source code version(VSS) and bug(bugzilla),which increases the practical value of this article.VSS can provide a comprehensive version and configuration management capabilities and maintain the versions effectively. Bugzilla sets up a communication bridge between software developers and testers.All the defects are under the control,and rate of defects being dealed is also accelerated.

Table of contents

Abstract 4-5 ABSTRACT 5-10 Chapter 1 Introduction 10-14 1.1 software testing 10-11 1.2 software test status and prospects 11-12 1.2.1 domestic testing industry status quo 11 1.2.2 software testing prospects 11-12 1.3 test automation 12 1.4 In this paper, the content and purpose of 12-13 1.5 paper structure 13-14 Chapter 2 test automation technology 14-22 2.1 automated test concepts 14 the scope of the 2.2 automated test 14-18 2.2.1 automated test has the advantage of 15-17 2.2.2 automated testing limitations 17-18 2.3 Automated Testing Life Cycle 18-21 2.3.1 decided to test automation 18 2.3.2 automated testing tools 18-20 2.3.3 automated testing introduction of 20 2.3.4 Test Plan, design and development 20-21 2.3.5 test execution and management of 21 2.3.6 test project review 21 2.4 Summary 21-22 Chapter 3 automated unit testing 22-29 3.1 Introduction 22 3.2 unit testing tools 22-24 3.2.1 unit test framework for analysis 23-24 3.3 planned unit test 24 3.4 unit test code 24 3.5 to run unit tests 24-28 3.5.1 coverage check 26 3.5.2 View JUnit report 26 3.5.3 source code associated with 26-27 3.5.4 merge test results 27 3.5.5 test report 27-28 3.6 Summary 28-29 Chapter 4 automated functional testing 29-45 4.1 Introduction 29 4.2 functional testing tools 29-32 4.2.1 functional testing tool principle 30-31 4.2.2 capture / playback technology 31 4.2.3 Keyword Driven 31-32 4.3 functional test 32-33 4.4 functional test case design, 33-38 4.4.1 at right angles to the matrix method 33-37 4.4.2 Automated Test Case Generation 37-38 4.5 to record test scripts 38-40 4.5.1 script recording cases 38-39 4.5.2 test script 39-40 4.6 strengthen the test script 40-42 4.7 test process automation 42-44 4.7.1 TD features 43-44 4.7.2 TD test 44 4.8 Summary 44-45 Chapter 5 automated performance testing 45-59 5.1 Introduction 45 5.2 performance testing tools 45-47 5.2.1 performance testing tool principle 46-47 5.3 performance testing technology 47-48 5.3.1 performance index 47-48 5.4 performance test plan 48-50 5.5 to create scripts 50-52 5.5.1 recording the script 50 5.5.2 perfect script 50-52 5.5.3 debug scripts 52 5.6 to create a scene 52-54 5.7 running scene 54 5.8 Analysis of test results 54-58 5.9 Summary 58-59 Chapter 6 Automated Test Methods instance 59-67 6.1 Dopod Club introduced 59-60 6.2 version management and defect management methods 60-63 6.2.1 source version management strategies 60-61 6.2.2 defect management 61-63 6.3 automated test applications 63-67 6.3.1 introduces tools for the improvement of the project development process 63-65 6.3.2 automated testing Dopod club system 65-67 Chapter 7 Summary and outlook 67-69 7.1 thesis is a summary of the work 67-68 7.2 future work outlook 68-69 References 69-71 thank 71-72 for Master of papers published during 72

Related dissertations

  1. The Design and Implementation of Automated Test Platform Oriented Towards Mobile Application Platform
  2. Research on Test Plan of Development&Application and Its Technical Realization
    ZhangJianFei ·Beijing Jiaotong University ·2012 ·Master's thesis
  3. Research and Implementation of Automated Software Testing
    LengZhiJian ·Wuhan University of Technology ·2011 ·Master's thesis
  4. Design and Testing of Mobile 4A Security System
  5. Implementation of Software Test Based on Automated Testing Framework JUnit
  6. Showhand Online Game System Design and Implement
  7. The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
    YaoZuo ·Harbin University of Commerce ·2013 ·Master's thesis
  8. The Research and Application of Mix-driven Automation Testing Framework Based on QTP
    FuCong ·Sun Yat-sen University ·2013 ·Master's thesis
  9. Office Automation System Testing Research Based on QTP
    ShiJing ·Xi'an University of Petroleum ·2013 ·Master's thesis
  10. The Design and Implementation of the Automated Test System for the Inter-Network and Convergend Service
  11. The research and implementation of human resource outsourcing service system test automation
    SongZuo ·Fudan University ·2011 ·Master's thesis
  12. Design and Implementation of Automation Testing Framework Based on Hierarchical Keyword Driven
    QuLiBin ·Sun Yat-sen University ·2012 ·Master's thesis
  13. Design and implementation of GStreamer media player software automation testing tool
    GaoXiangHui ·Northwestern University ·2012 ·Master's thesis
  14. Research and Implementtation of Network Management Interface Test Transaction Model Supporting Automatical Test
  15. The Performance Test of Unicom’s Advert System
  16. MMSC’s MM7Interface Research and Automated Test Implement
    QuFengLin ·Chengdu University of Technology ·2012 ·Master's thesis
  17. Research and Implementation of the Automated Testing Technology of Bank Payment System
    LiShiGe ·WRI ·2012 ·Master's thesis
  18. Evaluation and Optimization of Performance for the Self-study Exam Online Registration System
    DuanYuanLei ·Xinjiang Agricultural University ·2012 ·Master's thesis
  19. The Research and Application in the Unit Testing by Using JUnit Framework
  20. Research on Automated Testing of China Taxation Administration Information System by QTP