9 messages in com.canoo.lists.webtestRe: [Webtest] mystery javascript error
FromSent OnAttachments
Lisa Crispin06 Jun 2008 10:50 
Marc Guillemot09 Jun 2008 06:19 
Lisa Crispin10 Jun 2008 16:37 
Marc Guillemot12 Jun 2008 08:41 
Lisa Crispin12 Jun 2008 09:02 
Marc Guillemot12 Jun 2008 10:04 
Lisa Crispin12 Jun 2008 10:18 
Lisa Crispin12 Jun 2008 13:35 
Marc Guillemot16 Jun 2008 00:41 
Subject:Re: [Webtest] mystery javascript error
From:Lisa Crispin (lisa@gmail.com)
Date:06/12/2008 01:35:34 PM
List:com.canoo.lists.webtest

Thank you, Marc! Everything works fine for us now.

The upgrade to the new version was not as scary as I thought. Since there is still a result file with everything in it (WebTestOverview.xml), we didn't have to change anything with our CruiseControl. In fact we were able to simplify, we used to need an extra ant task to format results. We are glad to finally be up to date and now we can enjoy whatever new features are there - haven't explored that yet!

I don't thank all you WebTest contributors often enough, but it is really a super product that continues to give us a great ROI. I just did a tutorial and a class at the Better Software conference in Las Vegas, and as always, talked up WebTest. Also, just got a friend to try it out at their shop. -- Lisa

On Thu, Jun 12, 2008 at 11:04 AM, Marc Guillemot <mgui@yahoo.fr> wrote:

By WebTest is each build as stable as a release. We make releases just because some people take care to release numbers.

Cheers, Marc.

-- Blog: http://mguillem.wordpress.com

Lisa Crispin wrote:

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 <mgui@yahoo.fr <mailto:mgui@yahoo.fr>> 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 <mgui@yahoo.fr <mailto:mgui@yahoo.fr> > <mailto:mgui@yahoo.fr <mailto:mgui@yahoo.fr>>> 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

:

> > 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

> > 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 > WebT@lists.canoo.com <mailto:WebT@lists.canoo.com> <mailto:WebT@lists.canoo.com <mailto:WebT@lists.canoo.com>> > http://lists.canoo.com/mailman/listinfo/webtest > > > > >

_______________________________________________ WebTest mailing list WebT@lists.canoo.com <mailto:WebT@lists.canoo.com> http://lists.canoo.com/mailman/listinfo/webtest