- QTP Tutorial
- 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 Useful Resources
- QTP - Questions and Answers
- QTP - Quick Guide
- QTP - Useful Resources
- QTP - Discussion
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 - You can modify the concurrent license server.
using License Wizard
by setting LSHOST user variable
by setting LSFORCEHOST user variable
at Help > About dialog box
Answer : C
Explanation
Concurrent license server details can be modified using License Wizard or by setting LSHOST or LSFORCEHOST user variable. It cannot be modified using Help > About Dialog box
Q 2 - You can use a checkpoint as in the statement below
Browser("Browser").Page("Page").check CheckPoint("text:=sometext")
Answer : B
Explanation
Descriptive programming can not be used with checkpoints.
Q 3 - If you drag-drop a function into your test, UFT removes that function from Available Keywords pane and inserts a call to the function in the test.
Answer : B
Explanation
UFT does not remove the function from Available keywords pane if you drag-drop any function to the test.
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 feature requires a connection to ALM?
Version Control
Jump to Step
System Monitor
Save Test with Resources
Answer : C
Explanation
User has to connect to ALM if Version Control is enabled for the project.
Q 6 - What happens when you hit debug button on a run error message box during a run session?
B - attempts to perform the step again.
Answer : D
Explanation
UFT suspends the run session and enable you to debug the test.
Q 7 - Result.qtp file at Test Result Location stores all information on each of the test result nodes that are displayed in Test Result Viewer.
Answer : B
Explanation
The file that stores information about the test result nodes is Results.xml and not Result.qtp
Q 8 - Where can you define or override default shortcut keys for editing?
Answer : B
Explanation
You can personalize the default keyboard shortcuts for editing at Tools > View options in key binding tab.
Q 9 - Which one of these statements is correct about Shared Repository?
A - Shared repository is difficult to maintain and can be used in multiple tests
B - Share repository is easy to maintain and cannot be used in multiple tests
C - Shared repository is easy to maintain and can be used in multiple tests
D - Shared repository is easy to maintain and can be used in a single test only.
Answer : C
Explanation
A Shared Object Repository is easy to maintain and can be used in multiple tests.
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.
To Continue Learning Please Login
Login with Google