SendKeys is not working correctly
See original GitHub issueDevice: Surface Pro AppType: Desktop App Server version: tried on both 1.1.1 and 1.2.0 Client: Java
When I use sendkeys to send a text that contains normal and capitalized characters, all the capitalized characters after the first will be the same as the first. E.g:
DemoAccount
will be typed asDemoDccount
abcdefghABCDEFGH
>abcdefghAAAAAAAA
Even if I use sendkeys on another element, this still occurs. E.g: send Abcdef
on element1, then on element2 sends GHIJKabc
, the text on element2 will be AAAAAabc
Issue Analytics
- State:
- Created 4 years ago
- Comments:10
Top Results From Across the Web
'sendKeys' are not working in Selenium WebDriver
Make sure element is in focus → try to click it first and enter a string. · If there is some animation for...
Read more >Selenium - sendKeys() not inserting value into textbox
If sendkeys() methods are not working then use following two ways to input text: Before sendkeys() use click() method to click inside ...
Read more >sendKeys() not working in Selenium Webdriver
If we encounter issues while working with the sendKeys method, then we can use the JavaScript Executor to input text within an edit...
Read more >SendKeys Is Not Working In Windows 10
I am creating a program in Visual Studio with C#. I want to send some keystrokes to another application running on my same...
Read more >Solution for sendkeys(CharSequence) in Selenium
1- Right click on project. SendKeys is not working in Selenium · 2- Click on Java Compiler to 1.5 or later. sendkey issue...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I tried this on a windows element (e.g: the text box in Run windows), and it doesn’t happen. This probably is a bug with Qt framework, I’ll debug to find out the problem.
For people who may also encounter this, my work around is to copy the text into clipboard and send
ctrl + v
(paste) instead.Java code:
The copy to clipboard workaround works very well when running on same machine.
For remote execution I came up with the following workaround which seems to work fine.