QTP Online Quiz
Following quiz provides Multiple Choice Questions (MCQs) related to QTP Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.
Q 1 - How can you open a process that is available for currently open document?
File > Process Guidance Management
Automation > Process Guidance List
Process Guidance Pane
we cannot open a process.
Answer : C
Explanation
A Process can be viewed in Process Guidance Pane and also can be opened by selecting Automation > Process Guidance list.
Q 2 - While creating a database checkpoint, you can define your database query ________
Using Connectionstring
Using Microsoft Query
Using Microsoft Debugger
By Manually defining a SQL Statement
Answer : A
Explanation
A database query can be defined by using Microsoft Query or by Manually defining a SQL statement.
Q 3 - What is a UFT test comprised of?
B - calls to actions (reusable only)
Answer : A
Explanation
It comprises of calls to actions
Q 4 - You need to change the properties of an object in your object repository. Which repository feature enables you to quickly access the specific item if your repository contains hundreds of objects?
Answer : D
Explanation
Locate in repository is used to quickly access the specific item if your repository contains hundreds of objects.
Q 5 - Which Settings tab enables UFT to measure the resources being used by the application?
Answer : C
Explanation
Local System Monitor enables UFT to measure the resources being used by the application.
Q 6 - What is the correct syntax for a programmatic description?
A - WebEdit("Name:=Author" , Index:=3)
B - WebEdit("Name:=Author" , "Index:=3")
Answer : B
Explanation
WebEdit("Name:=Author" , "Index:=3") is the correct syntax of descriptive programming.
Q 7 - How can you create a table checkpoint?
A - by inserting a standard checkpoint on a table object.
B - by inserting a Image checkpoint on a table object.
C - by inserting a Page checkpoint on a table object.
D - by inserting a Accessibilty checkpoint on a table object.
Answer : A
Explanation
Table checkpoint can be created by inserting a standard checkpoint on a table object.
Q 8 - What will happen if more than one function of same name exists in the test or function library.
A - UFT stops and returns error
B - UFT gives a warning and continue running
Answer : C
Explanation
When more than one function with the same name exists in the test script or function library, the last function will always be called.
Q 9 - How many times 'LearnQTP' will be Printed?
Dim x, y
For x = 0 to 5 step 2
For y = 5 to 0 step -1
print �LearnQTP�
Next
Next
Answer : B
Explanation
Executing the given statements will print 'LearnQTP' 18 times as outer for loop executes for 3 times(index variable incremented by 2) and inner loop by 6 times.
Q 10 - Place the methods for identifying an object in the order in which UFT would attempt to use them Assume they are all defined/enabled.
A - Visual Relation Identifiers, Description Properties, Smart identification and Ordinal Identifier
B - Description Properties, Visual Relation Identifiers, Smart identification, Ordinal Identifier
C - Smart identification, Ordinal Identifier, Visual Relation Identifiers and Description Properties
D - Visual Relation Identifiers , Smart identification, Ordinal Identifier, Description Properties
Answer : B
Explanation
Description Properties followed by VRI then by Smart identification and finally by ordinal identifier.