The app we’re testing is in french and the message report we put at TC level is in code on katalon but we write error message and comment in code in French too. ex : (WS.comment(“frenchtextwithàéorèsymbols”)
I suppose, this is running on your develipment machine, which have the localization set to French.
When running with KRE i suppose you run it on another machine? So you will have to set that also to French.
The issue is caused by characters encoding like é
No, for now we didn’t implement yet KRE on another machine, we run the TS on the same machine KRE and KatalonStudio but we got different results on HTML report.
Mhm … with docker on natively?
If second, what is the OS you use?
Could be, KRE (or your terminal in use) it is not aware of the localization settings.
You certainly have a string “Résultat recherché : Le client-id utilisé ne correspond pas à celui de l’application” somewhere.
Where is it originally?
Is that string hard-coded in a Test Case script?
Is that string is written in a property of a Test Case configuration in Katalon Studio GUI somewhere?
Is that string contained in some external text file?
Could you take a screenshot and share it here so that we could see where that string is written.
Please tell us in which character encoding the string “Résultat recherché : Le client-id utilisé ne correspond pas à celui de l’application” is saved? Are you aware of it or not? Is the encoding utf-8 or not?
The katalon.ini file is located at /Applications/Katalon Studio.app/Contents/Eclipse on my Mac. On Windows? I don’t know. Please check the folder you installed Katalon Studio.
So, Katalon Studio works with -Dfile.encoding=utf-8 and, as you reported, it works fine without any Internationalization (I18N) problem.
Then how about KRE?
I don’t have a license of KRE, so that I can not check it. Please find the katalon.ini file of your KRE installation and check if -Dfile.encoding=utf-8 is there or not.
I guess, there isn’t. If the System property file.encoding is not explicitly specified, the Open JDK would use iso8859-01 = US ASCII, not UTF-8. Therefore you got an I18N problem of KRE.