Hi,
The doc for Watir::SelectList says that array item can be passed to
select method.
But seems not true and watir throws exception.
--------------------------
select( item )
This method selects an item, or items in a select box, by text. Raises
NoValueFoundException if the specified value is not found.
* item - the thing to select, string, reg exp or an array of string
and reg exps
--------------------------
But I get following exception when I execute
$ie.frame("mainFrame").select_list(:name ,"selectedTypes").select(
["SSH", "HTTPS"] )
-------------------------
c:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:2945:in
`select_item_in_select_list': undefined method `matches' for ["SSH",
"HTTPS"]:Array (NoMethodError)
from c:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:2944:in
`each'
from c:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:2944:in
`select_item_in_select_list'
from c:/program files/ruby/lib/ruby/site_ruby/1.8/watir.rb:2925:in
`select'
from ConfigurationCaptureFilter.rb:16
---------------------------
Is this known issues?
Please let me know if you need more info.
Thanks and Regards,
Manish
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general