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 |
hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company
I know the Basic QTP. But I wanted to learn descriptive programming in QTP. Without Object Repository how we can develop a script? I wanted to do one real time project using QTP. If you know this type of training is available in pune then let me know the address.
I m in new and want to learn QTP. Is any website which provide free QTP video training.....also can downlaod....
In my Script Firstly i have to parametrize the data then we import the data from c drive.suppose i have parametrize the Person name and company Name and i have enter one person name and one company name in the excel sheet now we import the sheet and the script is passed i want to ask one thing can we add more than one person name and more than one company name in the excel sheet suppose firstly we create person name "ADDy" and company nmae.'Wipro" and we set the current row in the script for this data and now we want run the script another set of data so how we can run the script with another set of data
can any one tell me what is process metrics and what is product metrics if possible give me example. Thank You
Write the Test Cases for ATM(Any Time Money)
Thanks....But can u tell me how i use the QTP for GIS with one Example...
What is the real use of different actions in QTP
how to write testcases for web based insurance,from the script by using qtp.
How many types of parameters are available in quicktest professional (qtp)?
WHICH functionalities of QTP used in Banking project?
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question