The issue is occurs due the CustomBridge.dll is loaded in the .Net 2 CLR. When this assembly tries to load your .Net 4 assemblies it fails since it is trying to load a .Net 4 assembly in the .Net 2 CLR. Due to this the QTP doesn’t play back for 4.0 frame work application. We can resolve this issue using the following workaround. Please follow the following steps.
Please download the new QtComFactoryU.dll from the below link and replace the old QtComFactoryU.dll in the HP QTP installation location “<install location>HP/Quick Test Profession/bin” with the new QtComFactoryU.dll.
Open the registry and search the string “QtComFactoryU.dll “.You can find the 5 distinct keys with this string.
For each such key, we need to modify the “RuntimeVersion” value. Right click on “RuntimeVersion”. Then click the modify option and replace the existing “v1.1.4322” with the string “v4.0.30319”.
Now close all QTP related application properly and restart the system and now run the HP QTP. Now you can able to record and play back the 4.0 frame work application in HP QTP 11.
Hi Rajannaidu Menda,
Thank you for using Syncfusion Products.
Check whether the files in C:\Program Files\Syncfusion\Essential QTP\10.1.0.44\bin are updated for 32 bit & 64 bit operating system.
The files in C:\Program Files\Syncfusion\Essential QTP\10.1.0.44\bin for 32 bit & 64 bit operating system are similar. So no need to update for both.
To identify to pick the right swfconfig.xml file from C:\Program Files\Syncfusion\Essential QTP\10.1.0.44\Config
We have separate tool to configure swfconfig.Xml for QTP.
Please refer the following links:
Please let me know if you have any concerns.