Perhaps this feature is not well implemented. As I
don't have time to improve JWebUnit now, could you
please provide a patch.

Thanks

Julien

--- [EMAIL PROTECTED] a écrit :

> How do I do to select one or more options in a Multi
> Selection List
>  
> The HTML looks like this:
> <select multiple name="prio"> 
>   <option selected value="ALL">ALL 
>   </option><option value="A">A 
>   </option><option value="B">B 
>   </option><option value="C">C 
> </option></select>
> 
>  
> 
> I have tried both
> 
> selectOptionByValue("prio",  "C");
> selectOption("prio", "C");
> 
> and 
> 
> String[] labels = {"C"};
> t.selectOptions("prio", labels);
> 
> 
> but I can't get it to work.
> 
> Any ideas?
> 
> It works for Non Multi Selection Lists.
> 
> I didn't find any tests for selectOptions. Have I
> missed it or are there
> no tests?
> 
>  
> 
> Regards, Michael Danielsson
> 
> >
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? 
> Stop.
> Now Search log events and configuration files using
> AJAX and a browser.
> Download your FREE copy of Splunk now >>
http://get.splunk.com/>
_______________________________________________
> JWebUnit-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
> 



      
_____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to