Bugs item #2007985, was opened at 2008-07-01 18:11
Message generated for change (Comment added) made by henryju
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=2007985&group_id=61302
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Selenium plugin
>Group: Release 2.0
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Josh (joshlane)
Assigned to: Julien HENRY (henryju)
Summary: selectOptionByValue fails with Selenium Plugin
Initial Comment:
I attempt to select an option by value in a single selection drop-down list
using the Selenium plugin and its fails with the following error:
com.thoughtworks.selenium.SeleniumException: ERROR: Not a multi-select
at
com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:73)
at
com.thoughtworks.selenium.DefaultSelenium.addSelection(DefaultSelenium.java:218)
at
net.sourceforge.jwebunit.selenium.SeleniumTestingEngineImpl.selectOptions(SeleniumTestingEngineImpl.java:412)
at
net.sourceforge.jwebunit.junit.WebTester.selectOptionsByValues(WebTester.java:2228)
at
net.sourceforge.jwebunit.junit.WebTester.selectOptionByValue(WebTester.java:2240)
at usecase.CAUseCase1.testUseCase1(CAUseCase1.java:46).
>From what I have read of the source, the ITestingEngine interface needs to be
>modified to allow for single option selection OR modify the implemented
>selectOptions method in the Selenium plugin to call selenium.select(locator,
>value) when the number of values being selected is 1.
----------------------------------------------------------------------
>Comment By: Julien HENRY (henryju)
Date: 2008-07-08 15:50
Message:
Logged In: YES
user_id=1235926
Originator: NO
Patch applied. Thanks.
----------------------------------------------------------------------
Comment By: Julien HENRY (henryju)
Date: 2008-07-01 18:40
Message:
Logged In: YES
user_id=1235926
Originator: NO
Hi,
If you could provide a patch based on the JWebUnit SVN trunk I will apply
it.
Thanks
Julien
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=2007985&group_id=61302
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development