You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
What steps will reproduce the problem?
1. Set your Windows keyboard layout to German as default
2. Start a Internet Explorer Driver with both REQUIRE_WINDOW_FOCUS and NATIVE_EVENTS
enabled
3. Use sendKeys with "special" characters like '@', '[' or ']'
What is the expected output? What do you see instead?
Input: "@ [ ]"
Expected Output: "@ [ ]"
Actual Output: "q 8 9"
Selenium version: 2.32.0, 2.37.0
OS: Windows 7 Professional SP1 x64
Browser: Internet Explorer 8
==================================================
When using native events while require window focus is set to true, IE-Driver will
use SendInput rather than SendMessage API (according to http://jimevansmusic.blogspot.com/2013/01/revisiting-native-events-in-ie-driver.html)
It seems that IE Driver looks for the keyboard combination with the setted keyboard
layout (German), but inputs this combination with an English keyboard layout, or something
like that.
-> IE wants to type '['
-> IE wants to type the character with following combination: Alt Gr + 8
-> IE sends this key sequence: Alt Gr down, 8 down, 8 up, Alt Gr up
-> This does result in typing an '8' rather than the wanted '['
If we set our default keyboard layout to English, IE Driver types the correct characters.
This is also our temporary workaround.
A short Eclipse example project is attached - just add the referenced (but excluded)
library 'selenium-server-standalone-2.37.0.jar' to the build path.
Reported by markus.moeslinger on 2013-11-07 13:29:38
i can reproduce this issue by sending a backslash with german keyboard layout and require_window_focus
true with 2.39. result is a "ß".
without window focus it works
maybe similar to http://code.google.com/p/selenium/issues/detail?id=7108
Originally reported on Google Code with ID 6540
Reported by
markus.moeslinger
on 2013-11-07 13:29:38- _Attachment: [IEDriverKeyboardLayout.zip](https://storage.googleapis.com/google-code-attachments/selenium/issue-6540/comment-0/IEDriverKeyboardLayout.zip)_
The text was updated successfully, but these errors were encountered: