Answer Posted / umasankar
When you record an operation on an object, QuickTest adds
the appropriate test object to the object repository. After
the object exists in the object repository, you can add
statements in the Expert View to perform additional methods
on that object. To add these statements, you usually enter
the name (not case sensitive) of each of the objects in the
object's hierarchy as the object description, and then add
the appropriate method.But in descriptive programming it is
quite different.Let us see the below example.
Decriptive programming with an example on a webpage.
General programming:
Browser("Mercury Tours").Page("Mercury Tours").WebEdit
("Name:=Author", "Index:=3").Set "Uma Sankar"
Descriptive Programming:
Browser("Title:=Mercury Tours").Page("Title:=Mercury
Tours").WebEdit("Name:=Author", "Index:=3").Set "Uma Sankar"
The difference is quite very less. But is very important.
Note:If you specify a test object by its object repository
name after other objects in the hierarchy have been
specified using programmatic descriptions, QuickTest cannot
identify the object.
If any doubts please let me know.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
how to download mercury qtp9.2 ny internet ?
in a web page hoe to check the dynamic links that rechabging with out using regular expressions
How to capture a window in QTP?
What are the advantages of qtp?
How to open a new test using quicktest professional (qtp)?
What is the basic concept of quicktest professional (qtp)?
Can we create user defined functions in qtp?
How does qtp identify objects in the application?
if our qtp vb Script may be Currepted then What we want do?
Diff b/w Health care domain and Banking Domain?
How does qtp identify the object in the application?
How to use conditional loops in qtp ?
What are the different types of recording modes?
What test cases can you automate using QTP?
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?