I’m new to katalon and I was trying some things. As i was trying desktop testing, i’ve noticed that the value entered during the test execution was not the one “asked for”.
I’m a french speaker so my keyboard is in an AZERTY configuration but when i launch the test, it writes as it was in a QWERTY configuration.
Would someone have any clue on why and how to prevent that ?
Otherwise, I also would like to suggest some workarounds here:
1. Simulate Key Events Instead of Typing Text
Instead of using WebUI.setText() or Windows.setText(), you can use keyboard keypress events that respect the system’s keyboard layout:
This ensures characters are entered as per your AZERTY layout.
2. Manually Switch the Keyboard Layout Before Running the Test
If Katalon still types as QWERTY, try switching the input method before launching your test:
Press Windows + Space and select French (AZERTY).
Open Katalon Studio and check if the test runs correctly.
To force Windows to keep AZERTY as the only layout:
Go to Settings > Time & Language > Language & Region.
Under Preferred languages, remove English (US) or any other conflicting layouts.
Hope these can help you. Please let me know if it works/not to you
I’ll gladly take a look at all those solutions thanks!
I did notice something with the text. If I put the message in all upper case (“VALUE : AZRTY” for example) , it was going to be written in accord with what i put.
Just tested the solution prosed in your link and it works (just have to be sure to either change it myself first or to do so it change once and only once cause if i run back the test than it change back to the other language ahah).