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 |
Tell some commonly used Excel VBA functions?
Username field having some string mistake like"user naem".what type of testing i prefer to test spell check.
They asked by using qtp recording writing scripting
According to use, how virtual object is different from object spy? If Qtp is not learning a sub-menues. What should we done? how would we manage on the expert view too? alkaa.dugaal@gmail.com
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
Hi all, can anyone tell me the challenges u faced while using qtp?
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
In a web page when we enter the city name corresponding zip code is coming in the required field.Can any one please write how to test using QTP,whether this code is coming from Database or not.
what is exit and entry criteria of automation testing. any body wants a real time script,please mail to me. contactno;9986435766
When a requirement is given to u to automate , What is ur basic approach ?
what is the syntax or command in vbscript to display user message example i want to display "welcome to QTP".
what is meant by automation tool?