![QTP Tutorial](/qtp/images/qtp-mini-logo.jpg)
- 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
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.
![Questions and Answers](/images/questions_and_answers.png)
Q 1 - Mark all the ways that can be used to share values between actions.
using Global Data Table
using Environment Variables
using sendparameter command
using Dictionary Objects
Answer : B
Explanation
Global data table, environment variables and dictionary object can be used to share values among actions.
Q 2 - Which of the following could be possible objective(s) for test automation? Mark all that apply.
Increase speed of testing
Reduce manual effort
Ensure consistency
Eliminate manual testing.
Answer : A
Explanation
Automating a test, provides you an increased speed of your testing, it reduces manual effort and ensures consistency, It does not replace manual testing.
Q 3 - What is a UFT test comprised of?
B - calls to actions (reusable only)
Answer : A
Explanation
It comprises of calls to actions
Q 4 - Which status is reported in the Test Results Summary if the test does not include checkpoints?
Answer : C
Explanation
Done is used in Reporter.Report event method to report in test result summary if it doesnot include checkpoints.
Q 5 - How can you use monitors to cause the test to fail?
Answer : D
Explanation
Define a monitor limit can be used to cause the test to fail?
Q 6 - What happens during a run session, if an object is contained in both local and shared repositories.
A - QTP uses objects from Shared Repository
Answer : B
Explanation
If an action uses an object contained in both local and shared repository QuickTest always searches for and uses objects in the local object repository.
Q 7 - You can specify the maximum number of rows at Database checkpoint wizard, that you would like to limit the wizard to check or output. What is the maximum limit that you can specify here?
Answer : C
Explanation
You can specify a maximum of 32000 rows.
Q 8 - What is the default value for the 'Generate with statements for _____ or more objects' in General pane at Options dialog box ?
Answer : C
Explanation
Default value is 2 for the option 'Generate with statements'
Q 9 - Selecting File > Print Preview, Displays the _________ as it will look when printed and enables you to modify the page setup.
Answer : A
Explanation
Print Preview displays the preview only for Keyword view.
Q 10 - Which tool can be used to merge checkpoints and output objects from primary or secondary object repository into a shared object repository?
B - Object Repository Merge Tool
Answer : D
Explanation
There is no tool available to merge checkpoint or output objects.