06-07-2013, 07:22 AM
Ok, Try this,
Code:
i=0
Do
browser().page().weblist().Click
oItems = browser().page().weblist().GetROProperty("items count")
If oItems <> 0 then
browser().page().weblist().click
browser().page().weblist().select(4)
Exit Do
End If
wait 1
i=i+1
Loop Until oItems <> 0 or i>20
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.
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.