Thank you, Jarmo,
I have the same thought as you. After all, spelling 'options' is much easier
than 'getAllContents'
For now, I think I have to stil use the old select_list methods, :),

Thanks.
Wesley Chen.


On Tue, Apr 28, 2009 at 6:26 PM, Jarmo Pertman <jarm...@gmail.com> wrote:

>
> For some reason "options" method is not there anymore and docs aren't
> updated.
>
> There is method getAllContents, but I didn't like this camelCase
> method name, so I patched it:
> class Watir::SelectList
>   alias :options :getAllContents
> end
>
> On Apr 28, 12:21 pm, Wesley Chen <cjq....@gmail.com> wrote:
> > Hi, Zeljko,
> > I know this kind of select_list use.
> > But please turn to the addresshttp://
> wtr.rubyforge.org/rdoc/classes/Watir/SelectList.html
> > Then use the methods like "*options*" on the page.
> > When I use
> > put $ie.select_list(:name,//).*options*
> > I get undefined method error messages.
> > So, do you know why?
> >
> > Thanks.
> > Wesley Chen.
> >
> > On Tue, Apr 28, 2009 at 5:16 PM, Željko Filipin
> >
> > <zeljko.fili...@wa-research.ch> wrote:
> > > On Tue, Apr 28, 2009 at 07:55, Wesley Chen <cjq....@gmail.com> wrote:
> > > > How to use the select list methods on page:
> >
> > >http://wiki.openqa.org/display/WTR/Selection+Boxes
> >
> > > > Any limitations to use the great methods?
> >
> > > I did not understand this.
> >
> > > Željko
> > > --
> > >http://watirpodcast.com/
> >
>

--~--~---------~--~----~------------~-------~--~----~
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