- 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 - 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 - Which of the following is a recovery operation available in UFT?
Click Button with label
Click Link with Text
Click Default Button/Press the Enter Key
Click Cancel Button/Press the Enter Key
Mouse Left/Right Click
Press Key or Key Combination
Answer : A
Explanation
The valid recovery operations are Click Default Button/Press the Enter Key, Click Cancel Button/Press the Escape Key, Click Button with Label and Press Key or Key Combination.
Q 3 - Where can you reset the add-in manager if it does not display when you launch UFT?
Answer : A
Explanation
It is available under Tools menu.
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 steps are required to connect to ALM from UFT? (Select three.)
define a project
connect to the server
authenticate user
create a user
define a domain
select a project
Answer : C
Explanation
Steps includes connect to the server,authenticate user and selecting a project.
Q 6 - Which DataTable method makes an external spreadsheet available to UFT?
Answer : C
Explanation
ImportSheet method makes an external spreadsheet available to UFT.
Answer : D
Explanation
Shortcut key for the standard checkpoint is F12.
Q 8 - When you set the path of your application at 'Record and Run Setting' to automatically open the application on recording, what is the statement that gets added in expert view for this step of opening application?
Answer : D
Explanation
When you specify an application to open using the Record and Run Settings dialog box, QuickTest does not add a SystemUtil.Run or any other statement to your test.
Q 9 - Which statement can be used to handle unexpected errors in your test?
Answer : C
Explanation
We can use On error resume next in UFT script to handle unexpected errors.
Answer : D
Explanation
Click method does not return anything.