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
How will internal and external links be validated and updated? how often?
What are the common defects found in your project? (in qtp interview)
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
How to create runtime property for an object?
How to write business scripts using object repository with different scenarios
how to test load test and block box testing an a web based application pls give ans briefly
How do know the number of browsers opened?
What are private functions in QTP? How they can be called from the function library?
what is meant by source control?
What is difference between Recording time object identification and Run time (Execution) time.
Why qtp always start action1 and does not start action?
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
What is the difference between the keyword view and expert view?
What is QTP and the use of QTP in TD?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.