Professional Documents
Culture Documents
2
Testing Process
Preparing to Record
Recording
Enhancing a Test
Debugging
Running the Test and Analyzing the Results
Reporting Defects
Add-in Manager
Default Add-ins
– ActiveX
– Visual basic
– Web
Other Add-Ins
– Siebel
– Java
– SAP
– Oracle
– .Net and many more
Quick Test Professional - Record &
Run Modes
Recording Modes
– Normal
– Analog
– Low level
Run Modes
– Normal
– Fast
QTP Window
Create a Test
Objectives
Create a basic test from a manual test case.
Run a test and check for errors.
The Object Repository
1.Standard Checkpoint
2.Image Checkpoint
3.Table Checkpoint
4.Page Checkpoint
5.Text Checkpoint
6.Text Area Checkpoint
7.Bitmap Checkpoint
8.Database Checkpoint
Insert A Checkpoint From The
Active Screen
A checkpoint can be added
after a test is created.
Use the Active Screen to
select the field on which the
checkpoint will be added.
Right-click on the
appropriate field and
choose “Insert Standard
Checkpoint”.
Regular Expressions
Objectives
Describe and use multiple parameter types.
Drive data in multiple iterations.
Analyze errors during iterations.
Parameterize a checkpoint.
Input Parameters For Data driven
Tests
Input Parameters For Data Driven Tests
A data-driven test is one that runs a set of user
actions with multiple input values. Data driving
allows one script to test application functionality
with many sets of data.
Automated data driven testing frees you to
perform more tests, thus increasing test coverage.
Speed, repeatability, free resources to do other
kinds of quality control.
Input Parameter
In the VALUE
CONFIGURATION OPTIONS
dialog, select the Parameter
radio button and ensure that
Data Table is selected from the
drop-down list.
From the Name drop down list,
enter a unique column name to
create a new column in your
data table or choose an existing
column name from the data
table.
Use the default Global data
sheet to store values.
Enter the values that QTP will
input after the test executes.
Supply Data to the Parameter
Create a reusable
action from the Action
properties dialog.
Check the checkbox
and click OK. A
message will appear
stating a description of
a reusable
action.
Call An Action