Forum Discussion

jjorissen's avatar
jjorissen
Occasional Contributor
9 years ago
Solved

Expected error logs show success logs without any events instead, how come?

Hi, I've got 2 different project suites in TestComplete 11, with multiple scripts inside each. When running tests/scripts in project suite 1, I get the correct success & error logs as expected, wit...
  • jjorissen's avatar
    9 years ago

    After some more investigation, the reason was quite simple...

    Project suite 1 had 2 common functions (unit); in the first one I set 'Log.enabled = false;' - in the second one I set 'Log.enabled = true;'

    Project suite 2 re-used the first common function, so only 'Log.enabled = false;' was executed there...

    Problem solved.

    Topic can be closed!