Parv wrote:
> Hello Everyone,
>
> Is there a way to detect an item in a drop down list?  
>   
Yes. Here is the info for Watir 1.4
http://wtr.rubyforge.org/rdoc/classes/Watir/SelectList.html

In Watir 1.5, you can use the new SelectList#includes? and 
SelectList#selected?. E.g:

assert(ie.select_list(:name, 'foo').includes? 'bar')
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to