Hi, I am trying to populate a select list with a random value from the list but I am not sure how I can achieve this.
Is it possible to get the contents of the select list into an array, count how many items are in that array and select a random one? Sorry if this is a slightly incoherent question but I am still fairly wet behind the ears with Watir and programming generally but I have enjoyed what I have achieved with it so far. It's a long road ahead for me I think :-) Thanks in advance. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
