- 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 - Why do you use Add-in Manager?
to open UFT.
to load objects and properties for testing your application
to load support for testing your application.
to create object repository for testing your application
Answer : B
Explanation
You use the Add-in Manager to load support for testing your applications.
Q 3 - When you use 'Object' Property of an object. What does it imply?
you get a reference to the DOM object
you can access the internal methods and properties of the object
you can use an object that is not in Object Repository
you can access the test object properties of an object from object repository
Answer : A
Explanation
Object property accesses the internal methods and properties also references to the DOM object.
Q 4 - Which step categories can be added using the Step Generator Tool ?
run-time objects
default object types
test objects
utility objects
data objects
Functions
Answer : D
Explanation
Test object, utility objects and functions can be added using the step generator tool.
Q 5 - Which menu option should you use to save your test to a version controlled ALM/QC project for the first time?
Answer : B
Explanation
Save As Option to be used inorder to save your test to a version controlled ALM/QC project for the first time.
Q 6 - Which method retrieves a property of a runtime object?
Answer : A
Explanation
GetROProperty retrieves a property of a runtime object.
Q 7 - Which function is used to create an object of specified type?
Answer : B
Explanation
CreateObject is used to create an object of specified type.
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 - Some of the properties of an object can be changed during runtime, which are known as Run time properties but some of them can not be changed, what do we call those?
Answer : C
Explanation
Object properties which does not change during run time are known as Test Object Properties.
Q 10 - Which types of conflicts does the Objects Repositories Merge Tool detect?
A - same name different description, similar description
B - same name extra properties, different name same properties
Answer : A
Explanation
same name different description, similar description