Research on Software Automated Testing Test Case Expression and Generation

Author
LanXiaoWen
Advisor
LuoShengXian
School
Chengdu University of Technology
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
316
Citations
5

Request the full text

Abstract

Software Testing is a key process in software development and plays an important role to make sure the quality of software products. The automated technology of software testing can help the software developer and tester to produce higher quality products within shorter time. Instead of the frequent repeated manual testing, software testing can save a mount of time and expense. Therefore, the research on software automated testing technology has much more reality meaning.However, cause the automated function testing is established on the foundation of operation and has intensive connection with industry. Software automated testing tool is an current platform cover with different industries, and it only provides some basic method for testing management. So, the deviation between testing tool and industry element is always exist. According to the experience, the capture/replay testing tool could not supply high performance testing, because the script that produced by the capture is over sensitive to variation of the application, so that the reuse feature of testing script becomes very poor and don’t realizes the indeed regression testing.Based on these backgrounds, this paper firstly introduced the software testing research settings, the internal and external development situation and the history of the automatic testing. Then, this paper illustrates the basic theory of automated testing and the automated testing script technology. To solve the problems we talked above, in this paper, according to the research on the objected system and automated testing tool (QTP), a middle layer between them has been set up. This middle layer adopt a suit of testing demo express system that based on this middle layer(ASL, short for Atomic Suit Language), and make an explicit research on this. ASL text has been converted into an automated testing tool executable script through a self-designed script converter, instead of produced by record. ASL text relies on the self invented testing management platform, drives the testing script executed by QTP, tests the functions of object system, finally sends out testing reports.In this paper, the significance is to improve a kind of non-record producing testing script (QTP script) technology. ASL text contains the whole operation layer description of testing demo and shields some technical layer details. This makes the texts more readable, the operation intent and interactive process can be fully and explicit expressed. Moreover, the texts are easily to be modified. Expressing the testing demo into ASL text are suit to the development of software operation, realizes the indeed regression testing, and it will surely improve the efficiency of software testing.

Table of contents

Abstract 4-5 Abstract 5-7 directory 7-10 Chapter 1 Introduction 10-15 1.1 software testing and development in the world 10-12 1.1.1 Software Testing Overview 10-11 1.1.2 development status at home and abroad 11-12 1.2 automated test facing problems and issues raised 12-13 1.3 thesis objectives and content 13-15 Chapter 2 automated testing technology 15-23 2.1 Overview of automated test 15-16 2.2 automated testing tools 16-18 2.2.1 Principles of automated testing tools 16-17 2.2.2 automated testing tool features 17-18 2.3 automated test processes 18-21 2.3.1 automated test basis 18-19 2.3.2 test plan formulated 19-20 2.3.3 test execution, evaluation and assessment 20-21 2.4 automated test strengths and limitations 21-23 the advantages of 2.4.1 automated test 21-22 2.4.2 automated testing limitations 22-23 the expression of Chapter 3 test cases generated 23-41 3.1 test cases to express the significance 23-24 3.2 testing process of multi-stage generation mechanism 24 3.3 positioning and target 24-25 3.3.1 Positioning 24-25 3.3.2 target 25 3.3.3 key elements 25 the 3.4 ASL test case expression system mapping model 25-27 3.5 ASL test case expression 27-41 3.5.1 Overview 27-29 3.5.2 ASL basic syntax 29-31 3.5.3 ASL test case expression 31-41 Design and Implementation of Chapter 4 script converter 41-53 4.1 scripting technology 41-43 4.1.1 linear script 41-42 4.1.2 structured script 42 4.1.3 sharing script 42-43 4.1.4 data-driven script 43 4.1.5 Keywords driven script 43 4.2 QTP scripts 43-45 4.2.1 QTP Introduction 43-44 4.2.2 QTP works 44 4.2.3 QTP scripts 44-45 4.3 script converter design 45-48 4.3.1 script converter significance 45-46 4.3.2 ASL text 46-47 4.3.3 script converter function design 47-48 4.4 ASL text parsing 48-50 4.5 test script execution 50-52 during the execution of the test scripts 4.5.1 the traditional model 50-51 4.5.2 the traditional model 51 4.5.3 script execution process based on ASL conversion 51-52 4.6 test reports generated 52-53 Chapter 5 ASL test management platform design and implementation 53-63 5.1 ASL test management platform design goals 53-54 the 5.2 ASL test management platform overall function 54-56 5.2.1 template management 54 5.2.2 ASL text editing 54-55 5.2.3 tag library management 55 5.2.4 test implementation 55 5.2.5 test results management 55-56 the 5.3 ASL test management platform implementations 56-57 test the implementation process of the the 5.4 ASL test management platform 57-59 5.4.1 Test preparation 57 5.4.2 test implementation 57-58 5.4.3 Analysis of 58-59 the 5.5 ASL test management platform running instance 59-63 5.5.1 ASL text editing 59 5.5.2 ASL text parsing script execution of 59-60 5.5.3 Test results analysis 60-63 concluded 63-65 1. research 63 2. nbsp suggestions and expectations; 63-65 Acknowledgements 65-66 the References 66-68

Related dissertations

  1. Research on Automated Testing of China Taxation Administration Information System by QTP
  2. Research on Test Plan of Development&Application and Its Technical Realization
    ZhangJianFei ·Beijing Jiaotong University ·2012 ·Master's thesis
  3. Design and implementation of automatic test system based on QTP and J2EE
  4. Research and Design of QTP Case Automation Test System
  5. GUI test automation tool for Research and Implementation
    GuoJing ·Southwest Jiaotong University ·2008 ·Master's thesis
  6. Design and Implementation of an Automated Testing Platform
    ZhouFeiYu ·Beijing Jiaotong University ·2009 ·Master's thesis
  7. Research on GUI Automated Test Technology
    PanLiLi ·Hunan University ·2009 ·Master's thesis
  8. Automation Testing Framework Based on QTP
  9. Design and Implementation of Function Test Tool for E-Business Product Commerce
    ZhangZhiChuang ·Harbin Institute of Technology ·2009 ·Master's thesis
  10. QTP automated functional testing based Research and Implementation
    ZhangHe ·Harbin Engineering University ·2011 ·Master's thesis
  11. Study of Running and Planning of Software Test and Automatic Test Tool
    ShiHongXia ·Chengdu University of Technology ·2011 ·Master's thesis
  12. The Application and Research of Automation Test with Dojo Based on Selenium
    ZhangLin ·Hunan University ·2013 ·Master's thesis
  13. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  14. The Research and Application of Mix-driven Automation Testing Framework Based on QTP
    FuCong ·Sun Yat-sen University ·2013 ·Master's thesis
  15. Office Automation System Testing Research Based on QTP
    ShiJing ·Xi'an University of Petroleum ·2013 ·Master's thesis
  16. The Design and Implementation of Distributed Automation Testing System for Android Application
  17. The Research and Design of Software Component Testing Framework Based on Date-driver
    PengShunShun ·Shenyang Normal ·2014 ·Master's thesis
  18. Research on Mobile Games Software Automated Testing Based Machine Learning
    ChengWenHua ·Zhejiang University ·2014 ·Master's thesis
  19. Design and Realization of Test Equipment for a Data Record Device
    YuLiNa ·University of North ·2012 ·Master's thesis
  20. Design and implementation of monitoring tool Linux system and its automation test based on