Forum Discussion

rachelle's avatar
rachelle
Contributor
14 years ago

Customize logging in Test Complete

Hi,



I am just wondering if there is a way to customize the logging result in TC. Since TC actually records all the actions performed on a test like clicking a button or typing in inputs. Is there a way where I can set that these small actions to be not recorded? Since when viewing test results users would like to see the successful logs of the major steps in the test rather than seeing the mouse clicks and typing of username/password inputs?

4 Replies

  • Hi,



    You can disable events by using the Log.LockEvents method (see the "Log.LockEvents" help topic). Also, if this doesn't suit your needs, you can simply filter all events out in the generated log (see the "Generic Test Log" help topic).
  • How do you set lock.lockevent via keyword test? I am not much familiar in script mode.
  • Hi,



    You need to use the Run Code Snippet operation (see the "Run Code Snippet Operation" help topic).