I like to prevent all logging automatically created by Test Complete. Suppose: If i use "Sys["Keys"]("[Enter]");" command, "Executing Keys" log will be created in Test Log. If I use the following coding when there is no MSIEXE (idx - 2), it will log this msg "Process not found."
var tO = Sys["Process"]("msiexec", 2);
Is there any way to show only the log msg that I created?
If you want to avoid the "Process not found" message posted to the Test Log panel, please use the Sys["WaitProcess"] method instead of the Sys["Process"]. Please refer to the "Sys.WaitProcess" Help topic to learn how you can use the method.
As for locking messages posted to the Test Log, there are the Log.LockEvents method and Options.Log.Enabled property. Please refer to TestComplete's Help system to learn more about them.