Forum Discussion

MW_Didata's avatar
MW_Didata
Super Contributor
9 months ago
Solved

Backticks in textboxes using the Keys command

Related to ticket from 2 years ago:  testcomplete-questions/testexecute-enters-in-textbox/247032 Somehow, during the test run when using Keys, sometimes a ` (backtick) is entered into the field. O...
  • MW_Didata's avatar
    2 months ago

    For those in the future that face the same problem here is how I fixed it:

    My keyboard language was set to "English (International)".
    Meaning to enter a backtick (`) you have to press it twice, same for quotes (").
    The press once is used to make special characters, ' + a = á etc.

    I think it might have been a windows bug where it whould register the key pressed once,
    even though it was never pressed.


    The fix is to set the keyboard language to "English (United States)".


    This fixed the issue by disabling the 2nd press needed to make the actual chars (`, ', ")
    but now I can no longer make á, é, í, ó, ú, ý or ä, ë, ï, ö, ü, ÿ etc.
    I can live with that tbh.