# When i send a key with a window applicationkatalon write in qwerty mode instead of azerty

**URL:** <https://forum.katalon.com/t/when-i-send-a-key-with-a-window-applicationkatalon-write-in-qwerty-mode-instead-of-azerty/141165>\
**Category:** Miscellaneous\
**Created:** [August 10, 2024, 5:35pm UTC](https://forum.katalon.com/t/when-i-send-a-key-with-a-window-applicationkatalon-write-in-qwerty-mode-instead-of-azerty/141165 "2024-08-10T17:35:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjarrot-ext](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/sjarrot-ext/32/23870_2.png) [@sjarrot-ext](https://forum.katalon.com/u/sjarrot-ext)\
**Post date:** [August 10, 2024, 5:35pm UTC](https://forum.katalon.com/t/when-i-send-a-key-with-a-window-applicationkatalon-write-in-qwerty-mode-instead-of-azerty/141165/1 "2024-08-10T17:35:29Z")

</div>

When i send that WebUI.sendKeys(findTestObject(null), ‘1234’) katalon write that in the application : 'à\_é  
what is the good configuration to send azerty dashboard for send keys?  
thanks for your help.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [August 10, 2024, 5:35pm UTC](https://forum.katalon.com/t/when-i-send-a-key-with-a-window-applicationkatalon-write-in-qwerty-mode-instead-of-azerty/141165/2 "2024-08-10T17:35:29Z")

</div>

Hi there,

Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.

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:** [August 11, 2024, 8:27am UTC](https://forum.katalon.com/t/when-i-send-a-key-with-a-window-applicationkatalon-write-in-qwerty-mode-instead-of-azerty/141165/3 "2024-08-11T08:27:01Z")

</div>

Hi @sjarrot-ext,

Thank you for sharing your issue. I would like to suggest the following steps to troubleshoot:

1. Ensure that the Windows system where Katalon is running is set to the AZERTY keyboard layout.
2. Go to `Control Panel > Region and Language > Keyboards and Languages` and ensure AZERTY is selected.
3. You can switch layouts by pressing `Alt + Shift` or `Windows + Space` (depending on your settings).

Please try and let me know if it works

---

<div class="post-metadata">

**Author:** ![depapp](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/depapp/32/29178_2.png) [@depapp](https://forum.katalon.com/u/depapp)\
**Post date:** [October 9, 2026, 9:22am UTC](https://forum.katalon.com/t/when-i-send-a-key-with-a-window-applicationkatalon-write-in-qwerty-mode-instead-of-azerty/141165/4 "2026-10-09T09:22:33Z")

</div>

hi @sjarrot-ext

‘1234’ coming out as 'à\_é is the classic sign that the keys are sent as virtual key codes, not characters. winappdriver presses the physical key for “1” and the app, running under an azerty layout, reads it as the unshifted & or à. switching the layout in the control panel does not help, it is the layout of the session where winappdriver runs that matters, and a mismatch in either direction gives you this.

two ways out. for text fields, use Windows.setText instead of sendKeys, it goes through the ui automation value pattern and never touches the keyboard, so the layout is irrelevant:

```groovy
Windows.setText(findWindowsObject('App/txtCode'), '1234')

```

if the field really needs key presses, put the text on the clipboard and send ctrl+v:

```groovy
import java.awt.Toolkit
import java.awt.datatransfer.StringSelection
Toolkit.getDefaultToolkit().getSystemClipboard().setContents(new StringSelection('1234'), null)
Windows.sendKeys(findWindowsObject('App/txtCode'), Keys.chord(Keys.CONTROL, 'v'))

```

ctrl+v is the same physical key on azerty and qwerty, so that one is safe.
