# Saved strings ("querty") change value in runtime, according to set keyboard language

**URL:** <https://forum.katalon.com/t/saved-strings-querty-change-value-in-runtime-according-to-set-keyboard-language/167337>\
**Category:** Bug Report\
**Tags:** desktop, windows, katalon-studio, bugs-report\
**Created:** [March 6, 2025, 2:23am UTC](https://forum.katalon.com/t/saved-strings-querty-change-value-in-runtime-according-to-set-keyboard-language/167337 "2025-03-06T02:23:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![veroS](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/veros/32/20464_2.png) [@veroS](https://forum.katalon.com/u/veroS)\
**Post date:** [March 6, 2025, 2:23am UTC](https://forum.katalon.com/t/saved-strings-querty-change-value-in-runtime-according-to-set-keyboard-language/167337/1 "2025-03-06T02:23:42Z")

</div>

\ ***Summary**  
When running Katalon with other keyboard language set than EN, STRINGS are interpreted which in my opinion should _NEVER_ happen!

\ ***Steps to reproduce**

- Set keyboard language to DE
- Create stings (directly in code, as GlobalVariable, as bound variable,…) like qwerty, qwertz, zzzz, yyyy
- Bring string to input filed via setText and sendKeys methods:

```auto
//SEND KEYS
def TO_EditUsername = findWindowsObject('Betaversion_AndTryOut/Login/Edit_Username')

//runtime: ayertz
Windows.sendKeys(TO_EditUsername, Keys.chord("a", "z", "e", "r", "t", "y")) 

//string in (global or local) variable = qwerty, typed in text = qwerz
Windows.sendKeys(TO_EditUsername, Keys.chord(GlobalVariable.USERNAME_ALLROLES_CORRECT)) 

//runtime: "yyyy, zzzz"
String username2 = "zzzz, yyyy"
Windows.sendKeys(TO_EditUsername, username2, FailureHandling.CONTINUE_ON_FAILURE)

//SET TEXT

//string in (global or local) variable = qwerty, typed in text = qwerz
Windows.setText(TO_EditUsername, GlobalVariable.USERNAME_ALLROLES_CORRECT, FailureHandling.CONTINUE_ON_FAILURE) 
Windows.setText(TO_EditUsername, "querty", FailureHandling.CONTINUE_ON_FAILURE)

//runtime: "yyyy, zzzz"
String username1 = "zzzz, yyyy"
Windows.setText(TO_EditUsername, username1, FailureHandling.CONTINUE_ON_FAILURE)

```

\ ***Expected Results**

- A String is a String, what ever is TYPED into the variable is sent in runtime exactly as it was typed and stored.  
**Whatever I write into a string should NEVER be manipulated by ANY outside settings. A string is a string is a string!**

\ ***Actual Results**

- This only works if the keyboard language is set ti EN, no matter what was written to the variable.

\ ***Screenshots / Videos**

 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/5/a/5a12654d9be5f27bd65697bd2ff7e9e44f11d784.png)

* * *

\ ***Operating System**  
Windows 10

\ ***Katalon Studio version**  
e.g. version 9.5.0

---

<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:** [March 7, 2025, 9:42am UTC](https://forum.katalon.com/t/saved-strings-querty-change-value-in-runtime-according-to-set-keyboard-language/167337/2 "2025-03-07T09:42:50Z")

</div>

Hi @veroS,

Thank you for letting us know about this. I will create the ticket for our team to investigate and update with you soon

---

<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:** [March 10, 2025, 2:25am UTC](https://forum.katalon.com/t/saved-strings-querty-change-value-in-runtime-according-to-set-keyboard-language/167337/4 "2025-03-10T02:25:48Z")

</div>

Hi @veroS,

I got the answer from my team that the limitation of WinAppDriver is that it only supports the English keyboard layout: [sendKeys applies QWERTY-Style on German Keyboard Setting · Issue #446 · microsoft/WinAppDriver · GitHub](https://github.com/Microsoft/WinAppDriver/issues/446).

Hope this can be clear to you.

---

<div class="post-metadata">

**Author:** ![veroS](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/veros/32/20464_2.png) [@veroS](https://forum.katalon.com/u/veroS)\
**Post date:** [March 10, 2025, 7:24am UTC](https://forum.katalon.com/t/saved-strings-querty-change-value-in-runtime-according-to-set-keyboard-language/167337/5 "2025-03-10T07:24:11Z")

</div>

Hi @Elly_Tran ! Thank you for your answer.  
It does not explain why a character stored in a variable is interpreted incorrectly at runtime. If I write a Z in a variable, it must remain a Z. The KeyStroke plays no role here. Or SHOULD not play a role here.

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [March 13, 2025, 11:45pm UTC](https://forum.katalon.com/t/saved-strings-querty-change-value-in-runtime-according-to-set-keyboard-language/167337/6 "2025-03-13T23:45:50Z")

</div>

> [@veroS](#):
>
> It does not explain why a character stored in a variable is interpreted incorrectly at runtime.

@veroS

I think that the GitHub issue which @Elly_Tran shared above does explain why.

> [@veroS](#):
>
> If I write a Z in a variable, it must remain a Z. The KeyStroke plays no role here. Or SHOULD not play a role here.

If you would like, you can contribute to the WinAppDriver project for the issue [sendKeys applies QWERTY-Style on German Keyboard Setting · Issue #446 · microsoft/WinAppDriver · GitHub](https://github.com/Microsoft/WinAppDriver/issues/446)

* * *

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [March 14, 2025, 9:15am UTC](https://forum.katalon.com/t/saved-strings-querty-change-value-in-runtime-according-to-set-keyboard-language/167337/7 "2025-03-14T09:15:37Z")

</div>

In the [sendKeys applies QWERTY-Style on German Keyboard Setting · Issue #446 · microsoft/WinAppDriver · GitHub](https://github.com/Microsoft/WinAppDriver/issues/446), 16 July 2024, raphaelAlma posted

> a colleague find a pretty good workaround, Use the Clipboard and past it into the element using keys (you still have to be sure of what is V) look like that, and it works
> 
> ```auto
> System.Windows.Forms.Clipboard.SetText("mytext");    
> windowsElement.SendKeys(Keys.LeftControl + "v");  
> 
> ```

This might work, though I haven’t tried the idea

---

<div class="post-metadata">

**Author:** ![nghi.phan](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/nghi.phan/32/30970_2.png) [@nghi.phan](https://forum.katalon.com/u/nghi.phan)\
**Post date:** [July 29, 2026, 3:35am UTC](https://forum.katalon.com/t/saved-strings-querty-change-value-in-runtime-according-to-set-keyboard-language/167337/8 "2026-07-29T03:35:49Z")

</div>

Can you try with version 11 to see if the issue still persist?

---

<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:** [August 13, 2026, 6:38am UTC](https://forum.katalon.com/t/saved-strings-querty-change-value-in-runtime-according-to-set-keyboard-language/167337/9 "2026-08-13T06:38:34Z")

</div>

> [@nghi.phan](#):
>
> Can you try with version 11 to see if the issue still persist?

can you confirm @veroS so we have the correct solution?

---

<div class="post-metadata">

**Author:** ![veroS](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/veros/32/20464_2.png) [@veroS](https://forum.katalon.com/u/veroS)\
**Post date:** [August 13, 2026, 9:19am UTC](https://forum.katalon.com/t/saved-strings-querty-change-value-in-runtime-according-to-set-keyboard-language/167337/11 "2026-08-13T09:19:04Z")

</div>

> [@veroS](#):
>
> sadly no. we stopped using katalon meanwhile. If we were to come back, this feature would be very important!

@depapp sadly no. we stopped using katalon meanwhile. If we were to come back, this feature would be very important!
