Micro Focus QTP (UFT) Forums
Issue in QTP WPF - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Issue in QTP WPF (/Thread-Issue-in-QTP-WPF)



Issue in QTP WPF - vimal_selvam - 11-19-2009

Hi,

I'm automating WPF application using QTP9.5. I'm not able to identify the object inside the WPFWindow. I've installed WPF and .net addins in QTP9.5. When I am trying to record or spy only WPF window is getting captured in the OR.
PFB screenshots of application and Object spy.

Regards,
Vimal


RE: Issue in QTP WPF - v_selvam - 11-24-2009

did you installed correct .Net framework?


RE: Issue in QTP WPF - sreekanth chilam - 11-24-2009

Hi ,

Fyi, QuickTest Professional .NET Add-in supports .NET Framework 1.1, 2.0, 3.0, and 3.5.

When you spy on a WPF object using the Object Spy (or the .NET Windows Forms Spy when the .NET Add-in is loaded), and the Record and Run settings are not set up to record on the WPF application on which you are spying, QuickTest recognizes the object as a Standard Windows object.
Workaround: Close your WPF application. In QuickTest, open the Record and Run Settings dialog box (Automation > Record and Run Settings) and in the Windows Application tab, select the Record and run test on any Windows application option. Reopen your WPF application and then spy on it again.

Try it out & do let us know the followup.


RE: Issue in QTP WPF - anuroopa - 02-23-2011

I have the same issue with QTP 10.0 and .NET and WPF add-in installed. The workaround given doesn't work.


RE: Issue in QTP WPF - anuroopa - 08-10-2011

The issue was resolved when I load all the following Add-ins (not just WPF):
.NET
Web
Web services
WPF
Java


RE: Issue in QTP WPF - rateebhatt - 06-26-2018

(08-10-2011, 11:10 PM)anuroopa Wrote: The issue was resolved when I load all the following Add-ins (not just WPF):
.NET
Web
Web services
WPF
Java

this helped me also, when we load all add-ins it works