Does QTP/UFT support "Microsoft.Windows.Control" (one type of wpf control)? - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: Does QTP/UFT support "Microsoft.Windows.Control" (one type of wpf control)? (/Thread-Does-QTP-UFT-support-Microsoft-Windows-Control-one-type-of-wpf-control) |
Does QTP/UFT support "Microsoft.Windows.Control" (one type of wpf control)? - abhishikth12221 - 01-22-2014 Hello Folks, I have a challenge automating WPF Application in which they used new type of Wpf Data GridControl i.e "Microsoft.Windows.Control". We cannot access all the properties of this control(RowCount,GetCelldata). Can Anyone get this issue and provide me details of any patch that can resolve this issue? RE: Does QTP/UFT support "Microsoft.Windows.Control" (one type of wpf control)? - Maheep_bhambri - 01-22-2014 Hi Use WPF add-in for this Grid. Normal if you do not use WPF add-in, QTP will see WPF screens as SwfObject or winobjects . But with the WPF add-in you can get them as wpfwindow as well. Please use this below link to get better idea. I faced similar issue for .Net window app automation. At that time i used add in extensibility and my issue got resolved. http://h30499.www3.hp.com/t5/Unified-Functional-Testing/Added-extensibility-support-for-the-WPF-add-in-now-available/td-p/2406185 Please use this below link to get better idea. I faced similar issue for .Net window app automation. At that time i used add in extensibility and my issue got resolved. http://h30499.www3.hp.com/t5/Unified-Functional-Testing/Added-extensibility-support-for-the-WPF-add-in-now-available/td-p/2406185 RE: Does QTP/UFT support "Microsoft.Windows.Control" (one type of wpf control)? - abhishikth12221 - 01-22-2014 Thanks for your reply Maheep. I am using WPF Add-In. I am able to recognise Wpf Objects. Problem is with different types of wpf controls i.e. "System.Windows.Control" & "Microsoft.Windows.Control". QTP/UFT can retreive properties like "RowCount,GetCellData,Click Cell" etc. on former control but throwing "Object reference not set to instance of an object" exception for the latter control. So the problem is zeroed on QTP compatibilty of "Microsoft.Windows.Control" Any help in this direction/context would be appreciated. |