Community
Participate
Working Groups
The current keyboard layout configuration granularity is able to differ between different keyboard languages. But currently there is no support to adjust mappings for the same language on different operating systems: e.g. on a german keyboard layout configuration (de_DE) the '@' is realized by pressing "ctrl+alt+q" on a windows machine (see http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/tree/org.eclipse.jubula.autagent/resources/keyboardmapping_de_DE.properties?id=94f1ab81530db147c13326951d8ff1fe956489c1#n37) though on a Mac OS X machine "ctrl+alt+l" needs to be pressed. There are also more characters which are related to this, e.g. '{', '}' '|' ...
http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=0ea9a9d582e3229c94fbf54cc2f4f93697ba5042 implements the first step of this: Consolidating the Keyboard Layout information to the client (ITE, testexec) rather than having configuration in the client and mapping files in the server.
http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=4c6957a3d8f34fbe77a90fe2a1f43e8d9744fa3d changes the Keyboard Layout combo of the AUT Configuration dialog to include all available Keyboard Layouts (all "*.properties" files located in the "resources/keyboard_mappings" directory of org.eclipse.jubula.client.core and its fragments). This replaces the previous functionality of the combo, which displayed all Locales supported by the running JRE. Each Keyboard Layout file should conform to the Locale standard (<language>_<country>_<vairant>) because then it will be presented as the display name of the corresponding Locale. Otherwise, the filename (without the ".properties" extension) will be displayed.
Created attachment 201553 [details] Project to reproduce
I was not able to verify the fix using the attached project. Setting the language in the windows language bar to german and starting the AUT with german keyboard layout GUIdancer does not insert the right characters. However setting the windows language to english and starting the AUT with english keyboard layout the characters are inserted.
@Oliver: I also briefly experienced the problem as you described. The problem for me was that my Windows Keyboard Layout was being set per application, rather than for the entire desktop. I was changing the Layout to DE and then starting the AUT. However, when I clicked on the AUT's title bar, I noticed that the Windows Keyboard Layout for the AUT was actually EN! When I changed the Windows Keyboard Layout for the AUT as well, then the test ran through without any problems. Please give this a try and change the bug report status if necessary.
My problem was the switching of the windows language. Fix works, closing this ticket.