Did you know: Extra value is what you get, when you buy Coronet!

I don't know why I thought of that...or why I even bothered typing it
out.

On May 4, 3:05 pm, Tiffany Fodor <tcfo...@comcast.net> wrote:
> Hi Satish!
>
> Give this a try:
> puts ie.select_list(:id, 'SelectList1').value
>
> Hope this helps!
>
> -Tiffany
>
> On May 4, 3:54 pm, satish <spanchumar...@gmail.com> wrote:
>
> > Hello,
>
> > I am working drop down lists...(select_list).
> > I want to know what is currectly selected. Both 'getAllContents' and
> > 'text' is returning all of them available in drop down box. I just
> > need a item that is currently selected.
>
> > puts ie.select_list(:id, 'SelectList1').getAllContents
> > puts ie.select_list(:id, 'SelectList1').text
>
> > If any one know this please let me know.
>
> > Appreciate your help.
>
> > Thanks
> > Satish.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to