[Webtest] Issues with Webtest 2.6 : Cannot read property "length" from undefined

Marc Guillemot Marc Guillemot <mguillemot@yahoo.fr>
Tue, 08 Jul 2008 11:33:25 +0200


Hi,

can you first upgrade to the latest build and see if the error persists?
It contains many improvements compared to release 2.6.

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

Jaydeep Ayachit wrote:
> Hi,
> 
> After upgrading Webtest to 2.6 version, I am getting error 
> "TypeError: Cannot read property "length" from undefined". Before upgrade
> this issue was not there.
> 
> I looked through mailing list archives and found out that the same issue is
> reported earlier but no resolution available.
> 
> My code is something like
> 
> var pwdfld = document.getElementById("password");
> if(pwdfld.value == "" || pwdfld.length < 4)
> {
> 	alert("Password should have at least 4 characters!");
>      return false;
> }
> 
> Any help would be most appreciated.
> 
> Thanks
> Jaydeep
> 
> 
> 
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>