Professional Documents
Culture Documents
%eliable Tests perform precisel# the same operations each time the#
are run, there %# eliminating human error&
%epeatable& 'e can test ho$ the application reacts after repeated
execution of the same operation
'inRunner +,P-
!ilkTest +.orland-
TestComplete +AutomatedQA-
QA'i1ard +!eapine-
TestPartner +Compu$are-
QEngine +Ad"entNet-
QTP run on onl# $indo$s platform not supporting >N(:, ;inux etc
0ntro"uction to QTP
>>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<
$/stem %e1uirement E?ui"alent to P@ and a%o"e
Har"ware )ri!e 475/. of 0ree /emor# space
%A, 7A4/. of RA/
*perating $/stem /3! $indo$s 4555 ser"er $ith @<B ser"ice pack
/3! $indo$s :P $ith A<4 !P
/3! $indo$s 455@ $ith no ser"ice pack
2eb 3rowser /! (nternet Explorer 7&7 and a%o"e
Netscape Na"igator C&AA, C&44, C&4@, D&54, D&A
A*; E&5, 6&5
-n!ironment nee"s for QTP 4.5
>>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<
Tec'nolog/ supporte" b/ t'e QTP
3/ "efault t'ree A"" 0ns are t'ere in QTP
Acti"e:
8.
'e%
A""itional A"" ins&
9a"a
*racle
People soft
&NET
!AP
!ie%el
)elphi
A"" 0ns $upporte" b/ QTP
>>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<
A- Test Pane
4- Acti"e !creen
@- )ata Ta%le
B- )e%ug 8ie$er
2in"ow $tructure of QTP
>>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<
!cript+&mts file-
ActionA RepA +&mtr file-
!heetA +local!heet-
Parameters < Action Parameters
Action4 Rep 4 +&mtr file-
!heet 4 +local!heet-
Parameters < Action Parameters
Action@ Rep @ +&mtr file-
!heet@ +local!heet-
Parameters < Action Parameters
!hared Repositor# t +&tsr file-
Flo%al !heet
En"ironment Parameter
Test Parameter
G
G
Arc'itecture *f QTP
>>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<
*%Hect !p#
*%Hect (dentification
*%Hect Repositor#
Parameters +)ataTa%le-
Regular Expression
!mart (dentification
/andator# Properties
*%Hect+JJ*%HName==-&Click +44,B7-
%ecor"ing ,o"es
>>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<
%ecor"ing a Test
>>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<
%ecor" & %un $etting
>>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<
%unning a Test an" $a!ing %esults
>>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<
.iewing Test %esults
>>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<
8irtual *%Hect is used to identif# the properties of similar o%Hects in a
particular Area& 0or (nstance
0n normal recor"ing if we select t'e paint brus' win"ow9 t'e
script will look like following&
$indo$+IPaintG-&Acti"ate
'indo$+IPaintG-&'ino%Hect+IcolorsG-&Click D4,AC
'indo$+IPaintG-&'ino%Hect+IcolorsG-&Click E5,AB
'indo$+IPaintG-&Close
0f we are using .irtual ob7ect9 t'e script will look like following
$indo$+IPaintG-&Acti"ate
'indo$+IPaintG-&'ino%Hect+IcolorsG-&8irtual .utton+IRE)G-
'indo$+IPaintG-&'ino%Hect+IcolorsG-&8irtual .utton+IRE)G-
'indo$+IPaintG-&Close
.irtual *b7ect
>>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<
/sg%ox+-
(nput%ox+-
!tring manupulation
>sing 8aria%les
>sing Concatenation
!plit +-
(nstr+-
Constant
)ataTa%le+IclmNameG,dt;ocal3Flo%al!heet-
RandomNum%er+start,End-
En"ironment+IParanameG-
Action Parameter
Constant
)ataTa%le
RandomNum%er
En"ironment
Test Parameter
Test Parameter
-n!ironment Parameter
.uild (n
>ser )efined
Parameters 8 )ata manipulation
>>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<
Test Parameter
0ile<=!etting<=Parameter Ta%
-n!ironment Parameter
0ile<=!etting<=En"ironment Ta%
*utput "alue
!elect the o%Hect from acti"e screen, Right click, !elect output
"alue
!#stem>til Commands
&Exist Command
!etT*Propert#
Regular Expression
Repositor# Parameter
!mart (dentification
T/pes of $/nc'roni:ation
!#nc
'ait
'aitPropert#
Exist
$/nc'roni:ation Point
>>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<
Check Point is a "erification point that compares the current "alue of the
specified propert# $ith the expected "alue for that propert#&
Application Crash
-6ception Han"ling
>>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<
>>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<
T'ank >ou