Re: jquery and webtest with htmlunit 2.8: the data necessary to complete this operation is not yet available

Josep García <[email protected]>
Newsgroups gmane.comp.web.canoo.webtest
Message-ID <[email protected]>
Would be good to know why.
Meanwhile, I disabled script erros on my webtest, in the config step:

    <option name="ThrowExceptionOnScriptError" value="false"/>

Josep


2011/2/2 Iain_10 <ikennelly-RCqiUMi5fehWk0Htik3J/[email protected]>

>
> Hi,
>
> I have just upgraded from R_1803 to R_1810 and am now seeing
> lots of these errors. There seems to be lots more output for R_1810
> than R_1803. Any reason why this might be?
>
> The error I get is as follows:
>
> [clickButton] ERROR
> (com.gargoylesoftware.htmlunit.javascript.StrictErrorReporte
> r) - runtimeError: message=[The data necessary to complete this operation
> is
> not
>  yet available.] sourceName=[http://ourapplication/jsp/s
> cripts/jquery-1.2.6.pack.js#11(eval)] line=[1] lineSource=[null]
> lineOffset=[0]
>
> thanks!
>
>
> Josep García wrote:
> >
> > Having upgraded to webtest R_1810, I am now have a lot of problems with
> > jQuery:
> >
> > ERROR (com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter) -
> > runtimeError: message=[The data necessary to complete this op
> > eration is not yet available.] sourceName=[
> > http://localhost:8081/xxxxx-web-1.4-SNAPSHOT/scripts/jquery-1.4.4.js]
> > line=[897] lin
> > eSource=[null] lineOffset=[0]
> >
> > The relevant lines of jQuery is the doScroll() one from this fragment:
> >
> >     try {
> >         // If IE is used, use the trick by Diego Perini
> >         // http://javascript.nwbox.com/IEContentLoaded/
> >         document.documentElement.doScroll("left");
> >     } catch(e) {
> >         setTimeout( doScrollCheck, 1 );
> >         return;
> >     }
> >
> > Is this a bug?
> >
> > No problems like this with webtest 3.0 and htmlunit 2.5.
> >
> > Josep
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/jquery-and-webtest-with-htmlunit-2.8%3A-the-data-necessary-to-complete-this-operation-is-not-yet-available-tp30201144p30824562.html
> Sent from the WebTest mailing list archive at Nabble.com.
>
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.