Desktop test - language

Hi,

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 ?

Thanks

1 Like

Hi @yugara,

Welcome to our community. It’s glad to hear from you.

As KS defaults to an English (QWERTY) keyboard layout, even if your system is set to French (AZERTY). I find a similar discussion here: Change Keyboard language through katalon studio - #9 by basore9216. Please take a look!

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:

Windows.sendKeys(findTestObject('YourTextField'), Keys.chord("a", "z", "e", "r", "t", "y"))

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:

  1. Press Windows + Space and select French (AZERTY).
  2. 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

Thanks for your response!

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.

Thanks again for your answer!

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).

Thanks again!

1 Like

It is glad to hear that you have solved your problem. Happy testing!