
- QTP - Home
- QTP - Introduction
- QTP - Test Automation
- QTP - Environment Setup
- QTP - Record and Play Back
- QTP - Object Repository
- QTP - Actions
- QTP - DataTables
- QTP - Checkpoints
- QTP - Synchronization
- QTP - Smart Identification
- QTP - Debugging
- QTP - Error Handling
- QTP - Recovery Scenarios
- QTP - Environment Variables
- QTP - Library Files
- QTP - Test Results
- QTP - GUI Objects
- QTP - Virtual Objects
- QTP - Accessing Databases
- QTP - Working with XML
- QTP - Descriptive Programming
- QTP - Automation Object Model
- QTP - Frameworks
- QTP - Designing a Framework
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 can hide Item column in keyword view?
Right click on column header and unselect item
Right click select 'view options' and remove item from visible column list
Select Item column at Tools > View Options
you cannot hide Item column in keyword view
Answer : A
Explanation
You can hide a column in keyword view by right clicking on column header and unselect the header name or select view Option and remove the header from visible column list.
Q 2 - Which is the best match for the regular expression for deer|dees
deer
deedess
deerees
dees
Answer : C
Explanation
'|' instructs UFT to match one of a choice of expressions.
Q 3 - Which directory is the default directory in the UFT file structure where the local Data Table is located ?
Answer : C
Explanation
The local as well as Global data table can be found in Default.xls file located in correposnding test folder.
Q 4 - User-defined environment variables can be imported from an external file. What is the valid file type that can be imported?
Answer : B
Explanation
XML files are imported into environmental variables option under Test Settings > Environment > User Defined dropdown option.
Q 5 - Which Recording mode records mouse and keyboard operations.
Answer : A
Explanation
Analog Recording mode records mouse and Keyboard Operations.
Q 6 -If you need to add the steps or update the object repository while running your test, which run mode can be used?
Answer : B
Explanation
Maintenance Run mode can be used to repair your test during run session.
Q 7 - You decided to parameterize a value using Random Number parameter, what option you will choose to generate a new number and use it for the parameter throughout the test?
A - Generate new random number for each action iteration
B - Generate new random number once per entire test run
Answer : B
Explanation
Select Generate new random number once per entire test run generates a new number which can be used throughout the test.
Q 8 - 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 9 - How can you define a date as a constant?
B - Const sDate = "30-04-2014"
Answer : C
Explanation
A date constant must start and end with a # e.g. Const sDate = #30-04-2014#
Q 10 - What is the purpose of the Visual Relation Identifier?
A - It allows identification of objects, based on mapping of the Object Hierarchy to the AUT.
B - It allows identification of objects, based on sorting of objects on the AUT in a specific order.
C - It allows identification of objects, based on mapping to specific default classes.
D - It allows identification of objects, based on their neighboring objects.
Answer : D
Explanation
It allows identification of objects, based on their neighboring objects.