Feature Requests item #1874212, was opened at 2008-01-18 00:28
Message generated for change (Comment added) made by henryju
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497985&aid=1874212&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
Priority: 5
Private: No
Submitted By: Michael Coram (mtc3bmtc3b)
>Assigned to: Julien HENRY (henryju)
Summary: support multiple selects with same name

Initial Comment:
I have an HTML page that has multiple <select> boxes, all with the same name.  
Only one is visible (and enabled) at a given time.  I want to be able to select 
and option in the Nth one, like the clickLink() methods allow.  HtmlUnit has 
the appropriate methods to get all <select> boxes by name, so not too difficult 
to implement.  I've done so, and am attaching the patch built against the 
latest 1.5 release.  I only implemented it for HtmlUnit since I don't know 
Selenium.

I didn't add any tests for this, but I can if desired.  But, before I spend the 
time, I want to make sure this change is accepted.



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

>Comment By: Julien HENRY (henryju)
Date: 2008-01-18 09:04

Message:
Logged In: YES 
user_id=1235926
Originator: NO

Hi,

Thanks for this contribution. Could you please add at least one test case
with a simple page including 2 <select> with same name (ensure you can play
with both).

Also there are some minor fixes (but I can do it myself):
  - do not alter pom.xml
  - make no implemented Selenium methods throw an exception instead of
returning false
  - your patch should not contain full file paths but relative paths

Thanks


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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to