07-29-2011, 11:14 PM
Assume there is a weblist with "n" items in it and you need to select the items in it in a loop.
'To select the items always start index with 0
and to GetItem start index with 1
for i=0 to n-1
browser().page().weblist().select "#"&i
next
for i=1 to n
msgbox browser().page().weblist().GetItem (i)
next
'To select the items always start index with 0
and to GetItem start index with 1
for i=0 to n-1
browser().page().weblist().select "#"&i
next
for i=1 to n
msgbox browser().page().weblist().GetItem (i)
next