Forum Discussion

jaschong's avatar
jaschong
Occasional Contributor
5 years ago
Solved

TestComplete German Language

My Europe counterpart has been using German language at her laptop while performing TestComplete KeywordTest recording. She saved a string variable which consist of single quote and backslash.

The test failed due to the single quote and backslash had become something else (different symbol) while playing back the test item.

The test execution only returned the expected single quote and backslash if she changed her laptop language to English.

However, her other string variable became something else since the English keyboard returns different character compared to German keyboard character, and the test failed too.

Can TestComplete switch the language (not the script language) according to the current keyboard language?

If not, what would be the workaround?

  • Hi,

     

    Try to read the documentation for .SetLocaleInfo() and .SetKeyboardLayout() methods of the aqEnvironment object.

    Maybe they appear to be relevant to your problem.

     

2 Replies

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    Try to read the documentation for .SetLocaleInfo() and .SetKeyboardLayout() methods of the aqEnvironment object.

    Maybe they appear to be relevant to your problem.