Interview Questions on QTP Part 2

1.How can we can pass parameters in a Action?
Using input and output parameters.

2. How can you write a script with out using a GUI in QTP?
Object repository, with out OR, tester need to write descriptive tests , where you would directly assign property vales and write methods.

3. How to load the *.vbs or test generating script in new machine?
By using test > setting > resources > libraries option.

4. How did you add run time parameter to a data sheet?
Using dt sheet object.

5. What is descriptive programming?
Executing the test script without object repository.

6. How you write scripts in QTP?
Using vb script.

7. How to instruct QTP to display errors and their description in the test results instead of halting execution by throwing error in the mid of execution due to an error ( for ex: object not found)?
By using ERR object . This object value passes to result window.

8.What is the descriptive programming? And it’s uses?
Test exicution is faster.

9. How will you test a stapler?
Using user acceptance test.

10. Is QTP supports batch test?
Yes. It supported by using test batch runner.

11. Describe the last project scenario and gerate tset cases for it?
Based on last test functionality we write the tset cases for it.

12. If there are lot of bugs to fix which one would you resolve first?
As a tester we don’t fix bugs. We only find bugs as the developers. Bugs are to be fixed basing on the priority and seviority of bugs. Sometimes even the seviority is low, but if attaches to major functionality, then priority will be more to fix that bug.

13. What would be the strategy to fix bugs in an unknown piece of code?
R & D works means basically we can say it is a verification process. Before you implementing some logic in to your function you have to review those to find is there any errors which can be cleared by going through that piece of logic we are going.

14. Define virtual object?
Virtual object enable you to record and run test on objects that are not normally recognized by QTP. We can teach QTP to recognize any area of your application as an object by defining it as a virtual object. Sometimes QTP may not recognizes some objects, in this kind of situations using new virtual object . We can convert custom object into standard objects.

15. What are the main panes available in QTP test browser?
Test pane contains the tree view and expert view tabs.
Test detail plan contains the action screen.
Debug viewer pane assists you in debugging your test .The debug viewer pane contains the watch expressions variables and commands.

Last 5 posts in Interview Questions on QTP Part 2


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply