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!
Hi Fulge,
Can you tell me whether you have resolved above issue ?
As I am using UFT 12 and getting same issue. I am using trial version of TestAutomation_WinForms_HP_20141.msi.Please let me know if you know any steps to resolve this issue.
Thanks
Prasad
Prasad,
Is the application using Infragistics 2014 Volume 1 controls or a different volume? If the volume is different then you will need to get the volume of TestAutomation/TestAdvantage that matches from the archived downloads page.
If you are using 2014 Volume 1, what is the exact error that you are seeing?
Let me know if you have any questions with this matter.
You may also want to use Process Explorer on your application to see what Infragistics assemblies are loaded. If you provide us with the list of assemblies it may help us identify what the cause may be as well.
Let us know if you have any questions.
Hello ,
The most common reason for this exception is that UFT could not find any build matching the major and minor version numbers. Without knowing which exactly version of NetAdvantage you are using I suggest you to copy NetAdvanatge assemblies into the bin folder of the UFT.
I hope that this will helps you.
Hi Alan,
I don't which version I am using. I was trying to test application which is having control as "Infragistics.Win.". I am using Win 7 (64 bit), UFT 12.
When I am trying to identify objects without installation of "TestAutomation_WinForms_HP_20141.msi"(Trial Version), it shows that object as swfObject.
but if I have done installation the above specified file, object identified as swfButton.
Recording part works correctly, when I am trying to execute the script. I am getting below error
Could not load file or assembly 'Infragistics.Win, Version=14.1.20141.9000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified.
Line (121): "SwfWindow("Spear on Staging").SwfWindow("Series: New1").SwfButton("Login").Click
Please Help me to resolve this. If the objects will get identified correctly then we will buy the licenses.Thanks,Prasad