You are on page 1of 12

QTP Certification Questions

1) Where are virtual object collections stored?


A. In a Function Library
B. In the local Object Repository
. In the Object Repository !ana"er
#. dat $older inside o$ the %&' installation directory
() What does the )et&O'roperty *ethod do?
A. Retrieves the value o$ a property $ro* a test object
B. Retrieves the available properties $ro* a test object
. Retrieves the value o$ a property $ro* a run+ti*e object
#. Retrieves the available properties $ro* a run+ti*e object
,) What is the -ey.ord used to de$ine ho. the counter variable in a or le/t loop
incre*ents?
A. 00
B. 1e/t
. 2-ip
#. 2tep
3) &o use lo.+level recordin"4 .hat *ust you do $irst?
A. 2tart a ne. test
B. Be in the 5eyWord vie.
. Be recordin" in 1or*al *ode
#. lic- Lo. Level Recordin" under the Auto*ation !enu
6) When a test is run in update *ode4 .hat is updated?
A. &he test results
B. &he object descriptions
. &he action na*es in the test
#. &he lo"ical na*es in the test
7) &o bypass the Object Repository you can8
A. &urn the Object Repository o$$
B. 9se a pro"ra**atic description
. #elete all objects in all repositories
#. Add the object to the Object Repository !ana"er
:) Why is lo.+level recordin" *ode use$ul?
A. It records e/act -eyboard operations on an object.
B. It records e/act coordinates o$ all *ouse *ove*ents.
. It uses the object repository to deter*ine .hat *ethods can be used.
;) In &est 2ettin"s +<Run the #ata &able iteration options are $or .hich data sheet?
A. Local
B. )lobal
. Run+ti*e #ata &able
# #esi"n+ti*e #ata &able
=) What *ust you do be$ore a shared object repository can be edited?
A. >nable >ditin"
B. Add a ne. object
. Open the object repository
#. Open an action that uses that shared object repository
1?) Which state*ent is used to associate a procedure .ith a test object class?
A. Re"isterFunction
B. Re"ister9ser'roc
. Re"ister9serFunc
#. Re"ister'rocedure
11) Where do you turn 2*art Identi$ication I1?
A. &he Object Repository
B. &he &est 2ettin"s dialo"
. &he )eneral Options dialo"
#. &he Object Identi$ication dialo"
1() What are the phases in the %uic-&est .or-$lo.?
A. 'lan4 Record4 >nhance4 Run
B. 'repare4 Record4 @eri$y4 Run
. 'lan4 reate4 @eri$y A >nhance
#. 'repare4 reate4 @eri$y A >nhance4 Inte"rate
1,) Bou should use local object repositories .hen you8
A. Wor- .ith sin"le+action tests
B. Wor- .ith *ultiple+action tests
. reate *ultiple tests $or a sin"le application
#. >/pect the test object properties to chan"e $reCuently
13) What are the cate"ories in the 2tep )enerator?
A. Object4 Operation4 @alue
B. Library4 Built+in4 Local 2cript
. Operation4 Ar"u*ents4 Return @alue
#. &est Objects4 9tility Objects4 Functions
16) Where do you set the action iterations $or a speci$ied action?
A. Action 2ettin"s
B. Action 'roperties
. Action Run 2ettin"s
#. Action all 'roperties
17) What is the $unction o$ the Object Repository !ana"er?
A. Assi"n variable na*es to test objects
B. @ie.D*a-eD*odi$y a Local Object Repository
. @ie.D*a-eD*odi$y a 2hared Object Repository
#. #e$ine ne. test objects usin" pro"ra**atic descriptions
1:) What *ethod is used to retrieve the nu*ber o$ colu*ns in the Cuery results?
A. Fields.ount
B. Fields.Ite*E>OF)
. Fields.ountEBOF)
#. Fields.ount.@alue
1;) What is the correct set o$ add+ins installed auto*atically .ith %uic-&est =.(?
A. 1>&4 Web4 Fava
B. Web4 2A'4 @isual Basic
. Active G4 @isual Basic4 Web
#. Active G4 &>4 Web 2ervices
1=) What does the source property o$ a database chec-point object represent?
A. &he 2%L Cuery
B. &he identi$ication nu*ber o$ the database
. &he nu*ber o$ ro.s returned $ro* the Cuery
#. &he connectionstrin" used to connect to the database
(?) Which o$ the $ollo.in" is an e/a*ple o$ a *issin" resource?
A. An object
B. Run Results
. A Re"ular Action
#. An >/ternal Action
(1) Ho. can you retrieve the nu*ber o$ ite*s in the list $or a WebList object?
A. )etList
B. )etIte*
. )etIte*sount
#. )etRO'roperty
(() Ho. do you -no. i$ 2*art Identi$ication has been used in a test?
A. &he 2*art Identi$ication icon appears in the test results
B. &he test results .ill sho. a run error4 causin" a test $ailure
. &he properties used by the object repository .ill be chan"ed
#. &he Object Repository .ill sho. the 2*art Identi$ication icon
(,) What object is used to read in$or*ation $ro* a te/t $ile?
A. Read
B. ReadLine
. &e/t2trea*
#. File 2yste*
>. Open &e/t File
(3) What are the available environ*ent variable typeEs)?
A. Built+in
B. 9ser+de$ined
. 9ser+$unction
#. Built+in4 9ser+de$ined
>. Built+in4 9ser+$unction

(6) What is the di$$erence bet.een a subroutine and a $unction?
A. A subroutine can call itsel$I a $unction cannot
B. A $unction returns a valueI a subroutine cannot
. A $unction can accept ar"u*entsI a subroutine cannot.
#. A subroutine can call other proceduresI a $unction cannot.
(7) What are the t.o *ost co**only used A#O objects?
A. Fields
B. >/ecute
. onnection4 Record2et
#. Open4 onnection2trin"
(:) What does a brea-point do?
A. 2tops test e/ecution at the speci$ied step4 a$ter e/ecutin" that step
B. 2tops test e/ecution at the speci$ied step4 be$ore e/ecutin" that step
. 'auses test e/ecution at the speci$ied step4 a$ter e/ecutin" that step
#. 'auses test e/ecution at the speci$ied step4 be$ore e/ecutin" that step
(;) Where do you con$i"ure an action to use a shared object repository?
A. &est 2ettin"s
B. Action 2ettin"s
. Action all 'roperties
#. Associate Repositories
(=) What loopin" state*ents are available in %uic-&est?
A. While .end4 #o loop4 I$ &hen
B. 2.itch ase4 I$ &hen4 For 1e/t
. For 1e/t4 While .end4 #o loop
#. For 1e/t4 #o loop4 2.itch case
,?) What are the available step co**ands in %uic-&est?
A. 2tep4 2tep Into4 2tep Out
B. 2tep Into4 2tep Over4 2tep Out
. 2tep &est4 2tep Action4 2tep Function
#. Run $ro* 2tep4 #ebu" $ro* 2tep4 Run $ro* 2tep
,1) What are test object properties?
A. &hose properties as de$ined in a description object.
B. &hose properties as de$ined in Object Identi$ication
. &hose properties displayed by an object at run+ti*e
#. &hose properties used in the Object Repository $or object identi$ication
,() What options are available to $ilter objects in the &ar"et Object Repository pane
.hen*er"in" object repositories?
A. 2ho. all objects or 2ho. only objects .ith con$lictin" object types
B. 2ho. all objects or 2ho. only objects .ith con$lictin" descriptions
. 2ho. only objects .ith con$lictin" lo"ical na*es or 2ho. only objects .ith
con$lictin" object types
#. 2ho. only objects .ith con$lictin" lo"ical na*es or 2ho. only objects .ith
con$lictin" descriptions
,,) Which *ethod $or the #ata&able utility object .ill allo. you to retrieve in$or*ation
$ro* the#ata &able durin" a test run?
A. @alue
B. I*port
. )etell
#. )et@alue
,3) I$ you have a @irtual Object ollection stored on your *achine4 and you donJt .ant
to use it4.hat *ust you do?
A. #isable @irtual Objects in &est 2ettin"s
B. Re*ove the ollection $ro* your *achine
. #isable @irtual Objects in )eneral Options
#. Re*ove the ollections $ro* the Resources list
,6) I$ you are typin" in >/pert @ie. and you type an object $ollo.ed by a dot4 .hat
does%uic-&est display?
A. 1othin"
B. &he ar"u*ents $or that object
. &he *ethods and properties $or that object
#. &he child objects and *ethods $or that object
,7) What is the $irst thin" that *ust be de$ined in a Recovery 2cenario?
A. &ri""er
B. Recovery Operation
. Recovery 2cenario 1a*e
#. &he Function used in the scenario
,:) What are the available tri""er event types?
A. 'op+up .indo.4 object state4 @B2cript event
B. Object 2tate4 @B2cript event4 Application crash
. 'op+up .indo.4 object state4 test run error4 %&' crash
#. 'op+up .indo.4 object state4 test run error4 application crash
,;) In the Object Identi$ication dialo" bo/4 .hich properties can be vie.ed?
A &he base $ilter and optional properties
B &he *andatory and optional properties
&he base $ilter and assistive properties
# &he *andatory and assistive properties
,=) Where do you *ar- an action as reusable?
A. Action 2ettin"s
B. Action 'roperties
. Action Run 2ettin"s
#. Action all 'roperties
3?) Where can you *er"e t.o shared object repositories?
A. &he Object Repository
B. &he Object Repository !ana"er
. &he Associate Object Repositories &ool
#. Bou can only *er"e local object repositories
31) A$ter runnin" a test that contains both input and output para*eters4 .here can the
results o$an output para*eter be $ound?
A. Local #ata 2heet
B. )lobal #ata 2heet
. Run+ti*e #ata &able
#. #esi"n+ti*e #ata &able
3() I$ the Local #ata sheet contains t.o ro.s o$ data4 ho. *any ti*es .ill the action
iterate4 by de$ault?
A. 1
B. (
. ,
#. 6
3,) Ho. do you close the database session a$ter e/a*inin" the results o$ an 2%L Cuery?
A. all the A#O.lose $unction
B. 9se the close *ethod $or the Record2et object
. 2et the Record2et and onnection objects eCual to 1othin"
#. 9se the close *ethod $or the Record2et and onnection objects
33) By de$ault4 ho. does %uic-&est pass ar"u*ents to the procedure?
A. By@al
B. ByRe$
. ByAr"
#. ByRes
36) What does the hildObjects *ethod return?
A. A ollection object
B. A strin" trueD$alse
. A Boolean &R9>DFAL2>
#. &he nu*ber o$ objects *atchin" the hildObject description
37) Ho. do you declare a constant?
A. #i* state*ent
B. on state*ent
. onst state*ent
#. Option >/plicit state*ent
3:) When a procedure is created in the Function Library editor4 .hat is the e/tension on the
$ile?
A. I1I
B. &G&
. %FL
#. @B2
3;) What can you use to handle unpredictable testin" e/ceptions?
A. A #o Loop
B. Recovery 2cenario
. IF &H>1 state*ent
#. 2electase state*ent
3=) In .hich co**and can you associate a $unction library to a test?
A. Run Options
B. &est 2ettin"s
. @ie. Options
#. Function #e$inition )enerator
6?) What is created4 by de$ault4 .ith each ne. action?
A. Local #ata 2heet4 )lobal #ata 2heet4 Folder
B. Local Object Repository4 Local #ata 2heet4 Folder
. )lobal #ata 2heet4 Local Object Repository4 Folder
#. Local #ata 2heet4 )lobal #ata 2heet4 Local Object Repository
61) What *ethod is used to send a run+ti*e #ata sheet to an >/cel $ile?
A. 2end
B. >/port
. 2end2heet
#. >/portsheet
6() I$ the )lobal #ata sheet contains no data and the Local #atasheet contains t.o
ro.s o$ data4ho. *any ti*es .ill the test iterate?
A. 1
B. (
. ,
#. 6
6,) What object is used to send in$or*ation to test results at the co*pletion o$ the test
run?
A. Result
B. Reporter
. Report>vent
#. ResultReport
63) I$ a procedure is de$ined in a test script4 that procedure is accessible to .hich
testsDscripts?
A. Only to other procedures
B. It is not usable to any test scripts
. &he test script in .hich it is de$ined
#. 9sin" the 2tep )enerator4 it is available to any test script
66) When does a #o loop state*ent evaluate $or continuation?
A. At the end o$ the loop
B. At the start o$ the loop
. At the start or the end o$ the loop
#. &his loop uses a counter variable
67) What is the de$ault ordinal identi$ier?
A. &he location
B. &he object id
. &he nativeclass
#. &he inde/ nu*ber
6:) What are bit*ap chec-points sensitive to?
A. I*a"e siKe and object type
B. Object type and i*a"e type
. 2creen resolution and object type
#. 2creen resolution and i*a"e siKe
6;) What in$or*ation can be seen in the in$or*ation pane?
A. 2ynta/ errors
B. &he test na*e and author
. &he %&' license in$or*ation
#. &he *achine id and operatin" syste*.

You might also like