I have a page that contains 10 drop down options and each drop down has a list of values. I would like for Selenium to run the script, select a random drop down and then a random value within that drop down. Does anyone have any insight on to how to get a random value selected?
Currently I have the code setup to select the first drop down that is available then select the first value within that list. The code looks like this:
// Selects the first drop down
selenium.click("css=div.dropdown");
// Selected the first value in the first drop down
selenium.click("css=td.dijitMenuItemLabel");
Any help would be great!