Interview Questions On QTP

October 10th, 2007 Rama Posted in Interview Questions On QTP No Comments »

1.How to do data driving In QTP?
By parameterizing the test script.

2.What Is the difference between Call to Action and Copy Action?
When you insert a Call to Action,they are ready only in the Calling text. It can be modified in the original test.Where as come to Copy Action you can make changes to the copied action, your changes will not effect the original action where it created.

3.Discuss QTP environment?
QTP enviromnment using the graphical interface and action screen technologies- a testing process for creating test scripts, relating manual test requirements to automated verification features - data driving to use several set of data.

4.Expalin the concept of how QTP identifies objects?
During recording QTP looks at the objects and stores as test object. For each object QTP earns a set of default properties called Mandatory properties, and look at the rest of the objects to check whether this properties are enough to uniquely identify.

5.Differentiate the two object repository types of QTP?
In QTP ,there r two objects repositories. They are
1) shared object repository
2) per action mode,
By default its per action mode. We want to maintain the object repository for each action separately but select a per action mode.

6.What are the differences between Per Action and Shared Action?
Per Action :for each action , one object repository is created.
Shared Action: one object repository is used by entire application.

7.Explain what are differences between Shared Repository and Per Action Repository?
In shared repository ,one object is used in more than one action and in per action repository, every time in every object is store differently and are not shared.

8.Have you ever written a Complied Module? If YES tell me about some of the functions that you wrote?
I used the functions for capturing the dynamic data during run time.Function used for capturing desktop, browser and pages.

9.What projects have you used in Win Runner? Tell me about some of challenges that arose and how you handled them?
Win Runner fails to identify the objects in GUI. If there is a non STD Window OBK win runner can not recognizes it , we use GUI SPY for that to handle such situation.

10.Can you do more than just capture and playback?
YES. We can do capture and playback. Descriptive programming is the answer to this question .We can write scripts without recording and it would still work fine.

11. How long have you used the product?
Depending on the License.

12.How to do the scripting? Is there any inbuilt function in QTP?
YES. There is in built functionality in QTP called step generator. In insert > step > step generator - F7,which will generate the scripts as you enter the appropriate steps.

13. What is the differences between check point and output value?
An output value is a value retrieved during run session and entered into runtime table or data table subsequently, it can be used as input value in our test.

14.If you use batch testing the result shown for last action only, in that how can i get the result for every action?
Click in the expend icon in the tree view to view the result of every action.

15.How the exception handling can be done using QTP?
Recovery scenario manager provides a wizard that guides you though the defining recovery scenario. Recovery scenario has three steps.
1) triggered events
2) recovery steps
3) post recovery test run

AddThis Social Bookmark Button