Looking at the freetextbox, it appears that one problem you are probably
running into is that Watir does not currently support accessing iframes
by id. I think this would take me an hour or so to add. It would be
particularly easy if someone would create a failing unit test first.
I was going to do this (it's either that or clean my house), but there's already a frames test by id in C:\ruby\lib\ruby\gems\1.8\gems\watir-
1.5.0.945\unittests\frame_test.rb:
def test_frame_by_id
assert_raises(UnknownFrameException) { $ie.frame(:id , "missingFrame").button(:id, "b2").enabled? }
assert($ie.frame(:id, 'first_frame').button(:id, "b2").enabled?)
end
Something funny seems to be going on with :id values.
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general