What is test object model in QTP?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you handle java tree in qtp?

614


What is the difference between run time object and test object?

566


How to find array size in qtp?

571


What is the use of Debug Viewer?

1476


Why script error occur in between recording in qtp?

1753






banking domain description for software tester for interview

3456


What is a recovery scenario?

562


Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.

2093


What is the descriptive programming?

1502


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

2786


What is the file extension of the code file in qtp?

552


Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter

2188


How many lines of code in each script of QTP?

4026


WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,

1491


Is it possible to change the values of analog recording?

561