Loading...
Flash Player 9 (or above) is needed to view slideshows. We have detected that you do not have it on your computer.To install it, go here
Hp Quick Test Professional
Brief Overview of QTP
14797 views | comments | 4 favorites | 0 downloads | 4 embeds (Stats)
More Info
This slideshow is Public
Total Views: 14797 on Slideshare: 14702 from embeds: 95
Most viewed embeds (Top 5):
More
Slideshow Transcript
- Slide 1: QuickTest
Professional
Swapnadeep Deb K
- Slide 2: HP QuickTest Professional (QTP)
HP QuickTest Professional
software is an advanced,
automated testing software for
building functional and
regression test suites. It
captures, verifies and replays
user interactions automatically
and helps testers quickly identify
and report on application effects,
while providing advanced
functionality for tester
collaboration.
HP QuickTest Professional 9.2 is the
latest version.
- Slide 3: Key Features
Mercury Screen Recorder - Captures your entire run session in a movie clip or
capture only the segments with errors, and then view your movie from the
Test Results window.
Dynamic Management of Object Repositories- Programmatically manage an
action's shared object repository collection during the test run.
Enhanced Object Spy Functionality - When you hover over objects in your
application using the pointing hand, you can view their properties, methods,
and object hierarchy in the Object Spy. As you hover over each object, it is
highlighted in the application.
Keyword View: Lets you easily build and maintain tests without writing
VBScripts.
Auto-Documentation: Provides improved test clarity and the ability to view
test steps in plain English.
Step Generator: Allows you to quickly insert custom-built functions into your
tests.
Mercury Business Process Testing: Enhanced integration with BPT --Business
Components, Scripted Components, and Application Areas.
- Slide 4: Enhanced Expert View: Provides greater efficiency when generalizing test
components.
Action Parameters: Allows you to generalize testing actions for greater
reusability.
Data Parameters: You can now specify test or action parameters to pass
values into and from your test, and between actions in your test.
Open XML Report Format for Test Results: Test results are now stored in an
open XML format, enabling you to easily customize the reports according to
your own requirements, and to integrate the test result information with
other applications.
Unicode Support: Lets you test global deployments of your enterprise
applications.
Function Definition Generator: You can use the new Function Definition
Generator to generate definitions for user-defined functions, add header
information to them, and register functions to a test object
- Slide 5: Technologies Supported
Default Support:
Standard Windows applications
Web objects / Applications
ActiveX controls
Visual Basic applications
Supported Add-ins :
Java Add-in 9.1
.NET Add-in 9.2
Oracle Add-in 8.2
PeopleSoft Add-in 8.2*
Add-in 8.2 for SAP Solutions
Siebel Add-in 8.0*
Stingray Add-in 8.2
Terminal Emulator Add-in 8.0*
VisualAge Smalltalk Add-in 8.2
Web Services Add-in 9.2
*PeopleSoft Add-in 8.2, Siebel Add-in 8.0,
and
Terminal Emulator Add-in 8.0 all require an
Add-in Upgrade patch before you can use
- Slide 6: Supported Environments and Programs
QuickTest Professional supports creating, recording, and running tests or
components
using the environments and programs described below:
Virtualization Technologies
VMware workstation 5.5
Citrix MetaFrame Presentation Server 4.0
Standard Windows Applications
QuickTest Professional supports testing on applications based on Win32 API and
MFC.
QuickTest Professional does not support testing on 64-bit applications.
Visual Basic Applications
QuickTest Professional supports testing on Visual Basic 6.0 applications.
Note: Visual Basic .NET applications are supported by the QuickTest Professional
.NET Add-in.
Browsers
Microsoft Internet Explorer 7.0, 6.0 Service Pack 1
Netscape Browser 8.1.2
Mozilla Firefox 2.0, 1.5
- Slide 7: QTP involves 3 main phases:
• Create a test script by recording a manual test scenario on the
Creating Test Scripts AUT (Application Under Test) using QTP. QTP graphically displays
each step users perform in the form of a collapsible, icon based
tree view in QTP’s Keyword View.
• Creation / Enhancement of a test script can be done using the
Expert view where users can add Adding logic and conditional
statements, Parameterization and Inserting checkpoints
Once the test scripts are recorded / created, next step is to
execute them. While running (executing) the tests QTP connects
Running Test Scripts to the web site or AUT and performs each operation in the test as
performed manually while recording / creating test scripts. If QC
is (Quality Center is HP’s software test management tool.) being
used then we can execute the Test Scripts from there.
Examine the QTP test results to pinpoint defects in the
application. The QTP test results give a detailed insight into
every action performed by QTP. The defects can be reported to
Analyzing Test Results a Bug Tracking Tool or to the QC database.
- Slide 8: QTP Main Window
- Slide 9: Object Repository
Object Repository is a file where Test objects can be
stored. There are two types of object repositories—a
shared object repository and a local object repository.
Local Object Repository stores objects in
a file that is associated with one specific
action, so that only that action can access the
stored objects.
Shared Object Repository stores test
objects in a file that can be accessed by
multiple tests (in read-only mode).
Networker GUI Automation uses Shared Object
Repository. In Networker GUI Automation we are using
Quality Center (QC) which is integrated with QTP. These
shared object repositories are stored in Quality Center.
To Associate these Object repositories, QuickTest
Professional should be Connected to Quality Center.
- Slide 10: Object Identification
QTP identifies a test object using different types
of properties and identification methods :
Mandatory Properties – QuickTest has a
predefined set of properties that it gets for each
test object.
Assistive Properties – are properties that
QuickTest gets only if mandatory properties are
not sufficient to create a unique description of a
test object.
Ordinal Identifier – If the combination of all
defined mandatory and assistive properties is
not sufficient to create a unique test object
description, QuickTest also learns the value for
the selected ordinal identifier.
Smart Identification – If QTP cannot find any object that matches the description, or if it finds more
than one object that matches, QuickTest uses the Smart Identification mechanism (if enabled) to
identify the object. In many cases, a Smart Identification definition can help QuickTest identify an
object, if it is present, even when the test object description fails due to changes in one or more
property values.
- Slide 11: Object Spy
The Object Spy pointing hand
mechanism enables viewing the
supported properties and
methods of any object in an
open application. As you move
the pointing hand over the
objects in the application, their
details are displayed in the
Object Spy. These details may
include the test object's
hierarchy tree, its properties
and values, and the methods
associated with the object. For
methods, the syntax is also
displayed. In most
environments, you can choose
to view the test object
properties and methods or the
run-time (native) properties and
methods.
- Slide 12: Checkpoints
Checkpoint is a verification point that compares a current value for a
specified property with the expected value for that property. This enables you
to identify whether your Web site or application is functioning correctly.
Types of Checkpoints
Standard Checkpoint checks the property value of an object in your
application or Web page.
Image Checkpoint checks the value of an image in your application or
Web page.
Bitmap Checkpoint checks an area of your Web page or application as a
bitmap.
Table Checkpoint checks information within a table.
Text Checkpoint checks that a text string is displayed in the appropriate
place on a Web page or application.
Text Area Checkpoint checks that a text string is displayed within a
defined area in a Windows application, according to specified criteria.
Accessibility Checkpoint identifies areas of your Web site that may not
conform to the World Wide Web Consortium (W3C) Web Content Accessibility
Guidelines.
Page Checkpoint checks the characteristics of a Web page.
Database Checkpoint checks the contents of a database accessed by your
- Slide 13: Test Execution Results
Test Execution Results have detailed
information of the execution. The Test
Result overview has the following :
The Test Script Name
Time Zone
Execution Start Date & Time
Execution End Date & Time
Test Set Name (QC)
Test Result : Passed / Failed
The number of steps passed, failed
and warnings.
Test Execution Results give results of
all the actions performed on the AUT.
And gives a detailed insight into the
steps that fail.