Professional Documents
Culture Documents
QTP2 Questions
QTP2 Questions
- Download FREE Software Testing Toolbar and get so much more for FREE
- Ask your queries @ QA Forums for FREE.
Q2. A step in which one or more values are captured at a specific point in your test and
stored for the duration of the run session is:
A. Output Value
B. Checkpoints
C. Active Screen
Q3. QTP can detects an application crash and activate a defined recovery scenario to
continue the run session.
A. True
B. false
Q4. In Batch Test process, the test list are saved in file format as:
A. *.mtb
B. *.mts
C. *.mbt
D. *.mtr
Q7. The method that explicitly activates the recovery scenario mechanism is:
A. recovery.activate
B. enable
C. recovery.enable
D. activate
Q8. The method used for sending information to the test results is:
A. Reporter.log()
B. Reporter.reportevent()
C. Reporter.msgbox()
D. Reporter.report()
Q10. The recovery mechanism does not handle triggers that occur in the last step of a
test:
A. false
B. True
Q11. We can add Test object methods, function calls into the Test using:
A. Function generator
B. Step generator
C. Object repository
Q12. The method that adds to the test while implementing synchronization is:
A. Synchronize
B. Wait
C. WaitProperty
D. Pause
Q13. The mechanism used to identify objects during run session is:
A. Recovery scenario
B. Smart identification
C. Handling object
Q15. The action that can be called multiple times by the test as well as by other tests is
called:
A. non-reusable action
B. Reusable action
C. External action
Q19. The QTP script files are stored in the extension of:
A. *.mts
B. *.usr
C. *.mtr
D. *.vbs
Q20. The method used to register the user-defined function with test object is:
A. setFunc()
B. RegisterUserFunc()
C. RegisterFunc()
Q21. The method used to open the specified URL in a browser is:
A. openURL()
B. navigateURL()
C. navigate()
Q25. The method used to get the count value of list box or combo box is:
A. GetItemsCount
B. GetCount
C. GetItemCount
Q26. To retrieve the current the objects in your application during the run session:
A. GetVisibleText
B. GetROProperty
C. SetROProperty
D. GetTOProperty
Q27. The list of test objects and their properties and values are stored in the:
A. Object Repository
B. Object Identification
Q28. The method used to continue the test execution after getting run-time error is:
1. On Error Resume Next
2. On Error Raise Next
3. On Error Next