Forum Discussion

Emerson's avatar
Occasional Contributor
5 years ago

wnd.Keys("112") enters 1122 rather than 112

I have a script that should enter 112 into a text input field but instead it sometimes enter 1122.  Code looks like this: wnd.Keys("[BS][BS][BS]112[Enter]"); Sometimes it enters it correctly an...
  • tristaanogre's avatar
    5 years ago

    Alternatively, see if the SetText method is available on the component.  That will remove the need for using the backspace and enter.  Also, this appears to be a "stutter" problem that happens sometimes with highly active web pages with regards to keystrokes.