Originally posted by rraghvani on May 23, 2025
The reasons for me, asking you to get a screen shot of the Object Browser/Object Spy tool in a new project, is so that I can see whether WPFObject is being recognised by TestComplete.
WPFObject is being recognised by TestComplete, as highlighted.This will indicate that there’s no issue with “Suddenly unable to find WPFObject”, as your title indicates. The next diagnosis, is then to look at your Name Mappings, hierarchy. If TC is not able to recognise the parent name mapping, neither of the child name mapping will be recognised. You will have to find the offending parent, and fix the name mapping! And finally, the wrong method could be generated to interact with the object.
This is similar to post Unable to access popup menu from MFC Ribbon Dropdown button | SmartBear Community . I would also suggest not to use Point and Fix or Self-Healing mode as it could ruin name mappings hierarchy!
I highly recommend you read through Object Identification, and Object Browser as it help you understand how TC works and to diagnose and fix issues.
Also, if you can, avoid using indexes i.e. “MENU|Connections|[4]” - replace [4] with the a string name instead. As indexes can change!
The “new” forum layout is not great at all!
