Forum Discussion
Kitt
3 years agoRegular Contributor
Can you share the exact version of TestComplete you are using (for the moderators)? In the event this is indeed a new feature you may want to post a new..new feature request to disable this in a future update [TestComplete Feature Requests]
For now you can just click the checkbox next to 'Warning' in your log and it will disappear. For a more permanent solution you could create a OnLogWarning Event handler to turn the log off during this warning, something like:
function EventControls_OnLogWarning(Sender, LogParams)
{
// Check if the message includes the desired substring
var locked = aqString.Find(LogParams.Str, "Improve your test performance");
if (locked != -1)
{
// If found, block the message
LogParams.Locked = true;
}
else
{
// Else, post the message
LogParams.Locked = false;
}
}
Related Content
- 2 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 6 days ago