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 failing before the update, and in fact move past the hint and complete successfully.
I tried clicking 'Update' but it just said that the property was not found in Name Mapping and then gives me an 'Invalid variant type' error. Is there a way to simply turn this feature off or possibly ignore the warning as you can with ambiguous warnings?
Thanks in advance.
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