HP Unified Functional Testing (UFT) software, formerly known as HP QuickTest Professional (QTP), provides functional and regression test automation for software applications and environments. HP Unified Functional Testing can be used for enterprise quality assurance.
Comments
Content
An Introduction to
HP Quick Test Professional (QTP)
By
Apex TG India Pvt Ltd
Topics being
Covered
Introduction to Automation
Introduction to QTP and its alient !eatures
"nvironment upported
#reatin$ and "n%ancin$ a test suite
Inte$ration of QTP &it% 'in runner and Test director
Introduction to
Automation
Why Testing tools?
(anual
(anual
Testin$
Testin$
> Time consumin$
> Lo& relia)ility
> Human resources
> Inconsistent
Automated Testin$
Automated Testin$
* peed
* +epeata)ility
* Pro$rammin$
capa)ilities
* #overa$e
* +elia)ility
* +e usa)ility
* ave Time
,o Testin$
,o Testin$
Which Test Cases to Automate?
Tests t%at need to )e run for every )uild of t%e application (sanity
c%eck- re$ression test)
Tests t%at use multiple data values for t%e same actions (data
driven tests)
tress.load testin$
Tests re/uirin$ a $reat deal of precision
(ore repetitive execution0
Better candidate for automation1
+"G+"I2, T"TI,G
Leading Available Automation Tools
QTP – An Introduction
Quick Test Professional is t%e fla$s%ip functional testin$ tool
from (ercury Interactive1
It is an icon )ased tool- &%ic% automates t%e functional 3
re$ression testin$ of an application1
QTP is easier to use and implement for )ot% tec%nical 3 non
tec%nical testers in comparison to ot%er functional testin$
tools availa)le1
Latest Availa)le versions is QTP 4515
Salient
eatures
criptin$ Lan$ua$e is 6Bcript &%ic% is easy to use - understand
and pro$ram even complex functionalities &it% ease11
7ses 8Active creen9 tec%nolo$y to record scripts &%ic% aids t%e
tester in referrin$ to t%e screens o):ect properties1
Li)rary files contains 6Bcript functions and su)routines t%at
can )e added to t%e test1
upport (odern ;evelopment "nvironment1
!nvironments
Supported
Basic 'e) Tec%nolo$ies
HT(L
;HT(L
<(L
Bro&sers
,etscape
Internet "xplorer
A2L
Advanced 'e)
Tec%nolo$ies
=avacript
=ava
Active <
(ultimedia Tec%nolo$ies
!las%
+eal Audio.+eal 6ideo
( (edia Player
"+P olutions
myAP1com
ie)el >554
2racle
Peopleoft
1,"T
'in !orms
'e) !orms
,"T #ontrol
'e) ervices
<(L
';L
#ustom #.
• Po&er Builder
• !orte
• ;elp%i
• #entura
• tin$ray
• mallTalk
By usin$ Add*in &e can access some of t%ese environments
"+P.#+(
• Baan
• Peopleoft 'indo&s
• ie)el ?- @ G7I
#lients
• 2racle G7I !orms
"nvironments ,ot upported
The "ain Screen
(enu
Bar
!ile
tool)ar
Test
tool)ar
Test
pane
Action
creen
2):ect
Important
Toolbars
Test toolbar: containin$ )uttons to assist you in t%e testin$
process
Debug toolbar: containin$ )uttons to assist you in de)u$$in$ your
test
Action toolbar: containin$ )uttons and a list of actions- ena)lin$
you to vie& t%e details of an individual action or t%e entire test flo&
Test paneA containin$ t&o ta)s to vie& your testBt%e Cey&ord
6ie& and t%e "xpert 6ie&
Test Details pane : containin$ t%e Active creen
Data Table: containin$ t&o or more ta)s to assist you in
parameteriDin$ your testBGlo)al and one ta) for eac% Action
Test #b$ect
"odel
T%is is a lar$e set of o):ect types or classes t%at Quick Test
uses to represent t%e o):ects in Asus
Properties
(et%ods
A test object is an o):ect t%at
* represents t%e actual o):ect
* stores information a)out t%at o):ect1
A run-time object is t%e actual o):ect in t%e A7T1
Test #b$ect "odel
QTP Test 2):ect
(odelin$
Test Object
Run Time Object
Quick Test Professional maps t%e +un Time 2):ect
to a Test 2):ect already present in its repository1
2nce reco$niDed it can repeat all our actions1
2):ects
HT(L #ode for t%e )utton #AL#7LAT" HT(L #ode for t%e )utton #AL#7LAT"
EI,P7T idF)utton4 typeF)utton EI,P7T idF)utton4 typeF)utton
valueF8#alculate9 nameF 8)utton49 valueF8#alculate9 nameF 8)utton49
titleFGG LA,G7AG"F:avascript titleFGG LA,G7AG"F:avascript
onclickFGreturn )utton4Honclick()GI onclickFGreturn )utton4Honclick()GI
Jou may %ave called your )utton
as )utton4- )ut QTP reco$niDes it
&it% t%e name #alculate