100 Top QTP Multiple Choice Questions and Answers
100 Top QTP Multiple Choice Questions and Answers
100 Top QTP Multiple Choice Questions and Answers
100 Top QTP Multiple Choice Questions and Answers | Multiple Choice Questions and Answers pdf for beginners experienced
Mo n d ay , 5 A u g u st 2013
2013 (8)
August (8)
60 Top Dreamweaver M ultiple Choice
Questions and A...
70 Top J2M E M ultiple Choice Questions
and Answers
60 Top JavaScript M ultiple Choice
Questions and An...
100 Top XM L M ultiple Choice Questions
and Answers
100 Top Load Runner M ultiple Choice
Questions and ...
80 Top Oracle DBA M ultiple Choice
Questions and An...
106 Top M anual Testing M ultiple
Choice Questions a...
100 Top QTP M ultiple Choice Questions
and Answers
3) To invoke the function which does not return any value, we can use
A. CALL function name
B. function name
C. Both A & B
D. None
Ans: A
4) The result of the checkpoints can be stored in a variable
A. Yes
B. No
C. Maybe. Depends on the type of checkpoint.
Ans: A
5) Parameterization generally involves
A. Data table
B. Random number
C. Environment
D. All of the Above
Ans: D
6) The file which is used for recovering from the run time errors has an extension
A. QRS
B. TSR
C. PNG
D. DAT
Ans: A
7) Among the following recording modes, which method uses both the objects and
mouse coordinates
A. Normal
B. Low level
C. Analog
D. Both B & C
Ans: B
8) Where do you mark an action as reusable?
A. Action Settings
B. Action Properties
http://mcqspdf.blogspot.in/2013/08/100-top-qtp-multiple-choice-questions.html
1/10
1/25/2014
100 Top QTP Multiple Choice Questions and Answers | Multiple Choice Questions and Answers pdf for beginners experienced
http://mcqspdf.blogspot.in/2013/08/100-top-qtp-multiple-choice-questions.html
2/10
1/25/2014
100 Top QTP Multiple Choice Questions and Answers | Multiple Choice Questions and Answers pdf for beginners experienced
http://mcqspdf.blogspot.in/2013/08/100-top-qtp-multiple-choice-questions.html
3/10
1/25/2014
100 Top QTP Multiple Choice Questions and Answers | Multiple Choice Questions and Answers pdf for beginners experienced
http://mcqspdf.blogspot.in/2013/08/100-top-qtp-multiple-choice-questions.html
4/10
1/25/2014
100 Top QTP Multiple Choice Questions and Answers | Multiple Choice Questions and Answers pdf for beginners experienced
http://mcqspdf.blogspot.in/2013/08/100-top-qtp-multiple-choice-questions.html
5/10
1/25/2014
100 Top QTP Multiple Choice Questions and Answers | Multiple Choice Questions and Answers pdf for beginners experienced
B. NO
Ans: A
53) Is the Shared ( Global ) Action Repository the default repository in QTP ?
A. YES
B. NO
Ans: B
54) In a Per Action (Local) Repository Action 1 and Action 2 in the same test script
would have different object repositories?
A. YES
B. NO
Ans: A
55) The Share Action Repository is preferable when
A. The Application Under Test is Dynamic with respect time
B. The Application Under Test is Internet Environment
C. The Application Under Test is Static
Ans: A
56) What is *.tsr file in QTP ?
A. Object Repository Files
B. VB Actions Files
C. QTP Action Files
D. Stores Test Data
Ans: A
57) Object Spy can be used to
A. identify the Objects that can be identified by QTP
B. identify the properties used for identification of objects
C. identify the properties used for identification of objects in per-action repository
D. identify the properties used for identification of objects in global action repository
Ans: B
58) Are Assistive properties used when mandatory properties are enough to identify an
object ?
A. YES
B. NO
Ans: A
59) Are Ordinal Identifiers used when Mandatory and Assistive properties used by QTP
are not enough to identify Object?
A. YES
B. NO
Ans: A
60) Select the Invalid type of Ordinal Identifiers Used by QTP
A. Index Based
B. Location based
C. Creation Time
D. Time Based
Ans: D
61) Does Index based ordinal identifier indicates the order in which the object appears
in the parent window frame or dialog box relative to other objects?
A. YES
B. NO
Ans: B
62) Does Location based ordinal identifier indicates the order in which object appears
in the application code relative to other objects?
A. YES
B. NO
Ans: B
63) Select the environments in which Creation Time ordinal identifier is used
A. SAP
B. Oracle
C. Web
D. Java
Ans: C
64) When a test is run in update mode, what is updated?
A. The test results
B. The object descriptions
C. The action names in the test
D. The logical names in the test
http://mcqspdf.blogspot.in/2013/08/100-top-qtp-multiple-choice-questions.html
6/10
1/25/2014
100 Top QTP Multiple Choice Questions and Answers | Multiple Choice Questions and Answers pdf for beginners experienced
Ans: B
65) For identification of any object the choice of ordinal identifier selected can be
modified in the Object Identification Window?
A. YES
B. NO
Ans: A
66) The Index Property value of Occurrence of the first object in source code is
A. 1
B. a
C. 2
D. 0
Ans: D
67) Is Smart Identification is invoked when QTP cannot recognize an object using
mandatory , assistive and ordinal properties ?
A. Yes
B. No
C. Only in Web Environments
Ans: A
68) Select the type of properties used for Smart Identification
A. Mandatory Properties
B. Assistive Properties
C. Base Filter Properties
D. Smart Properties
Ans: C
69) Utility to measure the timing delays between transactions, we use
A. synchronization
B. sync
C. services
D. wait
Ans: C
70) Select the Invalid recording modes supported by QTP
A. Low-level Recording mode
B. Normal recording mode
C. High-level Recording mode
D. Analog recording mode
Ans: C
71) What does a breakpoint do?
A. Stops test execution at the specified step, after executing that step
B. Stops test execution at the specified step, before executing that step
C. Pauses test execution at the specified step, after executing that step
D. Pauses test execution at the specified step, before executing that step
Ans: D
72) Does Analog Recording mode, records exact mouse and keyboard operations ?
A. YES
B. NO
Ans: A
73) The RunAnalog function is used to run
A. Tracks
B. Functions
C. Analog Functions
D. Analog settings
Ans: A
74) Consider the QTP Script below
Window(Calculator).WinObject(8).Click 21,6
Window(Calculator).WinObject(WinObject).Click 14,13
In which mode is the script recorded ?
A. Analog Recording mode
B. Context Sensitive mode
C. Low Level Recording mode
Ans: C
75) Virtual Objects are used when:A. The objects do not exist in the Application Under Test
B. Standard Objects cannot be recorded due to problems that arise during recording
C. There are many objects of the same class in the Application Under Test
Ans: B
http://mcqspdf.blogspot.in/2013/08/100-top-qtp-multiple-choice-questions.html
7/10
1/25/2014
100 Top QTP Multiple Choice Questions and Answers | Multiple Choice Questions and Answers pdf for beginners experienced
http://mcqspdf.blogspot.in/2013/08/100-top-qtp-multiple-choice-questions.html
8/10
1/25/2014
100 Top QTP Multiple Choice Questions and Answers | Multiple Choice Questions and Answers pdf for beginners experienced
88) Select the tools that can NOT be integrated with QTP :A. Quality Center
B. Winrunner
C. Silk Runner
D. Test Director
Ans: C
89) Select valid syntax of CallFuncEx command
A. CallFuncEx ModulePath, Function, RunMinimized, CloseApp [ , Arguments ]
B. CallFuncEx Function, ModulePath, RunMinimized, CloseApp [ , Arguments ]
C. CallFuncEx ModulePath, Function, CloseApp [ , Arguments ] ,RunMinimized
D. CallFuncEx Function ,ModulePath, CloseApp [ , Arguments ] , RunMinimized
Ans: A
90) Can multiple instances/processes/sessions/windows of QTP be run at the same time?
A. YES
B. NO
Ans: B
91) Can QTP run on multiple instances/processes/sessions/windows of Application
under Test?
A. YES
B. NO
Ans: B
92) Select the Invalid syntax to access data in Data Table via VB Scripting :A. DataTable(Column Name, dtGlobalSheet)
B. DataTable(Column Name, dtLocalSheet)
C. DataTable(Column ID, Sheet ID)
D. DataTable(Column Name, Sheet ID)
Ans: D
93) Consider following piece of code
on error resume next
val=DataTable("ParamName",dtGlobalSheet)
if err.number 1 then
'Parameter does not exist
else
'Parameter exists
end if
Code highlighted above is not logically correct. Select the correct code from the options
Provided
A. if err.number 2 then
B. if err.number val then
C. if err.number ParamName then
D. if err.number 0 then
Ans: D
94) Does SetTOProperty change the property of an object stored in the Object
Repository such that, next time the object is referred to in the test script the updated
property of the object is used?
A. Yes
B. No
Ans: B
95) Select the function used to set property of a run time object :A. SetTOProperty
B. GetToProperty
C. SetRoProperty
D. Cannot be set
Ans: D
96) Does GetROProperty return the property of a run-time object?
A. Yes
B. No
Ans: A
97) Object Spy is used to check :A. Test-Time Properties of an Object
B. Test-time Properties and Test-Time Methods of an Object
C. Run-time Properties and Run Time Methods of an Object
D. Test - time and Run-time Object Properties and Test-time and Run time Object
Methods
Ans: D
98) Can Descriptive Programming be used to create Test Scripts for an application
without actually recording on it ?
http://mcqspdf.blogspot.in/2013/08/100-top-qtp-multiple-choice-questions.html
9/10
1/25/2014
100 Top QTP Multiple Choice Questions and Answers | Multiple Choice Questions and Answers pdf for beginners experienced
A. Yes
b. No
Ans: A
99) Consider following line of code :StartURL = "http://www.yahoo.com"
Set IE = CreateObject("InternetExplorer ")
IE.Visible = True
IE.Navigate StartURL
Set IE = Nothing
The highlighted line of code is not syntactically correct. Select the correct line of code
A. Set IE = CreateObject('InternetExplorer.Shell')
B. Set IE = CreateObject('InternetExplorer.Run')
C. Set IE = CreateObject('InternetExplorer.Application')
D. Set IE = CreateObject('InternetExplorer.Script')
Ans: C
100) Select the syntactically correct lines of codes :A. Browser(creationtime=4).Page(title=Editorial CompanySearch).Link(text=Codes).
B. Browser(creationtime:=4).Page(title:=Editorial CompanySearch).Link(text:=Codes).
C. Browser('creationtime:=4').Page('title:=Editorial
CompanySearch').Link('text:=Codes').Click
D. Browser('creationtime=4').Page('title=Editorial CompanySearch').Link('text=Codes').Click
Ans: C
at 02:54
No comments:
Post a Comment
Enter your comment...
Comment as:
Publish
Google Account
Preview
Newer Post
Home
http://mcqspdf.blogspot.in/2013/08/100-top-qtp-multiple-choice-questions.html
10/10