
- 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
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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 - While merging two object repositories using Merge Tool, if an object in the secondary repository has the same name, description properties and values as an object in the primary object repository which has some additional properties and values, how this conflict can be handled?
By keeping the object added from the primary object repository only.
By keeping the object added from secondary repository only.
By keeping the object added from both the repository.
by ignoring both repository and adding a fresh new object.
Answer : A
Explanation
You can handle this conflict by either adding objects from primary object repository only or only from secondary object repository or both..
Q 2 - What can be used to capture timings in your test?
StartTransaction and EndTransaction
StartTime and EndTime
Timer
Sync
Answer : C
Explanation
StartTransaction and EndTransaction can be used to capture timings, instead of this you can also use Timer function.
Q 3 - Which names are used to identify the status of your application before and after your automated test executes?
initial condition
static state
end condition
done condition
Answer : C
Explanation
A point to note here is that when you are iterating over a specific business process the initial and end conditions should be same.
Q 4 - Where is data for an input parameter stored?
Answer : B
Explanation
Design time data table is used to store data for input parameters.
Q 5 - Which Recording mode records mouse and keyboard operations.
Answer : A
Explanation
Analog Recording mode records mouse and Keyboard Operations.
Q 6 - Which method retrieves a property of a runtime object?
Answer : A
Explanation
GetROProperty retrieves a property of a runtime object.
Q 7 - If you have defined an input parameter for an action as "TestId", which of the following can be used to retrieve this parameter value?
Answer : B
Explanation
Input or output action parameter names are case sensitive.
Q 8 - After registering a function to a test object using RegisterUserFunc, it is displayed as .... in Keyword view and Step Generator.
Answer : B
Explanation
After registering a function to a test object using RegisterUserFunc, it is displayed as Operation in Keyword view and Step Generator.
Q 9 - What are the default mandatory properties for a WebImage object?
Answer : D
Explanation
Defualt mandatory properties for an WebImage Object are – alt, html tag and image type.
Q 10 - In the test results, square brackets around a test object name indicate that the test object was dynamically created using which functions? (Select two.)
Child Objects method
Smart Identification
DynamicBuild method
Create method
Programmatic Description
Answer : D
Explanation
Child Objects method and Programmatic Description