01-17-2014 09:11 AM
We have QTP 11 installed and we recently upgraded to .NET framework. We are running QTP against a WPF environment. QTP is not recognizing a LIST object. We have a "Policy Menu" which is identified as a WPFList. This list is sort of a bucket for submenus which are created as list objects. In order to select the proper list item, we are using the select method,however, at runtime, it is not opening the respoective policy menu item screen. The only thing that changed in the application that is being tested is how we present the "sub menus". They used to look like buttons but now they were changed to look like a link. We have changed the font and the colors around it but the object type has not changed. QTP used to see it as a WPFButton and we used to use the click method to select the sub menu but now QTP is only recognizing the outside list as "WPFList" and not selecting any of the sub menu items.
We have the following patches installed:
QTP_0069, QTP 00709, QTPNET_00062, QTPWEB_00078, QTPNET_00113, QTPNET_00116, QTP_00925, QTPNET_00127, and QTPNET_00120.
01-17-2014 09:55 AM
•If you want to work with .NET 4.0, it is best to install it before you install QuickTest. If you install .NET 4.0 after you install QuickTest, you must manually register two .NET DLLs as follows:
In <QuickTest installation folder>\GlobalAssemblyCache\Net4, execute the following commands:
•..\..\bin\GACRegUtil4x86.exe -i Mercury.QTP.Agent.dll
•..\..\bin\GACRegUtil4x86.exe -i Mercury.QTP.WpfAgent.dll
This fix may also work for you for .NET 4.5 installed after QTP. However. .NET 4.5 is not listed in the Product Availability Matrix for QTP 11.0 as a supported product.
(Opinions expressed in my postings are mine alone, and do not reflect the opinions of my employer.No warranties express or implied for any solution/suggestion posted.)
01-20-2014 05:38 AM
By any chance is there any support HP gives as hotfix for resolving these .Net 4.5 compatibility issues. Or any patches expected in the near furture.