Forum Discussion

kanemeyer's avatar
kanemeyer
Occasional Contributor
9 years ago
Solved

Is there a way to disable passed checkpoints from logging?

I have a test that runs quite a few checkpoints and dont need it to post all the passed checkpoints to the log. is there a way to shut that off?
  • HKosova's avatar
    9 years ago

    You can create an event handler for the OnLogCheckpoint event to filter out unneeded messages. For example, to filter all passed checkpoint messages:

     

    // JScript

    // TODO: Make sure this function is bound to the OnLogCheckpoint event // in the Events project item function GeneralEvents_OnLogCheckpoint() { LogParams.Locked = true; }

    onlogcheckpoint.png