The following error occurred at runtime while attempting to find an UltraUIATable control in my application.
"Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Infragistics.Win.CodedUITest.UIA.v13.2.strings.resources" was correctly embedded or linked into assembly "Infragistics4.Win.CodedUITest.UIA.VS11.v13.2" at compile time, or that all the satellite assemblies required are loadable and fully signed."
I was trying to follow the link below: http://help.infragistics.com/Help/Doc/WinForms/2012.2/CLR4.0/html/Using_the_Coded_UI_Test_Extension.html
Hi Rexon,
Thank you for contacting Infragistics Developer Support.
Can you please make sure that the “Infragistics.Win.CodedUITest.UIA.v13.2” assembly is installed in the GAC? Also please make sure that you are using the latest service release of 13.2. You can download the latest service release by following this link:
http://es.infragistics.com/community/forums/t/29398.aspx
Have you installed the full Visual Studio 2012 or only the test agents? Also please make sure that the
“HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\11.0\TeamTest\UITest\UITestExtensionPackages\Infragistics.CodedUI.WinAssemblies.20132”
registry key exists on your machine.
I am looking forward to your reply.
Hi Dimitar,
First of all thank you for your response. I verified that the latest and correct version of the “Infragistics.Win.CodedUITest.UIA.v13.2” assembly has been installed for the latest service from the link you provided. I also verified that it has been registered in the GAC. I have Visual Studio 2012 Premium Installed.
The only difference I found was the entry in the registry. It was located @
“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\11.0\TeamTest\UITest\UITestExtensionPackages\Infragistics.CodedUI.WinAssemblies.20132”
This did not fix the problem. We are still getting the Target Invocation Exception.
On a side note when we try to do a record of a CodedUI test on a Infragistics Grid it still recognizes it has a WinTable instead of UltraUiaTable
Sample Code:
WinTable uIDriverSummaryTable = this.UIODSeClientWindow.UIDriversWindow.UIDriversClient.UIDriverSummaryTable;
instead of
UltraUiaTable uIDriverSummaryTable = this.UIODSeClientWindow.UIDriversWindow.UIDriversClient.UIDriverSummaryTable;
Thanks,
Rexon
Hi Vered,What version of CodedUI are you using? What is the version of Visual Studio that you are using? Is the CodedUI dll correctly installed in the GAC? Does the registry key I have mentioned in my initial reply (HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\11.0\TeamTest\UITest\UITestExtensionPackages\Infragistics.CodedUI.WinAssemblies.20132) exist on your machine? Also can you provide us with a sample that reproduces this issue? I am looking forward to hearing from you.
I am using visual studio ultimate 2013 - Version 12.0.30723.00 Update 3.
.NET framework - 4.5
The registry key exists as - Infragistics.CodedUI.WinAssemblies.20161 on the path you described.
I am just recording (with the Coded UI Test Builder) simple actions on the UltraUiaComboBox. but it falls on the simple decleration at the beginning on the code:
UltraUiaComboBox uIP_PatientIDComboBox = new UltraUiaComboBox( );
The Coded UI Test Builder doesnt recognize the combobox as - UltraUiaComboBox, it is WinComboBox with MSAA technology.
Please help me!!!!
Hi Vered,Thank you for the reply.Does that issue happen on a specific application or on any application that you test? I have also asked our development team for assistance on this and I will get back to you as soon as I have more information from them.
It happens in any application. I created a simple winform app with only one UltraComboEditor and the Coded UI test builder still doesnt recognize it as UltraComboEditor and I still get the above error.
The Infragistics4.Win.CodedUITest.UIA.VS12.v16.1 is attached to the project references when I open a new CodedUI project.
I am looking forward to hearing from you!
Vered
Hello Vered,If the CodedUITestBuilder is recognizing our control as a WinComboBox, then it sounds like the plugin for the specific version does not exist, or is installed as a trial. What is the version of Infragistics controls the AUT (Application Under Test) is using? Does it match with the CodedUI version? Also have you installed the product as trial? If you have then this will not be working correctly since CodedUI is not supported with trial versions.Let me know if you have any additional questions.