01-29-2010, 01:09 PM
Hi ,
Use the below code.
Use the below code.
Code:
Expected_Item="ABC"
Items_count=Browser("....").Page(".....").WebList("select").GetROProperty("Items Count")
For i=1 to Items_count
Current_Item=Browser("....").Page(".....").WebList("select").GetItem(i)
msgbox Current_Item
If Current_Item=Expected_Item Then
msgbox "expected item exists in WebList"
Browser("....").Page(".....").WebList("select").Select Expected_Item
Exit for
End If
Next