- 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 - How can you remove a stored movie from the test result?
Selecting File > Remove Movie from Results.
Selecting Tools > Remove Movie from Results.
Delete physical movie file from the result location.
once recorded you can not remove the movie from test result.
Answer : C
Explanation
To remove recorded movie from the test result, you can either select Remove Movie from Results in File menu or you can delete the physical movie file at result location.
Answer : B
Explanation
You can insert conditional statements in keyword as well as expert view.
Q 4 - You ran a test scenario with 10 iterations. What does the Test Results Summary report if 8 iterations pass and 2 iterations fail?
A - The summary reports PASS because more iterations passed than failed
B - The summary reports the status for each iteration
D - The summary reports FAIL because all iterations did not pass
Answer : B
Explanation
The summary reports the status for each iteration in the test result summary page.
Q 5 - What happens when a tester performs an Insert > Call to Copy of Action?
D - The Use data stored with the original action is disabled.
Answer : B
Explanation
When call to copy of an action is performed all the steps, checkpoints, parameterizations, action parameters, and object repository are all copied over.
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 - What is the difference between a function and a sub procedure?
A - function can return a value whereas a sub procedure cannot
B - sub procedure can return a value whereas a function cannot
Answer : A
Explanation
The main difference between function and sub procedure is that function can return a value whereas sub procedure.
Q 8 - How can you declare a variable in UFT?
Answer : A
Explanation
A variable should not begin with a numeric character and should not contain an embedded period.
Q 9 - Which toolbar contains pause button, to interrupt a run session?
Answer : B
Explanation
The pause button is contained in Debug toolbar.
Q 10 - How can you set a list of recovery scenarios as default for all new tests?
A - ading all recovery files to dat folder of installation folder
B - Selecting Default Checkbox for the recoveries at Recovery pane of test setting
C - Selecting Set as Default button at Recovery pane of test setting
D - Selecting Set as Default button at Recovery Scenario manager
Answer : C
Explanation
List of recovery scenarios can be made by default all the tests by selecting Set as Default button at Recovery pane of test setting.