02-25-2013, 06:55 AM
Is this what you are looking at?
Or
Code:
StrAllItems = Split(Browser("...:=...").Page("..:=..").Frame("..:=..").WebList("..:=..").GetRoProperty("All Items"),";")
For intCounter = Lbound(strAllItems) to Ubound(strAllItems)
If Browser("...:=...").Page("..:=..").Frame("..:=..").WebList("..:=..").GetItem(intCounter) = "SomeValue" Then
Browser("...:=...").Page("..:=..").Frame("..:=..").WebList("..:=..").Select (intCounter)
Exit For
Else
msgbox "value not found...Please write a reporter event for this"
End If
Next
Or
Code:
iTemCount = Split(Browser("...:=...").Page("..:=..").Frame("..:=..").WebList("..:=..").GetRoProperty("Items Count")
For intCounter = 0 to iTemCount - 1
If Browser("...:=...").Page("..:=..").Frame("..:=..").WebList("..:=..").GetItem(intCounter) = "SomeValue" Then
Browser("...:=...").Page("..:=..").Frame("..:=..").WebList("..:=..").Select (intCounter)
Exit For
Else
msgbox "value not found...Please write a reporter event for this"
End If
Next
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.