ekiza23
11 years agoContributor
Watch List and Spy Object have problems displaying ÚNICODE that can confuse when debugging.
Watch List will display unicode characters incorrectly. I discovered this when debugging some code that had strings with the UNICODE for GREATER THAN OR EQUAL TO.
Spy Object has this problem too.
In the Logs, it would display this character correctly correctly, when read from on-screen objects. The object spy, though was rendering it as "=". So was the watchlist.
To demonstrate this, put a breakpoint on the Log.Message statement below and Watch the "str" variable. Then continue with the test and inspect the test log.
Sub Test
str = ChrW("8805")
Log.Message(str)
End Sub
Reported on TestComplete 9.31.3889.7
Spy Object has this problem too.
In the Logs, it would display this character correctly correctly, when read from on-screen objects. The object spy, though was rendering it as "=". So was the watchlist.
To demonstrate this, put a breakpoint on the Log.Message statement below and Watch the "str" variable. Then continue with the test and inspect the test log.
Sub Test
str = ChrW("8805")
Log.Message(str)
End Sub
Reported on TestComplete 9.31.3889.7