It's hard to know how to help without more information about what
"erratic behavior" is.

If it's a lot of text, you might try using `#set!` instead of `#set`.
it uses javascript instead of Selenium, and it verifies that the value
of the field matches what you passed into it.

On Sun, Oct 14, 2018 at 7:56 PM Sharat Oommen <[email protected]> wrote:
>
> Hi all,
> I have been facing this issue with watir where i havent been able to copy a 
> particular dataset into a text box effectively. Usually most websites support 
> excel sheet upload but in this particular case i have to copy paste the data 
> set into a textbox directly. It works fine when i manually do it however 
> while trying to automate it with watir i am finding eratic behaviour/ i tried 
> to use a combination of /t and /n in the string set passed to the textox but 
> it still doesnt help. Any help wrt this regard would be much appreciated.
>
> Thanks
>
> --
> --
> Before posting, please read 
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
> 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.

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
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