Font Size: a A A

The Research And Design Of Automation Testing For B/S Software

Posted on:2012-07-02Degree:MasterType:Thesis
Country:ChinaCandidate:B X HuangFull Text:PDF
GTID:2178330335974387Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet technology, the software system of B/S structure has been widely used, and it is ease of use, interactive, speed and so on, therefore it quickly occupied every corner where people live and work. From the e-commerce and social networking sites which are developing in full swing to the interactive blog, and even the information publishing platforms of major companies and units, are all over the B/S software footprints. However, with the market demand increasing, B/S software not only bear the simple task of data dissemination, but also more complex application transaction and larger amounts of data processing, which give B/S software development higher requirements, but also bring great challenges to test.The B/S software updates the version much faster, and it has a large of reproducible and similar tests which are more time-consuming and laborious by manual testing. And the efficiency of manual test is low, which is far below the requirements of the test schedule. Fortunately, automation testing has developed quickly in recent years, and it has perfect performance in testing the software which contains a large number of regression tests. Therefore, through the implementation of automation testing, using its features of strong regression testing, no people on duty and so on, to improve the efficiency of software testing, coverage and consistency is very meaningful.QuickTest Professional which is widely used in functional test procedures of the B/S software is one of the most popular automation testing tools currently, and it provides the regression and automation testing as the industry's best solution. Testers can use keywords view without scripts to show the performance of each step, and they can also capture test steps which are recorded by the integrated ability of QTP. But only to use the tool to complete automated tests by recording and playback is clearly inefficient. Because the recorded test scripts are not standardized, and tightly coupled with the test data together. In addition, their functions are also difficult to track and reproduce, and maintenance cost is huge. Unfortunately, it may ultimately lead to the failure of the implementation of automation testing. Clearly, the introduction of automation framework which is based on QTP testing tool and expanded its functions is essential.The main research of this article is to develop an automated testing framework which is based on QTP and suitable for B/S software regression testing. First, it outlines the characteristics of B/S software and test content, and analyzes the characteristics of automation testing and the conditions of introducing automated testing tools. Then it proposes automation framework based on QTP, which includes the implementation of four expansion components:the execution scheduler, test case manager, log manager and report generator. After that, this article designs and tries to implement some parts of the expansion components of the framework. Finally, an instance of B/S software automated testing to demonstrate the ability of the framework. Using this framework, all the test data and test scripts according to a uniform standard are in the directory of the specified version control tool, and the tester can flexibility arrange the test plan with the execution scheduler. During the test procedure, the framework does not require people on duty, and after the end of the test, it can generate test report according to the designed styles.Compared with the original QTP testing tool, the framework has the following features:1) It designs the execution scheduler, which can execute the batch testing program of test cases following the test plan;2) It implements the separation of test data and test scripts, and unified management;3) It optimizes QTP test scripts and makes test case template;4) It automatically generates the QTP test reports with Excel or HTML.
Keywords/Search Tags:B/S, QTP, Automation Testing, Automation Framework
PDF Full Text Request
Related items