Professional Documents
Culture Documents
2 kerneltraining.com/hp-unified-functional-testing-tool
HP’s Unified Functional Testing
The Primary Panes are:
3 kerneltraining.com/hp-unified-functional-testing-tool
UFT
Make automated testing more efficient and
help developers and testers collaborate. This
functional automated testing software—
formerly Quick Test Professional (QTP)—helps
deliver quality software at the speed your
business needs.
4 kerneltraining.com/hp-unified-functional-testing-tool
Automate Your Testing with UFT Software
• HP UFT software automates testing through an
intuitive, visual user experience that ties manual,
automated, and framework-based testing together
in one IDE. This far-reaching solution significantly
reduces the cost and complexity of the functional
testing process while driving continuous quality.
5 kerneltraining.com/hp-unified-functional-testing-tool
HP Unified Functional Testing (QuickTest Professional + HP Service Test)
What it does
6 kerneltraining.com/hp-unified-functional-testing-tool
Why it is useful
HP Unified Functional Testing (UFT) enables functional tests to be carried out
automatically to increase the speed and cost effectiveness of application development
and delivery. After an initial investment of effort to record and configure a script, the
script can be run again and again to verify the functionality of an application under test.
This can yield considerable savings in time and money over manual testing. UFT is
especially useful for regression tests, i.e. tests which check that the existing
functionality of an application still works as it should after other parts of the application
have been modified. Like all automated functional test tools, UFT is less well suited to
one-off tests or first-time tests of new applications or functionality because the effort of
creating a UFT script is at least as great as that of conducting a manual test.
For large applications with regular release cycles, a set of UFT tests can be created for
regression testing. Such a set of tests is often known as a 'regression pack'. With each
release of the application under test, the regression pack is run to check the existing
functionality, thus freeing the test team to focus on manual tests of the new
functionality and /or creating new UFT scripts to test it. The regression pack will
normally execute tests much faster than a team of manual testers and can also be set to
run out of hours.
Outside the domain of testing, UFT can also be used as a 'robot' to automate a variety of
repetitive tasks which would otherwise have to be carried out by a human user.
7 kerneltraining.com/hp-unified-functional-testing-tool
Key features
Recording
8 kerneltraining.com/hp-unified-functional-testing-tool
Object recognition:
A typical application window or web page consists of a collection of objects
such as editable fields, buttons, menus etc. In normal recording, UFT
recognises these objects and stores representations of them in a repository (the
Object Repository). UFT refers to the repository during playback to reproduce
the user's actions on each object. It looks up the object's details in the
repository and uses the information to reproduce the user's action on the
object. Using the details in the repository, UFT is able also to check the status
of an object.
When recording user action in the finest granularity, objects are not stored in
the repository because the recording is based on literal mouse movements,
mouse clicks and key presses.
For teams of testers, each copy of UFT can be configured to use a shared Object
Repository. This ensures that the objects are recognised and named
consistently across all tests performed by the team which leads to quicker and
more cost effective IT project delivery.
UFT is able to recognise a wide range of objects including those which exist in
an application which is embedded in another, such as an ActiveX or Java
component embedded in a browser.
9 kerneltraining.com/hp-unified-functional-testing-tool
Checkpoints
• Checkpoints are the means by which UFT determines whether a test
has passed or failed. A checkpoint is a point in the script where UFT
stops to compare the actual state of a particular aspect of the
application under test with the expected state. The expected state is
defined when the script is created. There are several different types of
checkpoint, each of which compares a different type of data. The
types of checkpoint include checkpoints which verify object status, the
presence of text strings on a web page, the presence of a bitmap in a
particular place on the screen and the presence of expected data in an
application's database.
• If the actual result of a check matches the expected result, the check
passes; if it does not, the check fails. The pass or fail is recorded in the
result of the test. Checkpoints are inserted as desired by the tester
after the initial recording. A script may have any number of
checkpoints.
10 kerneltraining.com/hp-unified-functional-testing-tool
Parameters
• Scripts in UFT can make use of dynamic data. A script may be set up to
perform an action repeatedly, each time for a different customer. For
example, in an online bookshop, a script may be created to order a book
and set up to run repeatedly ordering a different book each time. Dynamic
data, in this case a list of book identifiers (title, author etc), is stored in
UFT's built-in data table. Data may be entered into the data table manually,
or imported from outside sources such as Excel spreadsheets and ODBC-
compatible databases (which include Oracle, MS Access, and SQL Server).
• Parameters can also be used to extract data from the test. In the above
example, it might be useful to store the order number for each book
purchase. This can be done using an ‘output parameter'. The values of
output parameters are stored in the test results and may be exported to
other applications.
11 kerneltraining.com/hp-unified-functional-testing-tool
Parameters
Movie playback
• The HP Unified Functional Testing solution allows playback to be viewed as an
animation. This is useful for (amongst other things) debugging. A tester can use
the animation to see exactly what actions were performed on the system by UFT
and exactly how the system reacted.
• The solution features may have evolved with the introduction of the HP Unified
Functional Testing (UFT) solution but our highly skilled teams are still ahead of
the software lifecycle curve and as industry leaders in automation we'd be
delighted to field any questions you might have about the product, just drop us a
line.
Licensing
• The product can be licensed per copy or through a concurrent licence. A concurrent
licence allows UFT to be installed on several different machines, but limits the
number that may run UFT at any one time to the number of licences purchased.
Each machine connects to a licence server which enforces the limit on concurrent
users. A concurrent licence typically costs about 40 per cent more than a seat
licence.
12 kerneltraining.com/hp-unified-functional-testing-tool
Questions ?