This COM code will work if you're having trouble getting exactly what you want from Watir:
my_header = $browser.table( :id, 'ctl00_MasterContentPlaceHolder_DomainGridView' ).getOLEObject().rows( 0 ).innerText().to_a() Unfortunately, this returns escaped characters as well. You can also access individual cells this way, and sometimes I find it easier to just do it directly through the COM. my_cell = $browser.table( :id, 'theID' ).rows( x ).cells( y ).innerText() Hope this helps^^ —Nathan Christie --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6193&messageID=17502#17502 _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
