Friday, 6 February 2015

Basic QTP interview Questions and answers for Freshers Page3

21.  What the differences are and best practical application of each. | QTP Questions
Per Action: For Each Action, one Object Repository is created.  Shared: One Object Repository is used by entire application

22.  Explain what the difference between Shared Repository and Per_Action Repository. | QTP Questions
In Shared reporsitory, one object is used in more than one actions and in per action reporsitory, everytime in every action, objects are stored differently and are not shared.

23.  Have you ever written a compiled module? If yes tell me about some of the functions that you wrote. | QTP Questions
I used the functions for capturing the dynamic data during runtime. Function used for Capturing Desktop, browser and pages.

24.  What projects have you used WinRunner on? Tell me about some of the challenges that arose and how you handled them. | QTP Questions
pbs :WR fails to identify the object in gui. If there is a non std window obk wr cannot recognize it, we use GUI SPY for that to handle such situation

25.  Can you do more than just capture and playback? | QTP Questions
Yes you can do more than capture/playback. Descriptive Programming is the answer to this question. We can write scripts without recording and it would still work fine.

26.  How to fetch test data from Database by using QTP? | QTP Questions
In order to fetch test data from Database we have to create a adobdb connection object to connect with data base. the syntax is .... >CreateObject("Adodb.connection").

27.  How to do the scripting.  Is there any inbuilt function in QTP as in QTP-S.  Whatz the difference between them?  how to handle script issues? | QTP Questions
Yes, there's an in-built functionality called "Step Generator" in Insert->Step->Step Generator -F7, which will generate the scripts as u enter the appropriate steps.

28.  What is the difference between check point and output value. | QTP Questions
Additional comment on Above comment:An output value is a value retrieved during the runsession and entered into runtime table or data table subsequently it can be used as input value in your test.

29.  IF we use batch testing.the result shown for last action that how can i get result for every action. | QTP Questions
You can click on the icon in the tree view to view the result of every action

30.  How the exception handling can be done using QTP. | QTP Questions
Recovery scenario manager provides a wizard that guides you through the defining recovery scenario. Recovery scenario has three steps 1. Triggered Events 2. Recovery steps 3. Post Recovery Test-Run .
More Questions & Answers :-

No comments:

Post a Comment