anybody give me the real time example for descriptive
programming of web application

Answer Posted / vvgiri2k6

dp means without using repositury tool will identify the
object using property values.
ex browser("name").page("name").webbutton("name")

for this line descriptive program is

browser("window id:=1005").page("window
id:=22").webbutton("window id:=787")

we can use any property but that should be unique
here i used window id like that we can use any propery.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Brief the process of testing with UFT?

644


How to capture all the data of a webtable, weblist and combolist using QTP?

2864


What is the difference between keyword view and expert view?

621


Explain about the test fusion report of quicktest professional?

541


what is the hierarchy to use properties in descriptive programming

1507






What are the check points can be inserted without recording?

608


HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?

1724


What does it mean when a check point is in red color? What do you do?

572


What are the two types of repositories available, explain them?

598


Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma

1356


What are the trigger events in qtp?

585


Where is the Bitmap checkpoint information stored?

1774


How did you use regular expressions in QTP and also in WR?

2172


How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.

1547


write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading

1499