I am now on the latest watir gem (1.5.1.1037). When I had 1.4.1 installed the 
following functionality did work...but now I am seeing the following error? I 
tried both from irb and a unit test script and I got the same error message.

*****WATIR: 1.5.1 (1037gem) -Error 

irb(main):002:0> ie = Watir::IE.attach(:title, /Merch/) 
irb(main):003:0> ie.frame(:index, 2).contains_text('DimensionManager')
NoMethodError: undefined method `contains_text' for #<Watir::Frame:0x2dc9468>
        from (irb):3

I also just confirmed that this did work with the 1.4.1 implementation:

****WATIR: 1.4.1 (single click) - Working 

irb(main):004:0> ie = Watir::IE.attach(:title, /Merch/)
irb(main):006:0> ie.frame(:index,2).contains_text('DimensionManager')
=> nil
irb(main):007:0>

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

Reply via email to