- 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 - 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 - 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 - 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 Recording mode records mouse and keyboard operations.
Answer : A
Explanation
Analog Recording mode records mouse and Keyboard Operations.
Q 6 - When is it best to use a programmatic description?
A - when you work with properties and methods of an object not in the object repository
B - when you are retrieving a property from a static run-time object
Answer : A
Explanation
If is best to use when we work with properties and methods of an object not in the object repository.
Q 7 - Which built-in environment variable indicates the test iteration running currently?
Answer : B
Explanation
TestIteration indicates which test iteration is currently running.
Q 8 - You have created a virtual object collection and now you don't want to use it , what should you do to disable it?
A - Disable virtual objects in Object Identification
B - Disable virtual objects in General options
Answer : B
Explanation
To disable a virtual object collection, select Disable virtual objects in General options'.
Q 9 - There are two objects on a webpage with same description. How will you distinguish between these two objects?
Answer : C
Explanation
For more than one object with same description, you can define the index property for the description.
Q 10 - How does the HP QuickTest Professional Web Add-in Extensibility feature improve browser independent support?
B - It extends Web testing support to Google Chrome and its different versions.
C - It supports testing custom controls on different versions of Internet Explorer only.
D - It supports browser independent web testing by replacing the Web Add-in.
Answer : A
Explanation
It supports testing custom controls on both Internet Explorer and Firefox, and on different versions of these browsers.