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/
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:
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
Hi, Zeljko,
I know this kind of select_list use.
But please turn to the address
http://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