- 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 - Which QuickTest operation can not be performed on a virtual object?
cannot be used in expert view
cannot insert a standard checkpoint
cannot insert a image checkpoint
cannot use object spy
Answer : D
Explanation
You cannot insert any type of checkpoint on a virtual object, or use the Object Spy to view its properties.
Q 3 - Which UFT menu item should you use when emailing a UFT test to another tester?
Answer : D
Explanation
Export Test to ZIP File is used to email UFT test to another tester.
Q 4 - Which checkpoint type should you use to validate the enabled state of a button?
Answer : C
Explanation
Standard checkpoint helps us to validate the enabled state of a button.
Q 5 - Which UFT tool uses the Object Repositories Merge Tool?
A - Map Repository Parameters Tool
B - Update from Local Repository Tool
Answer : B
Explanation
Update from Local Repository Tool is the option to be used for merging OR.
Q 6 - Which statement will retrieve the test object's properties during the test run?
A - iCount = WebRadioGroup("seat").GetROProperty("Items Count")
B - WebRadioGroup("seat).CheckProperty("Items Count")
Answer : C
Explanation
GetTOProperties fetches test object's properties during the test run.
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 equivalent method available in vbscript for ExecuteFile method in UFT?
Answer : A
Explanation
The ExecuteFile statement utilizes the VBScript ExecuteGlobal statement.
Q 9 - Where can you see the TO and RO properties and methods of an object?
Answer : B
Explanation
TO and RO Properties for an object can be seen in Object spy.
Q 10 - In the test results, square brackets around a test object name indicate that the test object was dynamically created using which functions? (Select two.)
Child Objects method
Smart Identification
DynamicBuild method
Create method
Programmatic Description
Answer : D
Explanation
Child Objects method and Programmatic Description