QTP support tip: QTP unable to identify WPFobject until spy is used on AUT
There are some scenarios where QTP 11 is unable to find the objects in WPF applications, However, if you use Object spy on the AUT first and then try on the WPFobject again it works.
If AUT is restarted, the problem occurs again and is necessary to use Object spy on the AUT window to make it work again.
This particular behavior was fixed on Hotfix QTPNET_00167
If you find that this or any post resolves your issue, mark it as an accepted solution.
Note: The Opinions expressed in my post are mine alone, and do not reflect the opinions of my employer. No warranties express or implied for any answered posted.