Design and Implementation of Bank Financial Business Automation Testing Framework Based On QTP
Design and Implementation of Bank Financial Business Automation Testing Framework Based On QTP
Design and Implementation of Bank Financial Business Automation Testing Framework Based On QTP
Abstract—The current software testing in the aspects of of software, which is vital to the market competitiveness of
industrial benefits gradually causes the attention of the domestic banks. Software testing is a reliable means to guarantee the
financial bank. The innovation of software technology, the quality of bank software. Using software testing methods to
increase of software scale and the shortened developing period automate the testing of bank software, not only can improve the
make the traditional manual testing meeting enormous quality of the software, find out the flaws in the software, but
challenges, while the development of automated testing also can reduce the cost of the late, thus effectively saving
technology has promoted the progress of the software testing manpower resources cost and improving work efficiency. The
industry. Because of the particularity of financial and banking traditional test solution is to use the third party automated
services, the bank is under an obligation to ensure the quality and
testing tools. According to today's banking business
reliability of software. Therefore it’s vital to test the software. In
specific practice, although the powerful third-party testing tools
requirements, a separate test tool can’t reach the desired
can be used as a solution, it is hard to rely on certain tool to objectives, therefore it’s very necessary to set up a complete
implement automated testing, hence a framework of automated and applicable framework for automated testing.
test is required to be introduced for testing, which intends to The paper [2] proposed a regression test automation
handle high efficiency and high-quality testing for software framework that turns on the development of automated test
automation. This paper proposes a kind of software automation scripts test development process. By defining tables, data, and
testing framework based on QTP, mainly targeting on the core of
control spreadsheets which can be easily maintained, it offers a
the bank, credit, online banking to test the function of the three
full range of features interface to complete the test. In
major operations. The framework is a secondary development
based on QTP and mainly for regression testing of software,
regression testing, the test need only modify the spreadsheet
which integrates techniques including object recognition, data- definitions. The paper [3] establishes a framework for web
driven, and keyword-driven technology, checkpoint technology, application testing. The framework is built on an excel file
to proceed business-level testing. The paper expatiated on four which contains keywords imported into the frame by using
issues, which were the test system design, the test standardization, keyword driven framework Selenium web-driver API. The
the testing framework design and the testing of the paper [4] proposed an automatic test execution and
implementation. The practical application shows that the optimization of hybrid drive architecture, HTLP (hybrid test
framework can improve the operational efficiency, reduce the Language Processing) data-oriented keywords. The HTLP is
test cost, and guarantee the smooth progress of the software applied to open source software based on the application of
automation testing. good vtiger CRM5.
Keywords—software testing; test automation framework; QTP This paper is divided into three parts: The first part is the
automated testing tool introduction of testing tools QTP, mainly explaining its
working process and key technology. The second part
discusses the automated testing framework of bank financial
I. INTRODUCTION
services based on QTP, from two aspects including the build
The continuous development of banking and financial and design of testing system. The third part explores the
services put forward higher requirements to the bank software implementation process of automated testing framework,
of financial management, especially the quality and efficiency which consists of three parts: feasibility analysis,
implementation steps and results comparison.
* Corresponding author email address: yjk1102@163.com
144
the software automatically test. Limited testing data and the mainly including two parts, i.e., test standardization and
enormous workload, will not meet customers’ needs. framework test design.
Introducing automated testing framework for banking financial
business test can effectively improve test efficiency and reduce 1) Test standardization: Test standardization is to make
maintenance costs. the QTP automated test standard in order to reduce
unnecessary trouble.
A. Testing System Design a) Standardization of testing tools: Which mainly
Compared with the manual test, the automated testing has indicates the standardization of the use of testing tools, such as
significant advantages, such as high test speed and high management mode of object library, associated drive script
efficiency. Of course, there are also risks in automated testing, and batch processing, testing tool settings, storage analysis of
therefore it’s necessary to set up a test system before designing test results, data source management and maintenance, scene
the framework and conduct the evaluation and consideration of error recovery and resource, environment definition, etc.
appropriate conditions to prevent automated test lead halfway. b) Standardization of configuration management:
The test system mainly includes organizational structure, Which is mainly being used to work together with code
technology and methods, support tools, asset management, management, deployment of test version and management of
asset management, team building and so on. testing assets.
1) Organizational structure: In the bank, it needs to have 2) Test Standardization: The design of the automated
specialized departments being responsible for testing related testing framework involves three systems including the core
issues. In the meantime, the roles or responsibilities are needed business of the bank, credit and online banking. The test
to be defined, such as testing center, the quality and safety objective is to define the interface, interaction, data validity and
commissioner, the test person in charge of the assigned by the storage of the system under the premise of each function of
technical department. three different systems in normal. Test cases and data will
2) Technology and methods: Various technical methods cover all kinds of normal and abnormal conditions, including
may be used in the process of automated testing. From category different card states verification, verification of discrete
point of view, it mainly includes text analysis technology, contract IOU, cost information verification, to assure the
automated test technology, performance testing technology, successful application of the framework. Then it puts forward a
security testing, etc. From the test process point of view, it kind of automation testing framework based on QTP, which
includes the test plan method and its template, the test case mainly includes five parts: test driver layer, data layer,
design method and its template, the test result analysis method abstraction layer, test case layer and object layer, operate layer.
and the test report template and so on. The overall design is as shown in Figure 1.
145
script describes a specific process executed in the test 1) Benefit-cost analysis: For the meaning of introducing
script. Such a script is used as a drive, with test data and automated testing framework, we made the analysis from the
test scripts (steps) for separation. With a script for cost-benefit formula. Assuming that there are m tests,
different data for testing, it relies on the script variables development costs in the beginning is D i (i 1,2,..., m) ,
for data transfer. Such framework can be used to reduce
maintenance cost is E , manual testing each test run number is
the number of scripts, thus improving the script reuse
rate, and avoiding duplication of scripts. n , a single script the cost of implementation of the manual is
Oi (i 1,2,..., m) , the return numbers is a , then the benefit-cost
x Keyword-driven testing is based on data-driven, as well is as shown in Formula (1).
as the use of keywords corresponding to all the basic
m
operations, each with a corresponding function
implementation. In the case to build a good testing
¦D i E
(1)
Benefit cos t i 1
framework, the main task is to design key data tables, m
146
Main Park Work Description Main Effect test, its test time is reduced, with work efficiency improved
Evaluate the quality of a effectively. At the same time, it can detect whether there is any
Automation Report flaw in the bank's three major businesses and generate test
certain version.
Test report Tip each time point or the reports based on it, to help developers find defects and protect
Automation ROI reports overall situation each time, the development of commercial banks.
project and system quality
147