Professional Documents
Culture Documents
QTP Tutorial With
QTP Tutorial With
2
QUICK TEST
PROFESSIONAL 8.2
1. Introduction
2. Recording a Session
3. Running a Session
4. Object Management
5. Synchronization
6. Check Points
7. Output Values
8. Parameterization
9. Actions
10. Recovery Scenario Manager
11. Debugging
Introduction
Mercury Quick Test Professional 8.2
provides the industry’s best solution for
functional test and regression test
automation - addressing every major
software application and environment.
Why QTP
Ease of use:
1. QTP allows even novice testers to be productive in minutes. You
can create a test script by simply pressing a Record button and
using an application to perform a typical business process.
2. Using the Active Screen facility, several types of checkpoints for
any object to verify that components behave as expected can be
created simply by clicking on that object in the Active Screen.
3. Data Table, an integrated spreadsheet with the full functionality
of Excel, is used to manipulate data sets and create multiple test
iterations, without programming, to expand test case coverage.
QuickTest Professional supports functional testing of all popular
environments, including Windows, Web, .Net, Visual Basic, ActiveX,
Java, SAP, Siebel, Oracle, PeopleSoft, terminal emulators, and Web
services .
Add-in Manager
Keyword View
Expert View
Create the Basic Test
Menu Test
Settings Run
Text checkpoint
Database checkpoint
XML Checkpoint
Types and Their Use
Standard Checkpoint Checks the property
value of the object in
an application or
Webpage. It checks
buttons,Radiobuttons,
Comboboxes etc
Bitmap Checkpoint Checks the value of
an image in the
application.
Checks whether the
Text Checkpoint text string is
displayed in the
appropriate place in
your application or
on a Web page
Database Checkpoint Checks the contents
of a database
accessed by the
application
XML Checkpoint
Checks the data
content of XML
documents in the
application.
When to Use Checkpoints
Before creating checkpoints on web
objects we have to select web-test
option in ADD-IN Manager.
If the objects developed in HTML we
can use Standard Check point.
If the Objects developed in XML we
can use XML Check point.
How Checkpoints Work -
Playback
Script Expected Result
Execute checkpoint
Object: Button
Logical Name : OK
Property: Enabled
Value: True
Sample Objects that QuickTest can
Verify
WINDOWS WEB
Window Browser
Edit Field Text Area
Drop down list Text Link
Menu command Images
Radio Button Image Link
Checkbox Edit Field
Windows Object Drop down list
Status Bar Checkbox
Text Area Radio Button
Tables/ Grids
Web Element
How to Add a Checkpoint
1.Select the object in the Active
Screen
Output Value
Select the
Property
How to use Output Value…
Contd.
Output Value
Parameterization
A parameter is a variable that is
assigned a value from an external
data source at run time. We use
parameterization when we want to
change the value of properties at run
time.
Types of Parameterization
Parameterization can be done in three
ways using Quick Test.
Datatable
Environment variables
Random numbers
DataTable Parameters
The Test runs once for each line of data in
the DataTable. Each iteration takes a
different value from the datatable.
choose the Run tab
Test
Settings
Settings
Environment