Paul, Bret, I tried both syntax examples and got errors on both. Do you see anything wrong with ie.frame(:index,1).div(:class, 'wiki').ole_object.innerText = "McChris was here" or ie.frame(:index,1).div(:class, 'wiki').ole_object.invoke("innerText","McChris was here")
I'm using the latest Watir development gem here. irb(main):005:0> ie.frame(:index,1).html => "<HTML><HEAD>\r\n<META content=\"MSHTML 6.00.2900.3059\" name=GENERATOR><LINK media=screen href=\"/static/2.11.5.2/css/st/screen.css\" type=text/css rel=STYL ESHEET><LINK media=screen href=\"/static/2.11.5.2/css/st/ie.css\" type=text/css rel=STYLESHEET><LINK media=screen href=\"/static/2.11.5.2/css/st/wikiwyg.css\" t ype=text/css rel=STYLESHEET></HEAD>\r\n<BODY>\r\n<DIV class=wiki>Replace this te xt with your own. <BR></DIV></BODY></HTML>" irb(main):006:0> ie.frame(:index,1).div(:class, 'wiki').ole_object.innerText = " McChris was here" NoMethodError: undefined method `innerText=' for nil:NilClass from (irb):6 from :0 irb(main):007:0> ie.frame(:index,1).div(:class, 'wiki').ole_object.invoke("inner Text","McChris was here") NoMethodError: undefined method `invoke' for nil:NilClass from (irb):7 from :0 irb(main):008:0> _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general