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.
Setting Value of input with maxlength
Hi,
I have been mostly using Sahi with Firefox. One thing that I am doing is setting a value of a textbox that is longer than the maxlength of the element. I then verify that the data had been truncated. It works on FF.
However, in IE7, I do this and no matter what the maxlength of the item is, IE allows as many characters as I want. So, if the element is limited to 10 chars and I enter 11, 11 characters show up in the element.
Is there a way I can get around this using Sahi, or is this just an IE quirk that I'll have to put up with?
Thanks,
Tim
I have been mostly using Sahi with Firefox. One thing that I am doing is setting a value of a textbox that is longer than the maxlength of the element. I then verify that the data had been truncated. It works on FF.
However, in IE7, I do this and no matter what the maxlength of the item is, IE allows as many characters as I want. So, if the element is limited to 10 chars and I enter 11, 11 characters show up in the element.
Is there a way I can get around this using Sahi, or is this just an IE quirk that I'll have to put up with?
Thanks,
Tim
Comments
This is a known bug right now. We haven't looked at this for some time now, but I will look at it and see if this can be fixed. Thanks for bringing to our notice again.