
- 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.

Answer : B
Explanation
We cannot edit Analog recording steps
Q 2 - Which property/method can be used as custom checkpoints in UFT?
Wait
Exist
Sync
GetROProperty
Answer : D
Explanation
Exist and Sync can be used as custom checkpoints.
Q 3 - Which UFT View Option will show you the repositories associated with each action?
Resources
Information
Script Repository
Active Screen
Answer : B
Explanation
Resources pane shows the repositories associated with each action.
Q 4 - User-defined environment variables can be imported from an external file. What is the valid file type that can be imported?
Answer : B
Explanation
XML files are imported into environmental variables option under Test Settings > Environment > User Defined dropdown option.
Q 5 - What can you do using the To Do pane? (Select two.)
Assign tasks to others.
Mark a task as In progress.
View TODO comments existing in the current test recovery scenarios.
Export TODO comments to comma-separated values or XML format.
View TODO comments existing in the current test checkpoints.
Answer : D
Explanation
Once can do : Assign tasks to others, Export TODO comments to comma-separated values or XML format.
Q 6 - What happens when you import data from an external Excel file into the UFT Data Table?
A - Row data is overwritten when column headers in Excel and the Data Table match.
B - A new column is added to the Data Table when column headers in Excel and the Data Table match.
C - All the sheets in the Excel file are imported.
D - Excel listboxes are expanded and one row is added to the Data Table per value in the list.
Answer : C
Explanation
All the sheets in the Excel file are imported.
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 - While comparing two object repository using Object Repository Comparison tool, If the same object is contained in both repositories but with different names, how this will be shown in repository?
Answer : B
Explanation
If the same object is contained in both the object repositories but with different names, they will be shown in the object repositories as two separate objects.
Q 9 - Which of the following statements can be used to clear the errors occurred in earlier statements if any?
Answer : C
Explanation
Err.Clear statement is used to clear the errors occured earlier in the statements, if any.
Q 10 - What is the purpose of the GetROProperty method?
A - to retrieve a property value of a runtime object
B - to retrieve a property of a test object
Answer : A
Explanation
GETROPROPERTY - to retrieve a property value of a runtime object