Forum Discussion

lleppert's avatar
lleppert
Contributor
9 years ago

Is there a way to turn off object recognition hint in TestComplete12?

Hello,   We just updated to TestComplete12 and after our lab run we noticed we had about a dozen of our tests start spitting out warnings for "Object Recognition Hints". These tests were not failin...
  • wcach's avatar
    9 years ago

    Hello,

     

    We haven't found an option to turn off this new feature.

    If this helps, we are blocking the warning via the Events/GeneralEvents/OnLogWarning:

     

    Sub GeneralEvents_OnLogWarning(Sender, LogParams)

    ' Block the warning "An object recognition hint" from TC12

    If LogParams.MessageText = "An object recognition hint. See Additional Information for details." Then

    LogParams.Locked = True

    End If

    End Sub

     

    Regards