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






Marc Guillemot wrote:
> 
> 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
> 
> 
> dariusch wrote:
>> 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
> 
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-after-update-to-Canoo-webTest-2.6-tp16891756p16938459.html
Sent from the WebTest mailing list archive at Nabble.com.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to