11 years ago
TC10: Need assistance with UTF-8 characters in keyword tests
Have been using Selenium 1.x for years, and part of that was for performing functional tests on a web client in multiple languages. The UTF-8 characters and tests in Selenium has alway been seamless and easy to use.
I'm currently switching all of my web app testing to TestComplete (TC) and just started attempting to create keyword tests. I'm having problems getting the actual UTF-8 characters to work correctly in the keyword tests.
Any time that I attempt to use some UTF-8 characters (japanese, chinese, or korean), the following will occur...
I've set the "Units encoding" setting in Project / Properties / General Options, as mentioned in other Support articles.
I've added the languages in Windows / Control Panel / Clock, Language and Region / Display languages as mentioned in other Support articles.
I've added the appropriate languages through the Windows Update / Optional section, as mentioned in other Support articles.
SUPPORT: Please help with this issue as soon as possible. I'm disappointed that using UTF-8 characters has been so problematic with TestComplete. Your assistance will be greatly appreciated.
Regards.
I'm currently switching all of my web app testing to TestComplete (TC) and just started attempting to create keyword tests. I'm having problems getting the actual UTF-8 characters to work correctly in the keyword tests.
Any time that I attempt to use some UTF-8 characters (japanese, chinese, or korean), the following will occur...
The initial string in the TC interface shows the correct UTF-8 characters. For example, 测试 (chinese, the work 'test')
As soon as the initial entry of the string in the TC keyword tests is complete, viewing that string in the keyword test shows the characters "??" instead of "测试"
When I view the corresponding characters in the source file for the associated keyword test, the source file shows the "??" characters.
If I manually change the keyword test file by changing the "??" characters to "测试", the source file shows that the change was properly made. Reopening the keyword test file in TC and viewing the line with the UTF-8 characters shows that "??" is back in the string of UTF-8 characters.
I've set the "Units encoding" setting in Project / Properties / General Options, as mentioned in other Support articles.
I've added the languages in Windows / Control Panel / Clock, Language and Region / Display languages as mentioned in other Support articles.
I've added the appropriate languages through the Windows Update / Optional section, as mentioned in other Support articles.
SUPPORT: Please help with this issue as soon as possible. I'm disappointed that using UTF-8 characters has been so problematic with TestComplete. Your assistance will be greatly appreciated.
Regards.