Hi,
I'm using QTP 11 and TestAdvantage 11.1CLR2.0
I'm trying to record a script, it seems to be able to record the objects, but when tryin to execute the script fails, its capable recognize the objects and highlight them but it will not interact with them, when trying to click on it will throw the Run Error window with:
"Could not load file or assembly 'Infragistic2.Win.v11.1, Version=11.1.20111.9000, Culture=neutral, PublickKeyToken=/dd%c' or one of its dependecies. The systema cannot find the file specified."
So this error ocurrs when trying to execute this line:
SwfWindow("1").Window("2").SwfObject("Control").SwfEdit("Location").RightClick
But the line
SwfWindow("1").Window("2").SwfObject("Control").SwfEdit("Location").Highlight
will work perfectly!
After looking on the C:\WINDOWS\ASSEMBLY directory I can see that there is no Infragistic file except the Infragistics.License Version 1.0.5005.10
Im completely new at this so I will appriciate any ideas on how to solve this or where else can I look for a solution.
Cheers!
Hello,
The reason that the newer version of TestAdvantage didn't work is that the version of TestAdvantage needs to match the version of NetAdvantage used in the application under test. There are more details on this in the following post:
https://es.infragistics.com/community/forums/f/test-automation-for-micro-focus-uft-windows-forms/45009/testadvantage-versions-support-in-netadvantage-versions/244385#244385
Let me know if you have any questions with this matter.
Hi, thanks...
This didn't help me, but what I found out is that I needed another version of TestAdvantage and that did the trick, once I had installed QTP didn't complain at all.
I had to install 8.2
Hi, I am having the same issue.
I found this resolution on this forum but it didn't fix my problem. Maybe it will for you?
HI all ,
I am getting the following error when i try to build my winforms application with ''Infragistics2.Win.UltraWinTree.v7.3' control. The said dll is there but it says the dll is missing.
This worked previously . U r help is appreciated.
Error 108 'Could not load file or assembly 'Infragistics2.Win.UltraWinTree.v7.3, Version=7.3.20073.1043, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. Invalid pointer (Exception from HRESULT: 0x80004003 (E_POINTER))' ~\LC Test
If you double-click on the error, does it take you to a line of code? Does it open the licx file?
Try deleting the contents of the licx file from your project.
If that does not help, make sure your project references for the Infragistics Assemblies are all the same version and that none of them have CopyLocal set to true.
If that still doesn't help, I'd try removing all of the Infragistics references (or at least the tree reference) and re-adding it.
Mike Saltzman
Windows Forms Development Team Lead
Infragistics, Inc.
Sometimes, the problem is not the actual dll VS is reporting. It may be the UltraWinTree or one of its dependences.
For instance, I have an application that uses the Infragistics Practices dll. If that dll is compiled with one version, say 6.3 and then the applicaiton that uses it has Infragistics 8.3 referenced, the compiler will complain of one of the Infragistics Win Forms dlls (i.e. ultrawintree) could not be loaded and will tell you that version 8.3 could not be found.
In other words, your problem is not the ultrawintree dll, but one of its dependences, check that and I think you'll find the problem.
Regards
Francisco