Objects in QTP 9.2

Previous11121314151617181920Next

We know that Object is an instance of a class and each object has properties and methods. Like wise in QTP 9.2 when we talk of Objects we need to know about something called Object Repository in QTP.


Each object in QTP is identified with its properties and all the objects are stored in a place called Object Repository. Object Repository is the storage space for Objects. Objects information is stored in the Object Repository.

Standard Windows Environment Classes or Objects are

1. WinButton
2. WinComboBox
3. WinEdit
4. WinRadioButton
5. WinCheckButton
6. Window
7. Dialog
8. WinMenu
9. WinList
10. WinObject

Apart from WinObject all other objects are standard objects which are predefined by Microsoft. We cannot change the properties of these objects. These are defined in QTP library. WinObject is a user defined Object and you can have control over it.

Like wise we have different Objects for the different environments that QTP supports. If we want to run any of the application we need to first create those objects in the Object Repository so that QTP 9.2 can identify.

Previous11121314151617181920Next

0 comments:

Post a Comment

/* Tynt Insight tracker ----------------------------------------------- */