[Wtr-general] Newbie problem with submitting a login
Zeljko Filipin
zeljko.filipin at gmail.com
Tue Aug 29 06:15:19 EDT 2006
Do you have watir 1.4.1 or 1.5.1? Maybe old watir has a bug with nesting.
I have 1.5.1 and this works for me:
irb(main):005:0> ie.table(:index, 4)[1].click
=> "yellow"
irb(main):006:0> ie.div(:index, 1).table(:index, 4)[1].click
=> "yellow"
irb(main):008:0> Watir::IE::VERSION
=> "1.5.1.1065"
Zeljko
On 8/29/06, Reinier Mostert <reinier at clabo.co.za> wrote:
>
> So it seems I should just ignore the DIV element? I tried to build a
> path through it, i.e.
> ie.div(:index, 1).table(:index, 4)[1].fire_event('mymiLogin')
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060829/109d3936/attachment.html
More information about the Wtr-general
mailing list