Hi Marc,
Yes, we're using 2.6, so are we not supposed to use that? I'm confused, it
looked like the latest stable version. So you're saying to use a more recent
build along with HTMLUnit 2.2?
thanks
Lisa


On Thu, Jun 12, 2008 at 9:42 AM, Marc Guillemot <[EMAIL PROTECTED]> wrote:

> Hi Lisa,
>
> which version of WebTest do you use? If it is 2.6, then you can't use
> any HtmlUnit-2.x. You should upgrade to a recent build rather than to 2.6.
>
> Cheers,
> Marc.
> --
> Blog: http://mguillem.wordpress.com
>
>
> Lisa Crispin wrote:
> > Hi Marc,
> > I'm off at a conference so I asked a colleague to try this for me,
> > here's what he said:
> >
> > I put the htmlunit 2.2 version on and the test bombed right away.  I
> > downloaded 2.1 but got the same javascript error.
> >
> > Was that the wrong thing, what do we need to do exactly?
> > thanks
> > Lisa
> >
> > On Mon, Jun 9, 2008 at 7:20 AM, Marc Guillemot <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >     Hi Lisa
> >
> >     I can't reproduce your error with latest snapshot of HtmlUnit. Can
> you
> >     give it a try to confirm that your problem has already been fixed?
> >     http://build.canoo.com/htmlunit/artifacts/
> >
> >     Cheers,
> >     Marc.
> >     --
> >     Blog: http://mguillem.wordpress.com
> >
> >
> >     Lisa Crispin wrote:
> >     > Hi,
> >     > We are finally upgrading to WebTest 2.6. We have quite a few
> scripts
> >     > that access a particular page that never gave any errors with the
> >     older
> >     > version (I'm not sure what version number we have been using - I
> >     > downloaded it in July 2007 - is there some way to find the build
> >     number?)
> >     >
> >     > With 2.6, every script that tries to access this page in edit mode
> >     gets
> >     > a javascript error. The error message isn't very helpful, it
> >     either has:
> >     > JavaScript error loading page
> >     > http://chester/plan/contributionTypes.pg?planId=7647: null
> >     >
> >     > or
> >     >
> >     > JavaScript error loading page
> >     >
> >
> http://chester/plan/contributionTypes.pg?planId=1473&year=2004&thisUri=%2Fplan%2FcontributionTypes.pg%3FplanId%3D1473&windowTitle=&currentUserId=5216
> >     <
> http://chester/plan/contributionTypes.pg?planId=1473&year=2004&thisUri=%2Fplan%2FcontributionTypes.pg%3FplanId%3D1473&windowTitle=&currentUserId=5216
> >
> >     >
> >     <
> http://chester/plan/contributionTypes.pg?planId=1473&year=2004&thisUri=%2Fplan%2FcontributionTypes.pg%3FplanId%3D1473&windowTitle=&currentUserId=5216
> >     <
> http://chester/plan/contributionTypes.pg?planId=1473&year=2004&thisUri=%2Fplan%2FcontributionTypes.pg%3FplanId%3D1473&windowTitle=&currentUserId=5216
> >>:
> >     > Wrapped com.gargoylesoftware.htmlunit.ScriptException (script in
> >     >
> >
> http://chester/plan/contributionTypes.pg?planId=1473&year=2004&thisUri=%2Fplan%2FcontributionTypes.pg%3FplanId%3D1473&windowTitle=&currentUserId=5216
> >     <
> http://chester/plan/contributionTypes.pg?planId=1473&year=2004&thisUri=%2Fplan%2FcontributionTypes.pg%3FplanId%3D1473&windowTitle=&currentUserId=5216
> >
> >     >
> >     <
> http://chester/plan/contributionTypes.pg?planId=1473&year=2004&thisUri=%2Fplan%2FcontributionTypes.pg%3FplanId%3D1473&windowTitle=&currentUserId=5216
> >     <
> http://chester/plan/contributionTypes.pg?planId=1473&year=2004&thisUri=%2Fplan%2FcontributionTypes.pg%3FplanId%3D1473&windowTitle=&currentUserId=5216
> >>
> >     > from (296, 43) to (0, 0)#311)
> >     >
> >     > We checked using Firefox development tools for Javascript errors
> >     on this
> >     > page and it didn't find any. For now, we've set
> >     > ThrowExceptionOnScriptError to false just so the scripts will run,
> but
> >     > we'd like to know about *real* JS errors, so we don't really want
> >     to run
> >     > this way all the time.
> >     >
> >     > How can we debug this further, as our programmers can't find any
> >     > problems with the JS on this page.
> >     >
> >     > You can look at the page from our public site:
> >     > https://secure.primek.com/tour/index.jsp
> >     > click on "plan establishment"
> >     > click submit on the first two pages
> >     > The page
> >     https://secure.primek.com/plan/contributionTypes.pg?planId=7647
> >     > that is labeled "Step 2 2008 Contribution Types" is the page that
> gets
> >     > the above error in our WebTest script.
> >     >
> >     > Any ideas are appreciated!
> >     > thanks,
> >     > Lisa
> >
> >     _______________________________________________
> >     WebTest mailing list
> >     [email protected] <mailto:[email protected]>
> >     http://lists.canoo.com/mailman/listinfo/webtest
> >
> >
> >
> >
> >
>
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>



-- 
Lisa Crispin
Co-author with Janet Gregory, Agile Testing
http://www.agiletester.ca
http://lisa.crispin.home.att.net
http://lisacrispin.blogspot.com

Reply via email to