Font Size: a A A

Keyword-driven Testing Based Qtp Testing Framework And Data Interface

Posted on:2012-02-28Degree:MasterType:Thesis
Country:ChinaCandidate:C Y YaoFull Text:PDF
GTID:2218330335998439Subject:Computer science and technology
Abstract/Summary:PDF Full Text Request
Software testing is one of the most important technologies to ensure software quality nowadays. With the rapid increase of software scale and complexity, the traditional technologies of software testing cannot meet the requirement of large software testing. Companies are putting more effort in automation in the project. Automation testing can effectively reduce test cost, increase test efficiency and improve software quality.At first, this paper introduces the background and significance of the research. Software history and current status, automation testing's concept and current trends are reviewed. After overviewing the strength and weakness of automation, two popular automation test frameworks are introduced. One is data driven framework and the other is key word driven framework. The latter is the improved type of the former. It not only breaks down the test script and test data, but also extracts the key operation words from the test script and store these words as an independent data file. Test cases are driven by these key words.The researches of the paper mainly focus on:(1) Gives out a clear structured, easy implemented key word driven automation test framework based on the most advanced automation testing tool Quick Test Professional (QTP).(2) Upon this framework, the structure of test data is analyzed and APIs are developed. There are three kinds of data reading APIs:Excel sheet, XML files and database. These are universal APIs and they can be used in any projects that use QTP as automation testing tool.(3) Gives out the method of how to drive all test cases according to the key word file and implements the method in the Control Center.(4) This key word driven framework and data access APIs are implemented in General System Base Line (GSBL) project. Practice shows that this framework and APIs improve the speed of test scripts development and reduce maintenance work. When the test component scripts are ready, we only need to design the test data to drive the scripts to run. Test set configuration file will decide which test cases to run; operation key word file will fetch test steps and drive the test scripts; test data during the test process are from the business test file. According to the data matrix, the efficiency of test script development is 40% higher and the maintenance effort is 50% lower compared to the previous data driven test framework.
Keywords/Search Tags:Key Word Driven Testing, Automation Test Framework, Test Data Structure, QTP Data API
PDF Full Text Request
Related items