KabInfo.Net                                                    

Q. Discuss QTP Environment.
A. QuickTest Pro environment using the graphical interface and ActiveScreen technologies - A testing process for creating test scripts, relating manual test requirements to automated verification features - Data driving to use several sets of data using one test script.
 

Q. Explain the concept of how QTP identifies object.

A. During recording qtp looks at the object and stores it as test object.For each test object QT learns 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 the object. During test run,QT searches for the run time obkects that matches with the test object it learned while recording.
Q. Differentiate the two Object Repository Types of QTP.
A. Object repository is used to store all the objects in the application being tested.2 types of oject repositoy per action and shared. In shared repository only one centralised repository for all the tests. where as in per action.for each test a separate per action repostory is created.
 

Q. What the differences are and best practical application of each.

A. Per Action: For Each Action, one Object Repository is created.
Shared : One Object Repository is used by entire application
Q. Explain what the difference between Shared Repository and Per_Action Repository
A. Shared Repository: Entire application uses one Object Repository , that similar to Global GUI Map file in WinRunner
Per Action: For each Action ,one Object Repository is created, like GUI map file per test in WinRunner