- 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 - Which of these checkpoints does not require the test to be in recording mode?.
Standard checkpoint
Database checkpoint
XML checkpoint
Page checkpoint
Bitmap Checkpoint
Answer : C
Explanation
You can insert database and xml checkpoint without being in recording mode.
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.
Answer : B
Explanation
Input or output action parameter names are case sensitive.
Q 4 - Which UFT feature should you use to view methods and properties of objects in your application?
Answer : C
Explanation
Object Spy tool helps tester to view methods and properties of objects.
Q 5 - How can you pause and interact with the playback of a test?
Answer : B
Explanation
Testers has to add a break point to debug or to pause and interact with the playback of a test.
Q 6 - What happens when you hit debug button on a run error message box during a run session?
B - attempts to perform the step again.
Answer : D
Explanation
UFT suspends the run session and enable you to debug the test.
Q 7 - Which built-in environment variable indicates the test iteration running currently?
Answer : B
Explanation
TestIteration indicates which test iteration is currently running.
Q 8 - Which of the following statements is correct for creating UFT application object?
A - qtCom = CreateObject(QuickTest.Application)
B - qtCom = CreateObject("QuickTest.Application")
Answer : D
Explanation
The correct servername.typename for QTP to open using createobject is QuickTest.Application.
Q 9 - What is the method of datatable which can be used to retrieve information from datatable?
Answer : A
Explanation
Datatable.Value retrives information from a datatable.
Q 10 - Which of the following datatable functions return the column name?
Answer : B
Explanation
getparametername return the column name.