Sunteți pe pagina 1din 36

QTP Certification Dump - Sample Questions 1-50

1. When you modify the name of an object in the local object repository, the name is automatically updated in ....... for all occurrences of the object.. A) in the Keyword View B) in the E pert View !) Both Keyword and E pert View ") !han#in# name of an object doest not effect $eyword or e pert %iew Ans& ! '. !an we add e ternal library files in ()*+ A. ,o B. -es Ans& B .. /ow many tabs are there in )est 0ettin#s 12ile340ettin#s) window A) 5 B) 6 !) 7 ") 8 Ans& ! 9. What can you use to handle unpredictable testin# e ceptions+ A. A "o :oop B. ;eco%ery 0cenario !. <2/E, statement ". 0electase statement Ans& B 5. What is the shortcut $ey to open a 0tep =enerator. A) 2' B) 25 !) 26 ") 27 Ans& " 6. -ou can also encrypt strin#s in "ata )able cells usin# the ......... option in the "ata )able menu. A) "ecrypt B) Encrypt !) Encrypt !ode ") "ecrypt !ode Ans& B 7. When you create a test, it includes ..... action. A) 0in#le B) unlimited !) )hree ") >ultiple Ans& A

8. <n the Keyword View, you can also %iew properties for items such as chec$points. A) )rue B) 2alse Ans& A ?. (uic$)est sa%es the object repository with a ..... e tension in the specified location A) .%sr B) .tsr !) .lsr ") .@sr Ans& B 1A. 2or openin# the (uic$)est *rofessional /elp we can use....... A) 2. B) 25 !) 21 ") 2' Ans& ! 11. Bsin# the Cbject 0py, you can %iew A) the run3time or test object properties and methods of any object in an open application. B) the run3time or test object properties of any object in an open application. !) the test object properties and methods of any object in an open application. ") the run3time object properties and methods of any object in an open application. Ans& A 1'. )here are .........object type filters in Cbject spy dialo# bo . A) )wo B) )hree !) 2our ") 2i%e Ans& A 1.. <n the Cbject 0py window, in the *roperties )ab A) !opyin# of *roperties and its %alues is possible with !);:D! B) !opyin# of *roperties and its %alues is possible by ri#ht clic$in# on it and choosin# copy. !) !opyin# of *roperties and its %alues is possible with both A) and B) methods ") !opyin# of *roperties and its %alues is possible is not possible Ans& A 19. Cbject 0py dialo# bo A) !an be resiEed B) cannot be resiEed Ans& A 15. <n the Cbject 0py window, in the methods )ab A) !opyin# of >ethods is possible with !);:D! B) !opyin# of >ethods is possible by ri#ht clic$in# on it and choosin# copy. !) !opyin# of >ethods is possible with both A) and B) methods ") !opyin# of >ethods is possible is not possible Ans& A

16. .............. are the hi#hest le%el of the test hierarchy in the Keyword %iew. A) )ests B) 0teps !) !all to Actions ") Actions Ans& " 17. -ou can copy and paste or dra# and drop actions to mo%e them to a different location within a test A) )rue B) 2alse Ans& A 18. -ou can print the contents of the Keyword View to your Windows default printer 1and e%en pre%iew the contents prior to printin#). A) )rue B) 2alse Ans& A 1?. <n the step Browser 4 *a#e 4 Edit 4 0et F0achinF, identify container object1s) A) Browser B) Edit !) *a#e ") Both Browser G *a#e Ans& " 'A. -ou can use the Keyword View to add a step ..........in your test. A) at the end B) below the currently selected step !) at the be#innin# ") at any point Ans& " '1. )he "ocumentation cell is............. A) ;ead3only B) Write3only !) ;ead and Write ") ;ead write G e ecute Ans& A ''. An <tem column can be any of the followin#& A) A test object B) A statement li$e "im !) A step #enerated by step #enerator ") All of abo%e Ans& " '.. )he Cperation cell in the $eyword %iew specifies the operation to be performed on the item listed in the........... !olumn. A) Cperation B) "ocumentation !) <tem

") Value Ans& ! '9. E%en if the <tem column in the Keyword View is displayed to the ri#ht of the Cperation column, you must still first select an item to %iew the list of a%ailable operations in the Cperation column. A) )rue B) 2alse Ans& A '5. )he Value cell in the $eyword %iew can contain........ Value A) !onstant B) *arameter !) Both A) G B) ") ,one of these Ans& ! '6. <n addition to addin# standard statement steps to your test usin# the Keyword View, you can also insert A) !hec$point step B) Cutput %alue step !) !omment step ") All of abo%e Ans& " '7. )he correct synta of the conditional statement startin# with "o is..... A) "o...While B) "o...Bntil !) "o...,e t ") Both A) and B) Ans& " '8. (uic$)est processes a comment when it runs a test. A) )rue B) 2alse Ans& B '?. *ress ..... to add a new step below the currently selected step. A) 28 B) 0hift D A !) 2A ") 0hift D A D ( Ans& A .A. While wor$in# with the Keyword View, you can ...... steps to mo%e them to a different location in a test or in an action A) !opy and *aste B) !ut and *aste !) "ra# and drop ") Both A) and !) Ans& "

.1. -ou can specify the order in which the columns are displayed in the Keyword %iew. A) )rue B) 2alse Ans& A

.'. -ou can %iew ....... while wor$in# with $eyword %iew. A) object properties B) action properties !) action call properties ") chec$point properties E) Cutput %alue properties 2) ,one of the abo%e =) All of abo%e Ans& = ... )he ............... enables you to encode your passwords and place secure %alues into the "ata )able. A) *assword Encoder B) *assword "ecoder !) *assword Encode ") *assword "ecode Ans& A .9. -ou cannot mana#e some aspects of a local object repository usin# the (uic$)est Cbject ;epository automation object model.. A) )rue B) 2alse Ans& B .5. 2or each action, you can use a combination of objects from your local and shared object repositories. A) )rue B) 2alse Ans& A .6. (uic$)est adds all new objects to the local object repository e%en if one or more shared object repositories are already associated with the action assumin# that an object with the same description does not already e ist in one of the associated shared object repositories.. A) )rue B) 2alse Ans& A .7. <f a child object is added to a local object repository, and its parents are in a shared object repository, then you ha%e to manually dra# and drop its parent objects from shared object repository to local object repository. A) )rue B) 2alse Ans& B

.8. )he ....... is not accessible as a separate file A) local object repository B) shared object repository !) Both ") ,one Ans& A .?. <n the Cbject ;epository window&. A) :ocal objects are editable 1blac$) B) 0hared objects are in read3only format 1#ray) !) :ocal objects are in read3only format 1#ray) ") 0hared objects are editable 1blac$) Ans& AB 9A. >ar$ true statement1s)&. A) -ou can delete objects from a shared object repository usin# the Cbject ;epository window. B) -ou can delete objects from the local object repository usin# the Cbject ;epository >ana#er !) -ou can delete objects from the local object repository usin# the Cbject ;epository window ") -ou can delete objects from a shared object repository usin# the Cbject ;epository >ana#er Ans& !" 91. <f an object is contained in both local and shared repositories then, durin# a run session. A) (uic$)est will use the object in the local object repository B) (uic$)est will use the object in the 0hared object repository !) )here will be a conflict ") (uic$)est will use "escripti%e *ro#rammin# Ans& A 9'. When you copy an object to the local object repository A) its parent objects are also copied to the local object repository B) its parent objects are not copied to the local object repository !) -ou ha%e to manually copy its parent objects are also copied to the local object repository ") -ou ha%e to manually dra# and drop its parent objects Ans& A 9.. 2or tests, you can also %iew test object properties and property %alues for objects in the Acti%e 0creen, re#ardless of whether the objects are stored in the object repository. A) )rue B) 2alse Ans& A 99. Cbject *roperties window differs for objects stored in 0hared and :ocal object repository. A) )rue B) 2alse Ans& A 95. -ou can rename objects in the shared object repository usin# the Cbject ;epository >ana#er A) )rue B) 2alse, you cannot rename objects in shared object repository Ans& A

96. When you modify the name of an object in a shared repository, the name is automatically updated in all tests open on the same computer that use the object repository as soon as you ma$e the chan#e, e%en if you ha%e not yet sa%ed the object repository with your chan#es. A) )rue B) 2alse Ans& A 97. An ........ assi#ns a numerical %alue to a test object that indicates its order or location relati%e to other objects with an otherwise identical description 1objects that ha%e the same %alues for all properties) A) <nde identifier. B) ordinal identifier. !) 0>A;) <" identifier. ") ori#inal identifier. Ans& B 98. -ou can add an object to the local object repository only if that object does not already e ist in a shared object repository that is associated with the action. <f an object already e ists in an associated shared object repository, you can add it to the local object repository usin# the ........ option. A) !opy from 0hared ;epository B) !opy from 0hared Cbject ;epository !) !opy to :ocal ") !opy to :ocal repository Ans& ! 9?. -ou can copy, paste, and mo%e objects in the local object repository usin# the Cbject ;epository window, and copy, paste, and mo%e objects both within a shared object repository and between shared object repositories usin# the Cbject ;epository >ana#er. But you cannot copy objects from a shared object repository to the local object repository to modify them locally A) )rue B) 2alse Ans& B 5A. -ou can modify an object stored in a shared object repository. A) usin# the Cbject ;epository >ana#er B) usin# the Cbject ;epository window !) you can copy it to the local object repository and then modify its properties ") you cannot modify properties of objects stored in 0hared object repository Ans& A!

QTP Certification Dump - Sample Questions 51-100


51. At the time of copyin#, pastin# and mo%in# objects, you cannot mo%e an object to any of its descendants. A) )rue B) 2alse Ans& A 5'. When you remo%e a step from your test, its correspondin# object is also remo%ed from the object repository A) )rue

B) 2alse Ans& B 5.. -ou can use the 2ind and ;eplace dialo# bo to replace property or object names. A) )rue B) 2alse Ans& B 59. <n the Associated ;epositories tab of the Action *roperties dialo# bo , the ......object repository is always listed first and cannot be mo%ed down the priority list or deleted. A) local B) shared !) Both ") ,one Ans& A 55. <n the Associated ;epositories tab of the Action *roperties dialo# bo , althou#h we can order the object repositories accordin# to our choice e cept the fact that 0hared ;epository remains the first one and cannot be remo%ed. A) )rue B) 2alse Ans& B 56. <f your object repositories are stored in the file system and you want other users or >ercury products to be able to run this action on other computers, you should set the file path as a A) Absolute path B) relati%e path !) both ") ,one of abo%e Ans& B 57. A test comprises calls to actions. When you create a new test, it contains a call to a ...... action. A) Cne B) )wo !) )hree ") >ultiple Ans& A 58. )he Cbject ;epository window is ...... durin# record and run sessions A) read3only B) read3write only !) read3write and enable ") ,one of abo%e Ans& A 5?. When you open a test, you can choose to %iew ...... A) the test flow 1calls to actions) B) you can %iew and edit the indi%idual actions stored with your test. !) Both A G B ") ,one Ans& !

6A. )here are three $inds of actions& A) non3reuse action, reuse action, e ternal action B) !all to internal action, !all to reusable action, e ternal action !) non3reusable action, reusable action, e ternal action ") !all to non3reusable action, reusable action, e ternal action Ans& ! 61. By default, new actions are A) 0hort B) E ternal !) reusable ") non3reusable Ans& " 6'. -ou can display or hide the Action toolbar in the Keyword View by choosin# ........ A) View 4 )oolbars 4 Action B) View 4 )oolbars 4 Actions !) View 4 )oolbar 4 Action ") Views 4 )oolbars 4 Action Ans& A 6.. )he ...... enables you to %iew either the entire test flow 1the calls to the actions in the test) or you can %iew the steps for a selected reusable or e ternal action. A) Action 2low B) Action file !) Action :ist ") Action ;epository Ans& ! 69. <n the ......., the Action :ist is always %isible and the E pert View always displays the script for the selected action. A) Keyword View B) E pert View !) Action 2low ") Action View Ans& B 65. 2or e%ery action called in your test, (uic$)est creates a correspondin# ........ in the "ata )able so that you can enter "ata )able parameters that are specific to that action only. A) action sheet B) E cel sheet !) Both A G B ") ,one Ans& A 66. <f the action is called more than once within the test flow or if the action is called by a reusable action, the ;eusable action option is ...... A) read3only B) write3only !) both read and write

") read3write3e ecutable. Ans& A 67. -ou cannot e pand ...... actions from the test flow %iew. A) reusable B) non3reusable !) both A G B ") ,one Ans& A 68. -ou can associate ....... object repositories with an action, and the same object repository can be associated with different actions as needed A) ,ine B) )wenty one !) as many as you need ") )wel%e Ans& ! 6?. 0ometimes you may want to call an action from within an action. )his is called ....... A) ;eusability B) ,estin# !) 0harin# ") ,one Ans& B 7A. <f a reusable action is called more than once in a test and you split the action into two independent actions, each call to the action within the test will be followed by a call to the new 1reusable) action. <f a reusable action is called from another test, howe%er, ...... it may cause the callin# test to fail. A) ,estin# B) 0plittin# !) ;eusin# ") Both A G ! Ans& B 71. -ou can associate shared object repositories with ...... actions simultaneously, usin# the Associate ;epositories dialo# bo A) se%en B) )wo !) )hree ") >ultiple Ans& " 7'. -ou must use the ...... Action option in (uic$)est if you want to sa%e an action under another name. A) ;esa%e B) ;ename !) ;euse ") 0plit Ans& B

7.. When you remo%e an e ternal action, you remo%e all calls and the action from the action list. )he ori#inal action is also affected. A) )rue B) 2alse Ans& B 79. <f you want to include one or more statements in e%ery new action in your test, you can create an .... A) reusable action B) split action !) 2unction ") action template Ans& " 75. With (uic$)est *rofessional ?.A, a ma imum of .......... Actions can be placed into a script A) 11A B) '56 !) 1'A ") 51' Ans& ! 76. Cnly the file name ...... is reco#niEed as an action template A) Action)emplate.mst B) ActionH)emplate.mst !) Action3)emplate.mst ") Action)emplates.mst Ans& A 77. -ou can also press ...... to open the ;ename Action dialo# bo A) 0hift D 2' B) 0hift D 2. !) 0hift D 29 ") 0hift D 25 Ans& A 78. -ou can import and e port object repositories from and to .... files. A) I>: B) >)0 !) )0; ") I:0 Ans& A 7?. )he Cbject ;epository automation object model enables you to manipulate (uic$)est ....... object repositories and their contents from outside of (uic$)est. A) 0hared B) :ocal !) Both ") ,one Ans& A

8A. Before usin# the Cbject ;epository automation object model to manipulate shared object repository stored in (uality !enter, you must download the shared object repository and sa%e it to the file system. A) )rue B) 2alse Ans& A 81. <n #eneral, the ....... object repository is easiest to use when you are creatin# simple record and run tests. A) 0hared B) :ocal !) Both ") ,one Ans& B 8'. 0et)C*roperty chan#es the property %alues used to identify an object durin# the test run. <t also effects the %alues sa%ed in the Cbject ;epository for the object. A) )rue B) 2alse Ans& B 8.. After creatin# or editin# an object repository I>: file, it is recommended to use the (uic$)est ..........functionality to %erify that your file conforms to the (uic$)est object repository schema. A) 0chema Verification B) 0chema Validation !) I>: Validation ") I>: Verification Ans& B 89. )o display the !omment in the Cbject ;epository dialo# bo , you must use the attribute name ......... A) miccommentproperty B) commentproperty !) micHcommentHproperty ") ,one of abo%e Ans& A 85. -ou can use the Cbject ;epository >er#e )ool to mer#e objects from ...... A) two shared object repositories into a sin#le shared object repository. B) the local object repository of one or more actions or components into a shared object repository. !) Both A G B ") ,one Ans& ! 86. Cbject;epositoryBtil Cbject Enables you to manipulate .....object repository files from outside of (uic$)est *rofessional. A) 0hared B) :ocal !) Both

") ,one Ans& ! 87. =et)C*roperty method returns the %alue of a specified property for a test object from the Cbject ;epository. A) )rue B) 2alse Ans& A 88. -ou can use the objects and methods of the (uic$)est .................... to write scripts that automatically manipulate object repositories, instead of performin# these operations manually usin# the Cbject ;epository >ana#er. A) Automation object model B) Cbject ;epository automation object model !) Cbject ;epository model ") Cbject ;epository 0cript Cbject model Ans& B 8?. )he new Cbject ;epository !omparison )ool is accessible from the Cbject ;epository >ana#er. -ou can use this tool to identify the differences between objects in ........ A) two specified shared object repository files. B) a 0hared and a :ocal object repository files. !) either 0hared or :ocal object repository files. ") two specified :ocal object repository files. Ans& A ?A. -ou must con%ert object repository files from (uic$)est *rofessional 8.'.1 or earlier to the current format before you can use them in (uic$)est *rofessional ?.A or later. Which method lets you do so. A) !on%ersion method B) !on%er#e method !) !on%ert method ") ,one Ans& ! ?1. <n ()* ? or abo%e, )est objects can be stored in two types of object repositories........ A) a shared object repository and a *er3Action object repository. B) a shared object repository and a local object repository. !) a shared object repository and a Action object repository. ") Both A G ! Ans& B ?'. )he Cbject ;epository >ana#er enables you to open ...... shared object repositories and modify them as needed A) multiple B) three !) two ") 0e%en Ans& A ?.. -ou open the Cbject ;epository window for a specific component by choosin# .......... A) ;esources 4 Cbject ;epository

B) )ools 4 Cbject ;epository !) 2ile 4 Cbject ;epository ") /elp 4 Cbject ;epository Ans& A ?9. ........ >ethod :oads the specified object repository. A) C%erload B) :oad !) Both A G B ") ,one Ans& B ?5. An object repository that is currently open by another user is loc$ed, is it possible to mer#e a loc$ed object repository. A) -es B) ,o Ans& A ?6. All chan#es you ma$e to an object repository are automatically updated in all components open on the same computer that use the object repository as soon as you ma$e the chan#eJKLe%en if you ha%e not yet sa%ed the object repository with your chan#es. A) )rue B) 2alse Ans& A ?7. <f you want to modify an object stored in a shared object repository, you can modify it....... A) usin# the Cbject ;epository >ana#er B) you can modify it locally usin# the Cbject ;epository window. !) Both A G B ") ,one of abo%e Ans& ! ?8. -ou can mana#e the shared object repository associations of a selected test usin# the ............ A) Associate ;epositories dialo# bo B) Cbject ;epositories dialo# bo !) Associate ;epositories >ana#er dialo# bo ") Cbject ;epositories >ana#er dialo# bo Ans& A ??. ................ ;eturns an Cbject;epositories collection representin# all object repository files associated with the action. A) Cbject *roperty B) Automation Cbject >odel !) Cbject;epositories *roperty ") C; *roperty Ans& ! 1AA. <f you do not want (uic$)est to perform a step or chec$point until an object in your application achie%es a certain status, you should insert a .......... point to instruct (uic$)est to pause the test until the object property achie%es the %alue you specify A) 0ynchroniEation

B) !hec$ !) 0mart <dentification ") none of abo%e Ans& A

QTP Certification Dump - Sample Questions 101-150


1A1. Where do we 0pecify the >a imum )ime to Wait for a Web *a#e to :oad A) 2ile340ettin#s, Web )ab. B) )ools34Cptions, Web )ab. !) ;esources340ettin#s, Web )ab ") ,one of abo%e Ans& A 1A'. ...... >ethod Waits for the browser to complete the current na%i#ation. A) E ist B) Wait !) Wait*roperty ") 0ync Ans& " 1A.. -ou can insert ........ statements that instruct (uic$)est to wait until an object e ists A) E ist B) Wait !) Both A G B ") ,one Ans& ! 1A9. 0ub 0yncHE ample1) Browser1F>ercury )oursF).*a#e1F>ercury )oursF).0ync End 0ub )he abo%e e ample uses the 0ync method to wait for the >ercury )ours pa#e to synchroniEe before performin# the ne t operation. A) )rue B) 2alse Ans& A 1A5. .....*roperty3 )he period of time (uic$)est waits before chec$in# the emulator status 1in milliseconds). A) 0ync)ime B) 0ync.)ime !) )ime0ync ") )ime.0ync Ans& A 1A6. ....... *roperty3 <ndicates whether (uic$)est beeps after performin# each 0ync function durin# a run session. A) BeepAfter0ync B) BeepCn0ync !) Beep0ync

") Beep.0ync Ans& B 1A7. ...... 0tatement 3 <nitiates a pause durin# a run session. A) Wait*roperty B) Wait !) 0ync ") E it Ans& B 1A8. Bnli$e the E ist method, the ....... method enables you to synchroniEe the test run based on a specific object property. A) Wait*roperty B) Wait !) 0ync ") E it Ans& A 1A?. ........... *roperty 3 is the ma imum time 1in milliseconds) that (uic$)est waits for a Web pa#e to load before runnin# a step. A) Browser)imeout B) BrowserH,a%i#ationH)imeout !) Browser,a%i#ation)imeout ") BrowserH)imeout Ans& ! 11A. )he ........ chec$s a %ariety of objects such as buttons, radio buttons, combo bo es, lists, and so forth. A) <ma#e chec$point B) standard chec$point !) Bitmap chec$point ") Accessibility chec$point Ans& B 111. -ou create an ima#e chec$point by insertin# a ........ on an ima#e object. A) <ma#e chec$point B) standard chec$point !) Bitmap chec$point ") Accessibility chec$point Ans& B 11'. ......... are also supported for some list %iew objects, such as Win:istView and Vb:istView, as well as other list %iew objects in e ternal add3in en%ironments. A) )able chec$points B) standard chec$points !) Accessibility chec$points

") I>: chec$points Ans& A 11.. .......identifies areas of your Web site that may not conform to the World Wide Web !onsortium 1W.!) Web !ontent Accessibility =uidelines. A) Accessibility !hec$point B) standard chec$points !) "atabase chec$points ") Accessible !hec$point Ans& A 119. ........ 0pecifies the time inter%al 1in seconds) durin# which (uic$)est attempts to perform the chec$point successfully. A) !hec$ timeout B) !hec$point inter%al timeout !) !hec$point timeout ") (uic$test timeout Ans& ! 115. ........... 0pecifies when to perform the chec$point in the test. A) <nsert statement. B) !hec$ statement. !) timeout statement. ") chec$point statement. Ans& A 116. -ou can %iew the results of the chec$point in the ........ A) )est ;esults window B) !hec$point window !) <nformation *ane ") !hec$list window Ans& A 117. By default, the bottom ri#ht part of the )est ;esults window displays information on the selected chec$point only if it has the status 2ailed. A) )rue B) 2alse Ans& A 118. <f you want to retrie%e the return %alue of a chec$point 1a boolean %alue that indicates whether the chec$point passed or failed), you must add ......... the chec$point ar#ument in the statement in the E pert View. A) parentheses around B) *roperties with !) Ar#uments with

") Values alon#with Ans& A 11?. -ou can also use the ......... to chec$ specific property %alues. A) !hec$*roperty method B) !hec$<tem*roperty method !) <tem*roperty method ") *roperty method Ans& A 1'A. -ou cannot modify the settin#s of e istin# chec$points. A) )rue B) 2alse Ans& B 1'1. -ou can edit information in the "ata )able by typin# directly into the table cells. A) )rue B) 2alse Ans& A 1''. -ou can use a formula in a chec$point to confirm that an object created on3the3fly 1dynamically #enerated) or another %ariable object in your Web pa#e or application contains the %alue it should for a #i%en conte t. A) )rue B) 2alse Ans& A 1'.. Each row in the table represents the set of %alues that (uic$)est submits for the ......... ar#uments durin# a sin#le iteration of the test or action. A) parameteriEed B) ,on3parameteriEed !) distributed ") ,one of abo%e Ans& A 1'9. 2or e%ery action called in your test, (uic$)est creates a correspondin# ........ in the "ata )able so that you can enter "ata )able parameters that are specific to that action only. A) action sheet B) E cel sheet !) Both A G B ") ,one Ans& ! 1'5. )here are three $inds of actions& A) non3reuse action, reuse action, e ternal action B) !all to internal action, !all to reusable action, e ternal action !) non3reusable action, reusable action, e ternal action

") !all to non3reusable action, reusable action, e ternal action Ans& ! 1'6. When you create a test, it includes ..... action. A) 0in#le B) unlimited !) )hree ") >ultiple Ans& B 1'7. By default, new actions are A) 0hort B) E ternal !) reusable ") non3reusable Ans& B 1'8. )he ...... enables you to %iew either the entire test flow 1the calls to the actions in the test) or you can %iew the steps for a selected reusable or e ternal action. A) Action 2low B) Action file !) Action :ist ") Action ;epository Ans& " 1'?. <n the ......., the Action :ist is always %isible and the E pert View always displays the script for the selected action. A) Keyword View B) E pert View !) Action 2low ") Action View Ans& A 1.A. ....... >ethod 3 <mports a sheet of a specified file to a specified sheet in the run3time "ata )able. A) 0heet<mport B) <mport0heet !) <mport"ata)able ") <mport)able Ans& B 1.1. -ou can display or hide the Action toolbar in the Keyword View by choosin# View 4 )oolbars 4 Action. A) View 4 )oolbars 4 Action B) View 4 )oolbars 4 Actions !) View 4 )oolbar 4 Action ") Views 4 )oolbars 4 Action Ans& A

1.'. )he column headin#s in the sheet you import must match the "ata )able parameter names in the action for which the sheet is bein# imported. Ctherwise, your test or component may fail. A) )rue B) 2alse Ans& A 1... )he sheet you import automatically ta$es the name of the sheet it replaces. A) )rue B) 2alse Ans& A 1.9. )he use of comple andMor nested formulas in the "ata )able is supported. A) )rue B) 2alse Ans& B 1.5. "urin# the run session, (uic$)est creates a ....... "ata )ableNa li%e %ersion of the "ata )able associated with your test. A) )rue B) 2alse Ans& A 1.6. )he data your test uses is stored in the ....... "ata )able, which is displayed in the "ata )able pane at the bottom of the screen while you insert and edit steps. A) desi#n3time B) ;un3time !) !urrent ") ,one Ans& A 1.7. <f it is important for you to sa%e the resultin# data from the run3time "ata )able, you can insert a ..........statement to the end of your test to e port the run3time "ata )able to a file. A) E port."atatable B) "ata)ableHE port !) "ata)able.E port ") Both A G B Ans& ! 1.8. When you parameteriEe a step in a test usin# the "ata )able, you must decide whether you want to ma$e it a #lobal "ata )able parameter or an action "ata )able parameter. A) )rue B) 2alse Ans& A

1.?. After runnin# a parameteriEed test, you can %iew the actual %alues ta$en from the "ata )able in the )est ;esults ;un3)ime "ata )able. A) )rue B) 2alse Ans& A 19A. ...... *roperty 3 ;eturns the desi#n3time "ata )able, which enables you to modify the data that is used for the "ata )able parameters in your test or business component. A) "ata)able B) "esi#n)able !) "esi#nH)able ") ,one Ans& A 191. )he "ata )able assists you in parameteriEin# your test. A) )rue B) 2alse Ans& A 19'. -ou can parameteriEe %alues ..... in your test. A) in 0teps B) in !hec$points !) of Action *arameters ") Both A G B E) All of abo%e Ans& E 19.. )here are four types of parameters& )estMAction, ;andom number, En%ironment Variable, ;e#ular E pression. A) )rue B) 2alse Ans& B 199. -ou can parameteriEe %alues in steps and chec$points while ...... your test. A) recordin# B) editin# !) Both A G B Ans& ! 195. While usin# )est and Action <nput *arameters,you can enter the parameter name in the E pert View usin# the *arameter utility object, in the format& ............ for the current action. A) *arameter1F*arameter,ameF) B) *arameter,ame1F*arameterF) !) *arameter1F*arameter3,ameF) ") *arameter1F*arameterH,ameF) Ans& A

196. ..... parameters are a%ailable only for top3le%el actions. A) Action B) En%ironment Variable !) )est ") ,one Ans& ! 197. ...... parameters are a%ailable for subse@uent steps and for nested actions. )hey are defined in the action containin# the steps or in the action that calls the nested action. A) Action B) En%ironment Variable !) )est ") *arent action Ans& " 198. By outputtin# %alues to the #lobal "ata )able sheet from one action and usin# them as input parameters in another action, you can easily pass %alues from one action to another. A) )rue B) 2alse Ans& A 19?. When specifyin# the name for data table parameter, the first character of the parameter name must be a ...... A) letter B) underscore !) number ") both A G b Ans& " 15A. ...... parameters are especially useful for localiEation testin#, when you want to test an application where the user interface strin#s chan#e, dependin# on the selected lan#ua#e. A) Action B) En%ironment !) )est ") *arent action Ans& B

QTP Certification Dump - Sample Questions 151-200


151. -ou can also store en%ironment %ariable files in (uality !enter. A) )rue B) 2alse Ans& A 151. ....... built3in en%ironment %ariable that tells %ersion of the C0 on which you are wor$in#. A) C0 B) C0HVer

!) C0VE; ") C0Version Ans& " 15.. ;andom number parameters are appropriate for non3numeric %alues, such as te t or hyperte t lin$s. A) )rue B) 2alse Ans& B 159. ;e#ular e pressions enable (uic$)est to identify objects and te t strin#s with undependable %alues. A) )rue B) 2alse Ans& A 156. -ou can use re#ular e pressions only for %alues of type strin# and number. A) )rue B) 2alse Ans& B 157. <f you e pect the %alue of a property to chan#e in an unpredictable way durin# each run session, you can use re#ular e pressions A) )rue B) 2alse Ans& B 158. All ........ are automatically treated as re#ular e pressions. A) pro#rammatic description B) Window !) WinCbject ") !ollection Ans& A 15?. <f a bac$slash character is used before a character that has no special meanin#, the bac$slash is i#nored. A) )rue B) 2alse Ans& A 16A. -ou can use re#ular e pressions in the 2ind what and ;eplace with strin#s to enhance your search. A) )rue B) 2alse Ans& A 161. ;e#ular E pressions can also be used with I>: chec$points. A) )rue B) 2alse Ans& A

16'. What is the ;e#ular E pression >atchin# Oero or >ore 0pecific !haracters A) B) P !) Q ") G Ans& ! 16.. Virtual objects enable you to record and run tests on objects that are normally reco#niEed by (uic$)est. A) )rue B) 2alse Ans& B 169. <n the test results, the %irtual object is displayed as thou#h it is a standard class object. A) )rue B) 2alse Ans& A 165. (uic$)est does not support %irtual objects for ....... recordin#. A) analo# B) low3le%el !) normal ") both A G B E) both A G ! Ans& " 166. -ou can use the Cbject 0py to %iew %irtual object properties. A) )rue B) 2alse Ans& B 167. -ou cannot insert any type of chec$point on a %irtual object A) )rue B) 2alse Ans& A 168. )he ............ contains all the %irtual object collections defined on your computer. A) Virtual Cbjects >ana#er B) Virtual >ana#er !) Virtual Cbject >ana#er ") Virtual Cbject WiEard Ans& ! 16?. E tention of %irtual object collection files A) .%cf B) .%ot !) .%ct ") .%cd Ans& B

17A. -ou can remo%e %irtual objects from your test by ....... these objects. A) disablin# reco#nition of B) deletin# !) deletin# %irtual object collection files of ") All of Abo%e E) both A G B Ans& E 171. When you want (uic$)est to reco#niEe %irtual objects durin# recordin#, ensure that the ....... chec$ bo in the =eneral tab of the Cptions dialo# bo is cleared. A) "isable reco#nition of %irtual object 2iles while recordin# B) "isable reco#nition of %irtual object !ollection while recordin# !) "isable reco#nition of %irtual objects while recordin# ") Enable reco#nition of %irtual objects while recordin# Ans& ! 17'. (uic$)est identifies a %irtual object accordin# to its ...... A) *roperties B) boundaries !) Cbject 0py ") Ed#es Ans& B 17.. ;eco%ery scenarios acti%ate specific reco%ery operations when ......... occur. A) 0pecific Errors B) )est Errors !) )ri##er E%ents ") ()* Errors Ans& ! 179. -ou can also control and acti%ate your reco%ery scenarios durin# the run session by insertin# .............. into your test. A) )ri##er E%ents B) ;eco%ery E%ents !) ;eco%ery 0tatements ") !atch 0tatements Ans& ! 175. <f you choose Cn error in the Acti%ate reco%ery scenarios bo in the ;eco%ery tab of the )est 0ettin#s dialo# bo , the reco%ery mechanism does not handle tri##ers that occur in the last step of a test. A) )rue B) 2alse Ans& A 176. By default, reco%ery scenario operations are acti%ated only after a step returns an error. A) )rue

B) 2alse Ans& A 177. A ....... is a con%enient way to or#aniEe and store multiple reco%ery scenarios to#ether. A) reco%ery file B) reco%ery folder !) ;eco%ery :o# ") :o# 2ile Ans& A 178. )he ;eco%ery 0cenario >ana#er dialo# bo enables you to create and edit reco%ery files, and does not let you create and mana#e the reco%ery scenarios stored in those files. A) )rue B) 2alse Ans& B 17?. Each reco%ery scenario is represented by an icon that indicates its type. A) )rue B) 2alse Ans& A 18A. )he ;eco%ery Cperations screen in ;eco%ery 0cenario WiEard enables you to mana#e the collection of ........ in the reco%ery scenario. A) reco%ery operations B) reco%ery 2iles !) )ri##er e%ents ") All of Abo%e Ans& A 181. <f you define a ;estart >icrosoft Windows reco%ery operation, it is always inserted as the last reco%ery operation, and you can chan#e its position in the list. A) )rue B) 2alse Ans& B 18'. <f more than one scenario uses a function with the same name from different function libraries, the reco%ery process may fail. A) )rue B) 2alse Ans& A 18.. )o debu# a function library, you must first associate it with a test and then debu# it from that test. A) )rue

B) 2alse Ans& A 189. )o detect and isolate defects in a test or function library, you can control the run session usin# the .... command A) *ause B) ;un !) 219 ") 0ession Ans& A 185. When the test or function library run stops at a brea$point, you can use the ...... to chec$ and modify the %alues of VB0cript objects and %ariables. A) "ebu# Window B) "ebu# "ialo# !) "ebu# Viewer ") "ebu# pa#e Ans& ! 186. While the test and function libraries are runnin# in debu# mode, they are read3only A) )rue B) 2alse Ans& A 187. -ou cannot debu# a file that is called usin# an ...... statement, or any of the functions contained in the file. A) E ecute2iles B) E ecuteH2ile !) E ecute32ile ") E ecute2ile Ans& " 188. )he debu# session can continue at the bac$end while you can perform file operations li$e openin# a new test etc. A) )rue B) 2alse Ans& B 18?. Any chan#es you apply to e ternal resources sa%ed in the file system, such as function libraries, are implemented only when the test is closed and reopened but any chan#es you apply to any e ternal resource that is sa%ed in your (uality !enter project, such as a function library, will be implemented immediately. A) )rue B) 2alse Ans& B 1?A. -ou can use the .......... command to be#in your debu# session at a specific point in your test. A) 0tart from 0tep

B) ;un to 0tep !) ;un from 0tep ") 0tart to 0tep Ans& A 1?1. -ou can specify the time 1in milliseconds) (uic$)est pauses between each step by modifyin# the ..... option in the ;un tab of the Cptions dialo# bo 1)ools 4 Cptions). A) "elay step e ecution by B) "elay e%ery step e ecution by !) "elay all steps e ecution by ") "elay each step e ecution by Ans& " 1?'. )o display the "ebu# toolbar, choose ............ A) View 4 )oolbar 4 "ebu# B) View 4 )oolbars 4 "ebu#s !) Views 4 )oolbar 4 "ebu# ") View 4 )oolbars 4 "ebu# Ans& " 1?.. -ou can install the (uic$)est...... add3ins 1Web, Acti%eI, Visual Basic) when you install (uic$)est *rofessional, or you can install the (uic$)est built3in add3ins at a later time by runnin# the installation a#ain. A) internal B) e ternal !) built3in ") All of abo%e Ans& ! 1?9. Add3ins that are installed separately from the (uic$)est *rofessional installation are referred to as ....... add3ins. A) internal B) e ternal !) built3in ") built3out Ans& B 1?5. When (uic$)est opens, you can choose which of the installed add3ins you want to load usin# the (uic$)est *rofessional 3 ...... dialo# bo . A) Add3<n Window B) Add3<n !) Add3<n >ana#er ") Add3<n >ana#ement Ans& !

1?6. <nstallin# and :oadin# an Add3in is one and the same thin#. A) )rue B) 2alse Ans& B 1?7. -ou can install Add3in Bp#rade patches by runnin# the rele%ant patch e ecutable from the R...... folder. A) AddinsBpdate B) AddinsBp#rade !) AddinsHup#rade ") Both A G B Ans& B 1?8 <n Add3in >ana#er dialo# bo , )ime3:imited column displays %alues only when usin# a (uic$)est seat license JKL not a concurrent license. A) )rue B) 2alse Ans& A 1??. -ou can %iew the list of add3ins that are currently installed or loaded by choosin# ................... A) 2ile 4 0ettin#s B) )ools 4 Cptions and clic$ the =eneral tab. !) /elp 4 About (uic$)est *rofessional. ") both A G B Ans& ! 'AA. )o ma imiEe performance and object identification reliability, load all the add3ins. A) )rue B) 2alse Ans& B

QTP Certification Dump - Sample Questions 201-250


'A1. )he add3in is displayed as ,ot :icensed in the :icense column of the Add3in >ana#er dialo# bo & A) <f an add3in license has not yet been installed for a specific e ternal add3in. B) if no concurrent license ser%er within your subnet has a re#istered license for the specific add3in !) if all concurrent licenses are in use ") All of Abo%e Ans& " 'A'. -ou can use only one license type per session for (uic$)est *rofessional and all loaded add3ins3 either seat or concurrent. A) )rue B) 2alse Ans& A 'A.. Before you record or run a test on a Web or Windows application, you can use the .... dialo# bo to instruct

(uic$)est which applications to open when you be#in to record or run your test. A) ;ecord and ;un B) ;ecord and ;un 0ettin#s !) ;un and ;ecord ") ;un and ;ecord 0ettin#s Ans& B 'A9. <f you define en%ironment %ariables to specify the record and run details, those %alues o%erride the %alues in the ;ecord and ;un dialo# bo . A) )rue B) 2alse Ans& A 'A5. -ou can record tests only on ............ A) >icrosoft <nternet E plorer B) ,etscape Browser !) >oEilla 2irefo ") Cpera Ans& A 'A6. ;ecord and ;un 0ettin#s window contains two tabs A) Web G Window B) Web G Windows Applications !) Web G Window Applications ") Web G Windows Application Ans& B 'A7. -ou can add up to ... applications to the application list displayed in the Windows Applications tab A) 1A B) 1' !) '9 ") 69 Ans& A 'A8. -ou can use special, predefined en%ironment %ariables to specify the applications or browsers you want to use for your test while specifyin# the ;ecord and ;un "etails A) )rue B) 2alse Ans& A 'A?. <f you select the option to ;ecord and ;un on any application or browser 1the upper radio button in each tab of the ;ecord and ;un 0ettin#s dialo# bo ), (uic$)est ..... any defined record and run en%ironment %ariables. A) does not B) i#nores !) may or may not i#nore

") ,one of abo%e Ans& B '1A. )o use en%ironment %ariables to specify the applications or browsers you want to use for your test run, you must use the appropriate %ariable names E.#. the %ariable name for the Web address to display in the browser is A) B;:HVA; B) B;:HE, !) B;:HE,V ") B;:HVA Ans& ! '11. )he settin# of the Acti%e 0creen capture le%el 1)ools 4 Cptions 4 Acti%e 0creen tab) can si#nificantly affect the ..... for your test and the functionality of the Acti%e 0creen while editin# your test. A) repeatin# time B) waitin# time !) a%era#e time ") recordin# time Ans& " '1'. )he Web tab 1;ecord and ;un 0ettin#s dialo# bo ) is a%ailable only when Web support is installed and loaded. A) )rue B) 2alse Ans& A '1.. )he ...... enables you to %iew either the entire test flow 1the calls to the actions in the test) or you can %iew the steps for a selected reusable or e ternal action. A) Action >enu B) Action :ist !) Action )oolbar ") Action View Ans& B '19. -ou can %iew the ....... of the ori#inal action in the =eneral tab of the Action *roperties dialo# bo . A) *arameters B) :ocation !) Associated ;epositories ") )ype Ans& B '15. -ou can create an additional call to any reusable or e ternal action in your test by pressin# ...... while you dra# and drop the action to another location at a parallel 1siblin#) le%el within your test. A) 2.

B) alt !) shift ") ctrl Ans& " '16. -ou can use action parameters in any step in your action 1includin# function calls). A) )rue B) 2alse Ans& A '17. <nput %alues for an action parameter can be retrie%ed A) from the test 1for a top3le%el action) B) from the parameters of the parent action that calls it 1for a nested action) !) from the output of a pre%ious action call 1for a siblin# action) ") All of abo%e Ans& " '18. )he Action !all *roperties dialo# bo enables you to set options that apply only to a ...... action call. A) followin# B) preceedin# !) specific ") internal Ans& ! '1?. 0pecifyin# input and output parameter %alues in action calls is ....... A) re@uired B) optional !) re@uired only for internal action ") both A G B Ans& B ''A. -ou can share a %alue that is #enerated in one action with other actions in your test by storin# the %alue in the ..... "ata )able. A) <nternal B) E ternal !) :ocal ") =lobal Ans& " ''1. A) E B) E !) E ") E Ans& E itAction& its the current action, re#ardless of its iteration attributes. its the current iteration of the action. its the test, re#ardless of its iteration attributes. its the current #lobal iteration. A

'''. <f the action called by the ;unAction statement includes an E itAction statement, the ;unAction statement can return

the %alue of the E itActionSs ;etVal ar#ument. A) )rue B) 2alse Ans& A ''.. <f an object with the same name and description is located in both the local object repository and in a shared object repository that is associated with the same action, the action uses the ...... object definition. A) shared B) local !) !an use any ") ,one of abo%e. Ans& B ''9. -ou cannot use the same shared object repository with multiple actions. A) )rue B) 2alse Ans& B ''5. <f one or more of the property %alues of an object in your application differ from the property %alues (uic$)est uses to identify the object, your test ..... fail. A) may B) must !) should ") will certainly Ans& A ''6. -ou can open as many shared object repositories as you want. A) )rue B) 2alse Ans& A ''7. -ou can also open an object repository from the .......... in the 2ile menu. A) ;ecent 2olders list B) !urrent 2iles list !) ;ecent 2iles list ") Both A G c Ans& ! ''8. <f you opened the object repository in ...... mode, you must enable editin# for the object repository before you can modify it. A) read3write mode B) read3e ecute mode !) read3write3e ecute mode ") read3only mode Ans& "

''?. -ou can also modify a shared object repository by mer#in# it with another shared object repository. A) )rue B) 2alse Ans& A '.A. -ou can also add objects to a shared object repository usin# the ....... option. A) ,a%i#ate and :earn B) ,a%i#ate and earn !) ,a%i#ate ") ,a%i#ate and !lic$ Ans& A '.1. While 2indin# Cbjects in an Cbject ;epository, -ou can use the 2ind and ;eplace dialo# bo to replace property or object names. A) )rue B) 2alse Ans& B '.'. <n the E pert View, you can use the Cbject property to acti%ate the method for a Web object. A) )rue B) 2alse Ans& A '... )he test object property set for each test object is created and maintained by ....... )he run3time object property set for each run3time object is created and maintained by the object creator A) >icrosoft B) Adobe !) /* ") (uic$)est Ans& " '.9. -ou can %iew or modify the test object property %alues that are stored with your component in the Cbject *roperties or Cbject ;epository dialo# bo . A) )rue B) 2alse Ans& A '.5. <t is possible that you can use the Cbject property to access the nati%e properties of any run3 time object. A) )rue B) 2alse Ans& A '.6. -ou cannot retrie%e the %alues of test object properties from a run3time object. A) )rue

B) 2alse Ans& B '.7. -ou can use the =et)C*roperty, =et)C*roperties, and 0et)C*roperty methods in your ........ to set and retrie%e the test object property %alues of the test object. A) )est B) 2unction :ibrary !) Applciation area ") Both A G B Ans& " '.8. Because (uic$)est refers to the temporary %ersion of the test object durin# the run session, any chan#es you ma$e usin# the 0et)C*roperty method apply only durin# the course of the run session, and do not affect the %alues stored in the test object repository. A) )rue B) 2alse Ans& A '.?. -ou can use the Cbject 0py at any time to %iew ..... properties and %alues of the objects in the application you are testin#. A) run3time B) test object !) Both A G B ") ,one Ans& ! '9A. -ou cannot add to the list of properties that (uic$)est uses to identify an object. A) )rue B) 2alse Ans& B '91. )he default properties for a :in$ object 1hyperte t lin$) are... A) ,ame B) te t !) /)>: ta# ") )a# Ans& B, ! '9'. ()* can detects an application crash and acti%ate a defined reco%ery scenario to continue the run session. A. )rue B. false Ans& A

'9.. Browser na%i#ation timeoutS is in which tab of )est 0ettin#s 12ile340ettin#s) window. A) *roperties B) ;esources !) Web ") Web 0ettin#s Ans& ! '99. <dentify the tabs in the )est 0ettin#s 12ile340ettin#s) window A) *roperties, ;un, ;esources, *arameters, En%ironment, Web, ;eco%ery B) *roperties, ;un, ;esources, *arameters, En%ironment, Web0ettin#s,;eco%ery !) *roperties, ;un Cptions, ;esources, *arameters, En%ironment, Web,;eco%ery ") *roperties, ;un, ;esources, <nput *arameters, En%ironment, Web, ;eco%ery Ans& A '95. =enerate 0criptS is in which tab of )est 0ettin#s 12ile340ettin#s)window A) *roperties B) Web !) ;esources ") ;eco%ery Ans& A '96. )he followin# are the four main columns in the Keyword %iew A) <tem, Cperation, Value, !omments B) <tem, Cperation, Value, "ocumentation !) <tem, Cperation, *roperty, "ocumentation ") ,umber, Cperation, Value, "ocumentation Ans& B '97. 2or each object and method in an E pert View statement, acorrespondin# row e ists in the Keyword View. A) )rue B) 2alse !) )here is a problem with the statement. ") ,one of abo%e Ans& A '98. -ou can wor$ on one or se%eral function libraries at the same time. A) )rue B) 2alse Ans& A '9?. -ou can insert additional steps on the test objects captured in the Acti%e screen after the recordin# session. A) )rue B) 2alse Ans& A '5A. )he Acti%e 0creen enables you to parameteriEe object %alues andinsert chec$points A) )rue B) 2alse Ans& A

S-ar putea să vă placă și