cancel
Showing results for 
Search instead for 
Did you mean: 

how to disable the run result for test complete?

Occasional Contributor

how to disable the run result for test complete?

for example i have few lines of code which i know that it will run fine and i don't want result also just to get application to that position i am doing that.

 

thanks

bhaskar

2 REPLIES 2
Community Hero

Re: how to disable the run result for test complete?

Go into the options/settings panel.

 

There are options in there to stop it displaying the result automatically on completion and also to reduce the number of historic results stored.

 

Standard stuff .... https://support.smartbear.com/testcomplete/docs/testing-with/log/window/options.html

Community Hero

Re: how to disable the run result for test complete?

If you set Log.Enabled = false then there will not be any posted into the Test log.

 

Once you set the Log.Enabled = true then all logs will posted in the Test log.

 

Example:

 

Log.Enabled = false

if(Object.Exists) 
{
      Object.Keys("Test");
}

Log.Enabled = true

Log.Message("Passed")

For more details on this you can refer here


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”


Extension Available

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors