Can't spy an object inside Windows Security popup
I have an application that is utilizing TestComplete to Spy Objects. The Spy functionality works with any window, except the "Windows Security". When we try to Spy any object inside that window, then an excetion is thrown. I realized it happens when my code is calling for the ObjectFromPoint method (https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/desktop/objectfrompoint-method-desktop-object.html) . The line from my code where error is raised is like this:
obj = Sys.Desktop.ObjectFromPoint(px, py, true);
The message we get is the one as bellow:
Here are the version of softwares I'm utilizing:
SmartBear TestComplete 11 - Version 11.31.2420.7
SmartBear TestExecute 11 - Version 11.31.2420.11
As it is a problem with TestComplete, then I'm not being able to overcome this issue on my app. Can someone please help?