MarkusBernhardt / robotframework-selenium2library-java

Java port of the Selenium 2 (WebDriver) Python library for Robot Framework
Apache License 2.0
46 stars 48 forks source link

"List selection should be" keyword doesn't accept single value #18

Closed Hi-Fi closed 11 years ago

Hi-Fi commented 11 years ago

When trying to verify, that dropdown list has correct selection, user gets error:

TypeError: listSelectionShouldBe(): 2nd arg can't be coerced to java.util.List

Used command in test (using same test than with JE events):

List Selection Should Be    xpath=//select[@name='test']    10
MarkusBernhardt commented 11 years ago

Fixed. Thanks for that catch!