You should be able to use the getSelected * commands to return the identifier, index, or label of the selected item. The following is a quote from the Selenium link:
storeSelectedId (selectLocator, variableName)
Gets the element element identifier for the selected parameter in the specified selection element.
Arguments:
- selectLocator - element locator that defines the drop-down menu
- variableName - the name of the variable in which the result should be stored.
Returns: the selected option identifier from the drop-down list select
storeSelectedIndex (selectLocator, variableName)
Returns the index of options (option number, starting at 0) for the selected parameter in the specified selection.
Arguments:
- selectLocator - element locator that defines the drop-down menu
- variableName - the name of the variable in which the result should be stored.
Returns: the selected option index in the drop-down list, select
storeSelectedLabel (selectLocator, variableName)
Gets the option label (visible text) for the selected option in the specified selection.
Arguments:
- selectLocator - element locator that defines the drop-down menu
- variableName - the name of the variable in which the result should be stored.
Returns: the selected option label in the drop-down list, select
source share