What is test object model in QTP?



What is test object model in QTP? ..

Answer / b.ramyasri

Hai...

The test object model is a large set of object types or
classes that QuickTest uses to represent the objects in
your application. Each test object class has a list of
properties that can uniquely identify objects of that class
and a set of relevant methods that QuickTest can record for
it.
A test object is an object that QuickTest creates in the
test or component to represent the actual object in your
application. QuickTest stores information about the object
that will help it identify and check the object during the
run session.
A run-time object is the actual object in your Web site or
application on which methods are performed during the run
session.

When you perform an operation on your application while
recording, QuickTest identifies the test object class that
represents the object on which you performed the operation
and creates the appropriate test object reads the current
value of the object's properties in your application and
stores the list of properties and values with the test
object chooses a unique name for the object, generally
using the value of one of its prominent properties records
the operation that you performed on the object using the
appropriate QuickTest test object method. For example,
suppose you click on a Find button with the following HTML
source code:

<INPUT TYPE="submit" NAME="Find" VALUE="Find">

QuickTest identifies the object that you clicked as a
WebButton test object. It creates a WebButton object with
the name Find, and records the properties and values for
the Find WebButton. It also records that you performed a
Click method on the WebButton. QuickTest displays your step
like this:

Browser("Mercury Interactive").Page("Mercury Interactive").
WebButton("Find").Click

K,byeeee..
Thanks & Regards
B.Ramyasri

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More QTP Interview Questions

hello...any one tell me , where can i get company email id.. actually i am searching on testing... in my CV i put 3+ exp.. but all companies are asked company email id.. please provide solution for that... thanx in advance...

9 Answers   HDFC,


Tell me about userdefined functions ?

1 Answers  


how i can delete the excel process for the task manager using QTP

2 Answers  


Hi, every one aim new to automation testing(QTP),aim looking for software versions any. If any one can HELP me that will be great. Thank u.(9620427211,Bangalore)

0 Answers   ME,


Write the regular expression code, it accepts the alpha, numeric and special symbol and the first character should be the Alphabet. Tell me the answer

3 Answers   IBM,






How to Map network drive in QTP

3 Answers  


what is run action?

0 Answers  


What is difference b/w AOM,DOM,COM Have u ever is used ny of the models.If so why?

1 Answers   GE,


Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?

1 Answers   Crea,


what is regular expression how will you implement it?

1 Answers  


How to get align property of the link on web page?

1 Answers  


What is qtpro? What is quick test pro? What is a quick test professional?

0 Answers  


Categories