|
By implementing RTTS best practices
with QTP, the automation
team created a suite of
reusable and
maintainable scripts
with nearly 3000 data
validation points (see
chart below).
|
Total Identified
Test Cases |
Test Cases
Automated |
Total Data
Validations |
|
66 |
66 |
2,871 |
This was accomplished by
building a suite
consisting of nine
automation code
libraries (vbscript
classes) with more than
150 functions. The
library model followed a
functionality-specific
paradigm:
-
Login Window Library
-
Main Window Library
-
Preference Window
Library
-
Add Trades Window
Library
-
Market Price Window
Library
-
Blotter Window Library
-
Blotter Filter Window
Library
-
Show Error Window
Library
-
Filter Window Library
Test cases were then
built largely by calls
into these libraries.
Shell scripts were
created to allow batch
automation to run 24x7
as required without
human intervention. We
also provided a facility
to execute scripts
individually. These
scripts require little
or no user involvement
during runtime, which
frees up the QA Analyst
so that he or she can
perform additional
project tasks. All of
these execution options
were built within QTP’s
user-friendly interface.
In addition to data
validation, scripts were
leveraged for
user-experience
measurements. Timers
were placed throughout
the code modules in
order to capture window
load times and script
execution times. The
timing data provided a
build-to-build record of
transaction times, so
that if a transaction
time changed
dramatically in a
specific build, the
application area could
be flagged for
investigation, or user
expectations could be
managed where
transactions slowed
dramatically. The timing
data also created an
added benefit by
providing the system
administrator with data
on window-specific load
issues related to server
activity.
One important ROI
measurement for the
automation effort was
the amount of
person-hours saved by
automated execution vs.
manual test execution:
|
Automation ROI -
per cycle |
|
Test Cases
Automated |
Suite Execution
Automated (hr) |
Suite Execution
Manual (hr) |
Time Saved per
Suite Execution
Automation vs.
Manual (hr) |
|
66 |
8 |
32 |
24 |
The chart reflects the following: -
A manual tester takes 32
business hours to test
the entire suite.
-
Equivalent automation
requires eight hours
-
Total business savings
is 24 hours per suite
execution
-
For the OMS, on average
there are two releases
per month, or 24
releases per year
-
Typically, four testing
cycles are executed per
release.
This leads to a total of
96 execution cycles per
calendar year, with the
following savings due to
automation:
|
Automation ROI -
per calendar
year |
|
Suite Execution
Automated (hr) |
Suite Execution
Manual (hr) |
Time Saved per
Suite Execution
Automation vs.
Manual (hr) |
|
768 |
3072 |
2304 |
The automation cost
approximately 750 hours
to build, with ongoing
maintenance costs of 15
hours per release, or
360 hours annually.
Thus, the automation
paid for itself in
approximately 6 months.
|