[Webtest] Issues with Webtest 2.6 : Cannot read property "length"
Marc Guillemot <firstname.lastname@example.org>
Tue, 08 Jul 2008 11:33:25 +0200
can you first upgrade to the latest build and see if the error persists?
It contains many improvements compared to release 2.6.
Jaydeep Ayachit wrote:
> 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.
> 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