To understand Test Object Model we can break it in three different terms, that are-

Object

Test Object

Test Object Model

Object, one of the units of your application.

Test Object, If QTP performs any operation on application Object and stores it for testing then we called it Test Object.

Test Object Model, QTP contains large set of Object types that it uses to recognize the application object.

I think now we can discuss about it in details. QTP uses this concept to tell the QTP engine that how tool will record the Object and Object Operation of the application. As I said that Test Object Model is large set of Objects which it uses to understand the objects but how QTP recognize the Object as Test Object and how it know that what type of operation tool has performed over the Object. For that QTP have different types of Class that represent the each and every Test Object of QTP. We can describe the Class mean like Four Wheeler is the class but different Cars are the object of the “Four Wheeler”. So classes are having different type of Properties and Methods that Test Objects uses to simulate the application objects.

Basically Properties use to recognize the type of Objects and Methods use to recognize the performed operation over the Object. So with the help of Properties and Methods QTP understand the application objects and performed action which are done by Tester and recorded by QTP.

So in simple word QTP uses Test Object Model to recognize the objects of the application.

Advertisements

5 thoughts on “QTP Test Object Model

  1. Please send QTP Material any one of the Member. i am new to QTP, so i am requesting you to Please Provied material. already i having exp 2+ in manual, so i want to work on QTP. Help required.

    Thanks & Regards
    NTR

  2. Please send QTP Material any one of the Member. i am new to QTP, so i am requesting you to Please Provied material. already i having exp 2+ in manual, so i want to work on QTP. Help required.

    Thanks & Regards
    NTR

  3. I just started learning QTP, I understood “QTP Test Object Model” very easily. Thanks for posting. If possible please send or post more on Automation Testing.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s