Forum Discussion
Kitt
3 years agoRegular Contributor
Unfortunately, for now you have to add an OnWarning Event Control. Here's there script I use:
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;
}
}
This is a known issue and I've seen a few recent posts regarding this topic, so hopefully it get's updated soon.
- tvklovesu3 years agoFrequent Contributor
Thanks for the code. This hides the warning messages, but as you mentioned this is not a permanent fix. I will wait for the fix. I can also uncheck the warning box in the test log report.
Thanks
Related Content
- 12 months ago