Bugs item #2007985, was opened at 2008-07-01 12:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Core API
Group: Release 1.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Josh (joshlane)
Assigned to: Nobody/Anonymous (nobody)
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.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=2007985&group_id=61302

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to