Forum Discussion

mooitc's avatar
mooitc
Occasional Contributor
3 years ago
Solved

TC "Log Message" with "Code Expression"

Hi,

a log entry with Log.Message works very easy.
...
If (Project.Variables.ExtendedDebug = "true")Then Call Log.Message("Debug: " + Project.Variables.ExtendedDebug + ";" + "ProjectSuite.ConfigPath: " + ProjectSuite.ConfigPath + ";")
...

but if I use Log Message with "Code Expression" then only an empty line appears in the log.

Is this normal or do I have a thinking error?

  • For VBScript, the syntax will be

    "Debug: " & Project.Variables.ExtendedDebug & "; " & "ProjectSuite.ConfigPath: " & ProjectSuite.ConfigPath & ";"

    Do not use +