|Keyboard layout not available when using typeText [message #500581]
||Thu, 26 November 2009 20:15
| Lewis Nguyen
Registered: November 2009
I needed to use typeText with a comboBox so I added the method in the SWTBot source code. When I use the method I get an error saying "java.lang.IllegalArgumentException: keyboard layout EN_CA not available."|
Following instructions from another thread, I used the command "setxkbmap us" and tried using SWTBotPreferences.KEYBOARD_LAYOUT = "EN_US" to change the layout but to no avail.
Using KeyboardLayoutDetector.detectKeyboard() still returns "EN_CA".
I don't want to define my own layout, I just want to use one that is already available.
This happens also when I use typeText for a text box.
I am using Ubuntu through VirtualBox. Does that affect the keyboard layout?
Powered by FUDForum
. Page generated in 0.18889 seconds