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 <[EMAIL PROTECTED]> 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')

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to