Forum Discussion
The coordinates seems to be fine, as it is poiting exactly to where I dropped (I double checked). Any other idea?
When you use TestComplete object spy, what do you see at the point where you dropped? It's possible that TestComplete is not finding anything there, actually, hence the message... it's simply reporting 'nothing found' at the co-ordinates.
Now, it COULD very well be that it's the Windows Security popup that you're attempting to do something with. It may be a fail safe to prevent, exactly, what you're trying to do.. obtain the data entry field for the password or some other component... to prevent hackers running scripts.
Does the same code work with other objects other than Windows Security?
- leonardopscruz7 years agoNew Contributor
"When you use TestComplete object spy, what do you see at the point where you dropped? "
When I utilize the Object Spy of my custom app (which is utilizing the method I mentioned above), then nothing happens as the exception is thrown. If I insist, then the Windows Security popup freezes.
When I utilize the Object Spy from TestComplete IDE (I mean, by clicking the button at top of TestComplete software when editing a project), and then drop the target into same Windows Security screen, then the red square blinks around the object and it is correcntly recnognized. So, it works.
"Does the same code work with other objects other than Windows Security?"
Yes. My code is working with everything else. Also, I must say that the issue is happening only with the Windows Security popup that is raised by Microsoft Outlook. So, when opening my Outlook, then the popup is opened to insert credentials and that popup is the one I cant spy. However, if I open any other software which prompts the Windows Security popup, then it works.
So, as it works with another Windows Security popups I'm not sure the reason would be security. And I know it makes the problem even harder to overcome...
Does TestComplete ObjectFromPoint method logs anywhere when it fails? I tried Windows Events Log but found nothing there.