not sure ... try checking if ur facing this issue as well with read() and onload
---------- Forwarded message ---------- From: Josep García <[email protected]> Date: Tue, Nov 23, 2010 at 12:47 AM Subject: Re: [Webtest] onLoad fires before ready() To: [email protected], sandy oberoi <[email protected]> We have also experienced problems with htmlunit 2.8. For instance: ERROR (com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter) - runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[ http://localhost:8081/xxxxx-web-1.4-SNAPSHOT/scripts/jquery-1.4.4.js] line=[897] lineSource=[null] lineOffset=[0] It could be related to the issue you mention? Josep 2010/11/23 sandy oberoi <[email protected]> > We recently moved to a newer version of webtest with htmlunit 2.8 snapshot > and have been facing issues with execution of onload. It seems like in the > newer version of webtest the onload events fires before the jQuery (version > 1.2.6) ready(). This was not the case in older version of webtest with > htmlunit 2.6. > > ~Sandy > > > >

