Hi Chuck, I entered some text in the field. Firebug shows the field is on <span class="feature"> blah blah blah </span>. I also tried your sample code but it failed on finding eEditorArea.
irb(main):003:0> browser.frame(:id, 'eEditorArea').span(:class, 'feature').setpr operty('innerText', 'what you want to type') Watir::Exception::UnknownFrameException: Unable to locate a frame with id eEdito rArea from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ frame.rb:40:in `locate' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ frame.rb:47:in `initialize' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ container.rb:1 02:in `new' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ container.rb:1 02:in `frame' from (irb):3 irb(main):004:0> I can get to the iframe id="data___Frame" but that puts me on the main text field, not the inner ones... Lena On Apr 21, 7:21 am, Chuck van der Linden <sqa...@gmail.com> wrote: > try typing some text into that area, then select it with the IE > Developer toolbar (or firebug) and see what you find. > > it might be that you just need to set the innertext property on the > element that's holding the text > > something along these lines for example might work. but you need to > make sure what's containing the text so you are trying to set the > property on the right element. > > browser.frame(:id, 'eEditorArea').span(:class, 'feature').setproperty > ('innerText', 'what you want to type') > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---