Posts: 3
Threads: 1
Joined: May 2010
Reputation:
0
05-03-2010, 04:32 PM
Hi,
can you please tell me how can i count listbox items in a weblist using script.
QTP version:9.2
Please give a solution apart for "getitemcount" method .i dont know why but it is not available in my system.
Posts: 61
Threads: 1
Joined: Jul 2009
Reputation:
0
05-03-2010, 04:46 PM
Hi,
Use "All Items" property. (See more of QTP help for more details).
Posts: 189
Threads: 0
Joined: Jul 2009
Reputation:
1
05-03-2010, 04:48 PM
Hi Prachirao,
use GetROProperty("items count")
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
05-04-2010, 10:28 AM
Prachi -
Add the weblist object to the repository, use it and then see if you still get the error. If you dont then replicate the same property on your DP and see if that helps. If that does, then customize it according to your requirements.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 3
Threads: 1
Joined: May 2010
Reputation:
0
05-04-2010, 11:31 AM
Thanks u solved my problem