I don't think Selenium has a default implementation for this but it is simple 
to implement a custom action yourself for these sorts of things. Once you 
locate the multi-select element, select the rows you want with:

        element.options[i].selected = true

Craig.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frédéric Buclin
Sent: Monday, December 05, 2005 4:12 AM
To: selenium-users@lists.public.thoughtworks.org
Subject: [Selenium-users] How to select none or several items in a 
<selectmultiple="multiple">?

How can I select none or several items in a <select 
multiple="multiple">? From what I see, I can select only one item using 
Selenium.

A good example is https://bugzilla.mozilla.org/query.cgi?format=advanced


Fred.
_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users
_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

Reply via email to