2 messages in com.canoo.lists.webtest[Webtest] Issues with Webtest 2.6 : C...
FromSent OnAttachments
Jaydeep Ayachit27 Jun 2008 04:48 
Marc Guillemot08 Jul 2008 02:33 
Subject:[Webtest] Issues with Webtest 2.6 : Cannot read property "length" from undefined
From:Jaydeep Ayachit (jayd@persistent.co.in)
Date:06/27/2008 04:48:49 AM
List:com.canoo.lists.webtest

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