18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Maximum length of a edit box
Hi thr,
I just want to find out what is the maximum length of a edit box. Could anyone pls help on this.
thnx
I just want to find out what is the maximum length of a edit box. Could anyone pls help on this.
thnx
Comments
http://www.w3schools.com/tags/tag_input.asp says, there is a maxLength attribute. My controller states -1 on an example input field, but i think that means 'no limit'. So:
$element.maxLength()
Is this what you are looking for?
Regards
Wormi
Am looking how many cahrs tht the edit box allows. I have tried ur script in the following way. But i could not
_textarea("ctl00\$ContentPlaceHolder1\$agvMain\$ctl02\$txtDesc").maxLength;
Pls help on this
Thnx
this is the underlying JS but i see no way to get the maxlength.. well in this particular case you could read the element as Html and look for the onkeyup field and find the number 40