# Desktop test - language

**URL:** <https://forum.katalon.com/t/desktop-test-language/165178>\
**Category:** Miscellaneous\
**Tags:** desktop, katalon-studio\
**Created:** [February 14, 2025, 5:13pm UTC](https://forum.katalon.com/t/desktop-test-language/165178 "2025-02-14T17:13:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yugara](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/yugara/32/30174_2.png) [@yugara](https://forum.katalon.com/u/yugara)\
**Post date:** [February 14, 2025, 5:13pm UTC](https://forum.katalon.com/t/desktop-test-language/165178/1 "2025-02-14T17:13:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Elly\_Tran](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/elly_tran/32/21874_2.png) [@Elly\_Tran](https://forum.katalon.com/u/Elly_Tran)\
**Post date:** [February 17, 2025, 4:09am UTC](https://forum.katalon.com/t/desktop-test-language/165178/2 "2025-02-17T04:09:09Z")

</div>

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](http://forum.katalon.com/t/change-keyboard-language-through-katalon-studio/44616/9). 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:

```groovy
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

---

<div class="post-metadata">

**Author:** ![yugara](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/yugara/32/30174_2.png) [@yugara](https://forum.katalon.com/u/yugara)\
**Post date:** [February 17, 2025, 7:18am UTC](https://forum.katalon.com/t/desktop-test-language/165178/3 "2025-02-17T07:18:54Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![yugara](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/yugara/32/30174_2.png) [@yugara](https://forum.katalon.com/u/yugara)\
**Post date:** [February 17, 2025, 7:34am UTC](https://forum.katalon.com/t/desktop-test-language/165178/4 "2025-02-17T07:34:15Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Elly\_Tran](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/elly_tran/32/21874_2.png) [@Elly\_Tran](https://forum.katalon.com/u/Elly_Tran)\
**Post date:** [February 17, 2025, 9:04am UTC](https://forum.katalon.com/t/desktop-test-language/165178/5 "2025-02-17T09:04:42Z")

</div>

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