And when you look at whats been sent into the input is it greater then 33 
chars or is it suppressed. (i.e. b.text_field(:id => "text").value)
When you submit the form are you pushing the clipped string or the full 
string to the server.
Is there a maxlength and/or size attribute on the input?


On Monday, March 14, 2016 at 6:35:22 PM UTC-5, Damien Wood wrote:
>
> Hi, 
>
> I have an Angular front end and I am using Watir to test.
>
> One of the text fields 'First Name' has a max character length of 32. 
>
> When I try entering something with 33 characters manually, as you would 
> expect, it gets to 32 then stops me entering anything more. 
>
> However, if I use Watir to enter the text I can send it as many as I like. 
> It seems to totally ignore the maximum length of the field.
>
> On a related note I can also enter special characters, for example '!' in 
> the field which I cannot do manually using the keyboard. 
>
> Anyone come across anything like this?
>
> Cheers,
> Damo
>

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to