UI Spy misreporting the UI heirarchy for our App.
If I use the parent windows AutomationElement and use the Findfirst() method using the NameProperty as a condition, the findfirst method never returns. It doesn't crash or return null either, it just runs indefinitely. (I let it sit there overnight once.)
Here's the odd thing: If the application is NOT the foreground application, the TreeWalker CAN navigate to the row(s) and work with them as expected. And FindFirst can too. Anyone have any ideas?
Here's my code - seems pretty simple:
AutomationElement LTGrid = TW.GetFirstChild(AUTWindow); // Gets Table element
LTGrid = TW.GetFirstChild(LTGrid); // Should get first row of Table (does not)

