Hello,
I am currently using Test Advantage 2011 V2 along with HP UFT 14 (latest version). I observe that the scripts recorded earlier which worked fine are no longer working now. The Swf objects are not getting recognized during playback and when trying to record, the steps involving the Swf objects are not getting recorded. Please help.
Below is the error message I get when I try to play back the scripts I recorded earlier, which were working absolutely fine till this morning:
Could not load file or assembly 'Infragistics2.Win.v11.2, Version=11.2.20112.9000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified.
Function file: C:\Users\pvemuri\Documents\Unified Functional Testing\OLF_QTP_Trade.qflLine (3): "SwfWindow("TradeExplorer").SwfWindow("Olf.Desktop.Controls.DesktopPl").SwfObject("explorerBar").SelectItem "Trading","New Instrument"".
Thanks.
Hello David,
I'm currently looking into your question. I will get back to you as soon as I have an update.
Thank you,Mihoko Kamiishi
It turned out that this is a known issue of Test Advantage.
Although TestAdvantage refers to build 9000 in the error message, QTP knows to automatically look for the closest build on the machine. This error means it could not find any build matching the major and minor version numbers.To debug this error, you can use ProcessExplorer to verify that the DLLs are not being loaded. If they are not there, please try putting the NetAdvantage assemblies into the GAC or QTP’s bin directory.
Also, please note that HP UFT 14 is supported only for Test Advantage v17.1 or later. If you use HP UFT 14 with Test Advantage v11.2, it may lead to any unexpected results.
Supported Environmentshttps://www.infragistics.com/support/supported-environments
Hi David,
This is not really an issue with IG TestAutomation, but a matter of configuring IG TestAutomation with the version in your application. You are using TA 11.2 CLR 2, but is that the version of Infragistics controls in your application? It is recommended that you either confirm with your developer or use an application like Process Explorer to see the loaded assemblies in your application. For more information about configuring IG TestAutomation you can review the following:
About the SwfConfig Filehttps://www.infragistics.com/community/blogs/b/miketechspeak/posts/about-the-swfconfig-file
Webinar:How to Build Higher Quality Apps Through Testingwww.youtube.com/watch
Let me know if that helps,
Hi Mike,
Thank you for the response. I have gone through the link provided by you about the Swfconfig file. I am still unable to resolve the issues that are listed in the section 3 listed:
Throws an ‘Object doesn’t support this property or method’ or ‘Object doesn’t support this action’ exception. But the method or property exists in the intellisense for the object.
Object doesn't support this action
Please note that the same code passed earlier, but is failing now. I verified the contents of SwfConfig file and it seems all fine, with CLR 4.0 selected. The Dlls for Win Ultra grid also don't seem to point to invalid location(as I understand, but if there is something I need to consider, please let me know) Please help.
Thanks!