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 |
How to add a runtime parameter to a data sheet?
How to Test the mainframe application?(tell me few basic things)
if we made any changes in shared object repository how it reflects of others like our team members?
I want to clear the webedit field without using set"" in qtp script
what is the difference between modular framework & datadriven framework
Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.
Explain about opening notepad in QTP and writing of test result in notepad?
I am new to automation testing.I am learning QTP 9.2.my question is how to install the defferent addins(other than Default Addins) is there any defference in QTP after installing the Addins.where we can get the addins?
what is the code in QTP to take screen shot?
what is a good testcase?
I have a 10 lines of qtp script, while executing i got an error at line 7 but i dont want to stop the execution i want to continue the execution up to last line and display the test result window, wts the syntax we use?
3 Answers BirlaSoft, Collabera,
User defined function in QTP