what is descriptive programming in QTP? How can be done?
Answer Posted / pradeep
It works perfectly....
'USING DESCRIPTIVE PROGRAMMING - WITHOUT OBJECT REPOSTARY
Browser("creationtime:=4").Page("title:=Editorial Company
Search").Link("text:=Codes").Click
'OR
Browser("name:=Editorial Company Search").Page
("title:=Editorial Company Search").Link
("text:=Codes").Click
For descriptive programming the object properties should be
extracted first using the QTP object repository and then
use it in the code.
Ex., name:= or creationtime:= or title:=
Depends on the objects and its available properties
| Is This Answer Correct ? | 13 Yes | 22 No |
Post New Answer View All Answers
How to use checkpoints in qtp ?
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
If the objects hierarchy is changing from build to build, then how you will handle that condition?
What does it mean when a check point is in red color? What do you do?
I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.
How does you test a weblink which is changing dynamically?
What is method name to compare two XML files.
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
can u please explain what is the exact difference between qtp8.2 and 9.0
What is the difference between a Function and Procedure in QTP?
How can you send user defined messages to test report?
How software automation specialist enter steps in the Expert View?
wht is Manual Testing Frame work. Pls anybody can give appropriate answers
If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?
What is expert view in qtp?