[Webtest] setInputField: Why can I add more then maxlength characters

Willi Kuhnis Willi Kuhnis" <wkuehnis@gmail.com
Thu, 10 Jan 2008 08:11:01 +0100


------=_Part_27339_27630413.1199949061154
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi Marc,

thanks for your feedback.
you says, maybe it would make sense, when setInputField could (optionally)
respect the maxlength.

But I still dont understand:
I think, setInputField must not handle this -> the webpage (and in the
webpage the used edit field ) should handle this.
After I entered a string with the length of 41 in a edit field with
maxlength of 40, I am not able to read or see a text in this edit field with
more
than 40 characters. So I dont understand, how Webtest can read a text with
41 characters out of this edit field. Thats my problem.

Do you understand?


-- 
Willi Kuhnis
wkuehnis@gmail.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------=_Part_27339_27630413.1199949061154
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi Marc,<br><br>thanks for your feedback.<br>you says, maybe it would make sense, when setInputField could (optionally) respect the maxlength.<br><br>But I still dont understand:<br>I think, setInputField must not handle this -&gt; the webpage (and in the webpage the used edit field ) should handle this.
<br>After I entered a string with the length of 41 in a edit field with maxlength of 40, I am not able to read or see a text in this edit field with more<br>than 40 characters. So I dont understand, how Webtest can read a text with 41 characters out of this edit field. Thats my problem.
<br><br>Do you understand?<br><br clear="all"><br>-- <br>Willi Kuhnis<br><a href="mailto:wkuehnis@gmail.com">wkuehnis@gmail.com</a><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------=_Part_27339_27630413.1199949061154--