Can anyone here suggest a method to select
an item from a drop down
menu, using the item's position in the list?
Say you have a normal drop down menu to select the month of birth.
Example on this page: http://www.plus2net.com/php_tutorial/date-selection.php.
Usually the exported code from the WebDriver IDE
will have selected the respective item by name.
Yet I would be more handy to actually select it by list position. Thereby an simple integer ranging 1-12 from a database could be used to select an element on the list. This being more elegant, than selecting from a group of 12 strings (January, February, etc.).