How can i count the list box elements in QTP ?using script
plz explain me (Chandana)

Answer Posted / rajaputra

url="http://corp.naukri.com/mynaukri/mn_newsmartsearch.php?xz=2_0_5&id="
Systemutil.Run "Iexplore.exe",url
set oDesc= Browser("name:=Mynaukri : naukri.com - India's
No.1 Job Site")
itemcount=oDesc.WebList("name:=qe").GetROProperty("items count")
msgbox "Number of Items in Experience List= "& itemcount
itemcount=oDesc.WebList("name:=qm").GetROProperty("items count")
msgbox "Number of Items in Minimum Salary List= "&itemcount

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to change the property value at runtime? How it is possible?

577


Which environments does qtp support?

681


How can i initiate the objects to find uniquely in OR

1476


What are the things(properties, and other details) will be recorded while recording an object using normal recording?

1495


how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance

1430






Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

1519


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

2879


Explain the Different types of QTP test assets and their extensions?

607


What is the short cut keys for the following?

650


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

1690


What are the different types of checkpoints?

591


What is TOM in QTP?

1806


What are the disadvantages of recording test cases in qtp?

598


assume i have few url link how will i dynamically call then using descriptive programming?

1605


Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

2801