- 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 - When you call a sub procedure, you can use the call statement as
call mySubProc(argument)
Also,you can omit the call statement and just use − mySubProc(argument)
Answer : B
Explanation
When you don't use call statement, parenthesis can not be used while calling a sub.
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 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.
Answer : B
Explanation
Bitmap checkpoint helps us to validate the image color.
Q 5 - When inserting a call to a reusable action, how are the data resources in that action handled?
B - A copy of the data is made (editable) and stored with the new action.
C - The tester must make a one-time selection to either copy the data or refer to the original data.
D - The tester always has the option to copy the data or refer to the original data.
Answer : D
Explanation
The tester always has the option to copy the data or refer to the original data.
Q 6 - How does active screen capture information on objects for a web based application?
A - It downloads and stores images and other resources on the page
B - It stores the path to images and other resources on the page
C - It saves images and resources in the object repository
D - It does not store any information to images and resources
Answer : B
Explanation
Active screen stores the path to images and other resources on the page.
Q 7 - If you have not saved your test with active screen files and later you want to edit your test using active screen options. How can you regenerate the active screen information?
A - you can not edit it now, test should be re-designed.
B - performing the maintenance run.
Answer : C
Explanation
Active screen can be regenerated by performing the update run.
Q 8 - 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 : D
Explanation
You can specify a maximum of 32000 rows.
Q 9 - Which one of these statements is correct about Shared Repository?
A - Shared repository is difficult to maintain and can be used in multiple tests
B - Share repository is easy to maintain and cannot be used in multiple tests
C - Shared repository is easy to maintain and can be used in multiple tests
D - Shared repository is easy to maintain and can be used in a single test only.
Answer : C
Explanation
A Shared Object Repository is easy to maintain and can be used in multiple tests.
Q 10 - What is one purpose of virtual objects?
A - to point to an object name that might be located in any object repository
B - to map an area of your application to a standard class
C - to utilize an object without pre-defining the object type
D - to point to an object that will be defined later, possibly by another tester
Answer : B
Explanation
Virtual objects are used to map an area of your application to a standard class