Automated Testing Interview Questions Mercury QuickTest Professional
Automated Testing Interview Questions Mercury QuickTest Professional
www.ramupalanki.com
Automated Testing Interview Questions - Mercury QuickTest Professional
www.ramupalanki.com
14. What is the difference between Per-Action vs. Shared Object Repositories?
Ask yourself the following questions that covers the basics of the QTP functionality:
11. What is the difference between Global and Local Data Sheets?
14. What are the main options that are available in the Step Generator dialog
box?
www.ramupalanki.com
Do you know the answer to the following more advance questions?
2. How can we translate the steps between the Keyword and Expert Views?
6. How can you write the scripts that operate on different objects depending on
run-time information?
10. Please list some VBScript looping statements and explain when each
is useful.
11. How to use the DataTable object to store run-time data and drive actions?
12. How to build scripts that access data from external sources?
16. What are the main ways of managing QTP run errors?
17. Did you use abort loops, procedures, iterations, actions, and runs?
For QTP Realtime Scripts, visit
www.ramupalanki.com
Detailed QTP questions with answers. Some of them were used for Mercury
QTP certification.
3. During designing a test, what do you need to take into account to ensure that
the test can be reiterated?
7. What is the step to change the logical name of the object recorded by QTP?
answer: Open the Object Repository.
8. What is Object Spy used for?
www.ramupalanki.com
10. What is the function of a synchronization point?
16. How many ways we have to set checkpoints? 1. In the recording mode
2. In the insert mode in keyword view screen (right mouse click) 3. In
an active screen mode
answer: Local object repository, Local data sheet and Folder (tree structure)
23. Which field in the Step Generator dialog box is optional, depending on
the object and operation?
25. In which dialog box do you check Web to load add-ins for a
Web application?
answer: In Add-in manager.
www.ramupalanki.com
answer: stop execution to verify values of variables.
For QTP Realtime Scripts, visit
www.ramupalanki.com
29. Why do we require a database checkpoint in
test? answer: To test database as the backend
32. Name the object repository type in which QuickTest pro saves
the information about objects during a record session, by
default? answer: per action (local)
34. Which object repository type can you create using Object
Repository Manager?
answer: Global
www.ramupalanki.com
40. When do you select the Object State trigger event
type? answer: On the “Select Trigger Event” screen
41. Can you select multiple recovery operations for the trigger
event? answer: Yes
42. When does an optional step execute in a test?
answer: When this object exists. ( this is build for negative testing)
For reference download free VBScript Tutorial and QTP code samples as
.zip file
47. What are the advantages of retrieving the values of the properties
of an object?
48. Which command will you use in QuickTest Pro to retrieve the value of
the enabled property of a button in an application?
answer: RO property (runtime)
www.ramupalanki.com
answer: 1. Identify the object class. 2. Select object properties. 3. Create a
programmatic description.
57. What are the VBScript functions that invoke dialog boxes to interact
with users?
58. Which method do you use to retrieve data from the WebList object?
61. Which property do you use to retrieve or assign data into a cell in a
Data Table object?
For QTP Realtime Scripts, visit
www.ramupalanki.com
62. Give a scenario in which you may require to access data from
external sources.
63. What are the methods used to import data from and export data into a
MS Excel worksheet?
65. What are the methods of the TextStream object that are used for
reading from a text file?
www.ramupalanki.com