Skip to content

Conversation

emanlove
Copy link
Member

@emanlove emanlove commented Sep 1, 2013

Fixes #92.

@adwu73 submitted a pull request, robotframework#92, with changes to perform this check but
we had delayed pulling it and in the meantime other chnages were made. I am
resubmitting similar changes working out the best way to catch and report the
error.
Now check to see if select list is multi-selection or not.  If it is multi-
select then raise error for any non-existing item(s). If it is a single
select list then log warning if any item, up to the second to last item, that
does not exist within the select list. And if the last item does not exist
then a ValueError is thrown.  This discerning error/warning reporting for
single select list was designed to accommodate current stated operation of the
keyword, "If more than one value is given for a single-selection list, the
last value will be selected."
Added information about exception for non-existing items. Also updated
CHANGES.rst.
emanlove added a commit that referenced this pull request Sep 1, 2013
Added code and tests to check for non-existing select items from list.
@emanlove emanlove merged commit ab22f10 into robotframework:master Sep 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant