9 messages in com.canoo.lists.webtestRe: [Webtest] Error after update to C...
FromSent OnAttachments
dariusch25 Apr 2008 00:00 
Marc Guillemot25 Apr 2008 01:39 
dariusch28 Apr 2008 06:01 
dariusch29 Apr 2008 02:43 
Marc Guillemot29 Apr 2008 02:55 
Christoph Witych29 Apr 2008 07:59 
dariusch01 May 2008 23:11 
Marc Guillemot05 May 2008 04:01 
KNIGHT, Nick05 May 2008 18:31 
Subject:Re: [Webtest] Error after update to Canoo webTest 2.6
From:Marc Guillemot (mgui@yahoo.fr)
Date:04/29/2008 02:55:09 AM
List:com.canoo.lists.webtest

Hi,

this is not a bug. A new build of WebTest containing HtmlUnit-2.1 will probably be available today. Just wait a bit ;-)

Cheers, Marc.

dariusch wrote:

Hi,

is this problem a bug or can i do something ?

Hi,

i add the HtmlUnit-2.1.jar into the Canoo Webtest project, but i get the same error message. the code is like:

... var form = document.getElementById('testForm'); var = i < form.elements.length; ...

Thanks, Dariusch

I guess that the problem is that some js code now gets evaluated, which wasn't the case previously. In this case this seems to be done incorrectly ;-(

WebTest will soon contain HtmlUnit-2.1 which contains huge improvements compared to release 1.14. Perhaps will this already fix you problem. Otherwise it would be helpful if you could provide a minimal code allowing to reproduce the issue.

Cheers, Marc. -- Blog: http://mguillem.wordpress.com

Hello,

after i updated the Canoo Webtest to 2.6 i get this error in a lot of tescases:

JavaScript error loading page http://localhost:8080/.../index.html: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "length" from undefined (script in http://localhost:8080/.../index.html from (199, 194) to (201, 15)#200) (http://localhost:8080/js/mootools.js#3(eval)#1)

everybody has an idea what's the problem?

Thanks, Dariusch