Ask a Question

Customize logging in Test Complete

rachelle
Contributor

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 4
YMinaev
Staff

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).
------
Yuri
TestComplete Customer Care Engineer

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
rachelle
Contributor

How do you set lock.lockevent via keyword test? I am not much familiar in script mode.
YMinaev
Staff

Hi,



You need to use the Run Code Snippet operation (see the "Run Code Snippet Operation" help topic).
------
Yuri
TestComplete Customer Care Engineer

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
rachelle
Contributor

thanks
cancel
Showing results for 
Search instead for 
Did you mean: