12-06-2013, 08:55 AM
If your case is that you dont care what the value is selected then you may use the RandomNumber and assign that value as an index to be selected.
Let's say you have 20 manufacture's names in the dropwdown and you have to select anything each time you run the script.
Does this help?
Let's say you have 20 manufacture's names in the dropwdown and you have to select anything each time you run the script.
Code:
sRandNum = RandomNumber(1,20)
Browser("e.........Login").Page("...........").WebList("Manufacturer").Select sRandNum
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.