Font Size: a A A

The Design And Application Of Software Automatic Test Framework Based On QTP

Posted on:2015-05-17Degree:MasterType:Thesis
Country:ChinaCandidate:J OuFull Text:PDF
GTID:2298330467957555Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the development of software industry, the software products are becoming more complex, which requires faster version updates as well as shorter development cycle-time, thus the higher requirements of software testing are in great need. Therefore, it is particularly important to shorten testing cycle-time and ensure better quality. The introduction of automated testing is critical to improve the efficiency of software testing and to ensure the quality of software products, while the key is to build a test automation framework. A better automated testing framework can not only standardize testing process but also lower the risk, so as to improve the testing efficiency and guarantee the quality of software products.Through the research of the existing automated testing framework technology, a generic test automation framework was designed based on the QTP (QuickTest Professional) technology. The framework was applied in the software project of production management platform, which verified the validity and practicability. So a company-wised automated testing mechanism was established and the framework will be extended to other projects.The main works in this thesis are as follows:(1) By researching and analyzing on the existing automated testing framework technology and the test automation tools, comparing their merits and flaws, studying the test methods and the key techniques of QTP, a common test automation framework based on QTP was put [forward.(2) The thesis has determined the principles and objectives of the test automation framework by combing them with the theory of automated testing and deeply analyzed the actual requirements of automated testing of the application. The automatic test framework based on QTP technology was designed and realized with secondary development on QTP by using programming languages such as Java, VBA andVBS.(3) Through successfully deploying Universal QTP-based Automated Testing Framework to production management platform project, the framework proved to be efficient and useful which guaranteed the establishment of the company-wised automated testing mechanism.On the basis of the current automated testing techniques, the test automation framework in this thesis achieved one-key-multi-host test scripts to make concurrent execution.The scenario recovery mechanism was established.The real-time monitoring on automated testing and the efficient maintenance and management of the testing documentations were realized. The successful practice in real project has proved that the framework can not only improve the efficiency of testing scripts development, the reusability of test scripts, but also improve testing coverage which enhances reliability of software products. The introduction of automated testing based on the framework could make management and maintenance of test efforts get much easier, faster, and more efficient, which can speed up the response of the product change. Eventually it would greatly reduce the cost of production and improve the quality of product.
Keywords/Search Tags:QTP, automated testing, test automation framework, start the engine, object repository
PDF Full Text Request
Related items