We have our application developed using Infragistics Controls and we are automating that using coded ui on Visual Studio 2010 premium RTM version.
We are unable to access certain Infragistics controls using Coded Ui Test Builder. It gets stuck when we try to use these control with coded ui's in built methods.
So my questions are:
1)do we need any infragistics extension to work on these controls or is there any hotfix to work on the controls?
(if yes to 1)
2)will that extension be compatible with VS 2010 premium RTM version?
3)will that extension be free or licensed(if licensed what is the cost?)
4) Does Visual Studio 2012,2013,2015 any of these come with built in support for Infragistics control or they all need licensed extension?
This is a blocker for us, we need to automate application with these controls. Kindly give all the prerequisites required to work.
Please find bellow answers to your questions:
You can also follow the next link to our online documentation for additional information about Infragistics Coded UI Extension http://help.infragistics.com/Help/Doc/WinForms/2016.1/CLR4.0/html/Coded_UI_Test_Extension_Overview.html#_Licensing_Requirements.
Please let me know if you have any further questions.
Sincerely,MilkoAssociate Software Developer
Thanks for your reply, kindly address few more queries:
1) We have Infragistic control with version 10.3 in our application. So which version of Infragistics should we install to get coded ui test extension.?
As we installed Net advantage of same version, but we didn't get any coded ui test extension dll in to path "C:\Program Files (x86)\Common Files\microsoft shared\VSTT\10.0\UITestExtensionPackages"
as suggested in article. "http://help.infragistics.com/Help/Doc/WinForms/2012.2/CLR4.0/html/Coded_UI_Test_Extension_Overview.html". Also the article says the support is available after NetAdvantage™ 2012.2. So may be that's why we can't see the extension.
Its very confusing.
Thank you for your feedback and additional information provided.
Yes, you are correct. Infragistics Coded UI Test Extension is available for Infragistics for Windows Forms 2012 Volume 2 and later versions as described at this article in our online documentation. So, if your application was built with version 10.3 you will not be able to use our extension for Coded UI.
What I can suggest you is try to upgrade to at least version 12.2.
Please let me know if you have any additional questions.
Thanks for your reply, but i tried to install the trial version of NetAdvantage 2013.1 and a coded UI Test Extension got added in my GAC.
Now after adding the reference to that dll, i was able to detect the control. But it caused another problem: my existing tests execution is having problem to be triggered.
I am receiving the following error:
Assembly Initialization method Automation.TestSuite.TestSuiteSetup.Initialize threw exception. Microsoft.VisualStudio.TestTools.UITest.Extension.InvalidUITestExtensionPackageException: Microsoft.VisualStudio.TestTools.UITest.Extension.InvalidUITestExtensionPackageException: Failure during load of Extension package. PackageName: NetAdvantage for Windows Forms Coded UI Test Extension, Version: 12.2, Vendor: Infragistics, LLC, Assembly: C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.CodedUITest.UIA.VS10.v13.1\v4.0_13.1.20131.1001__7dd5c3163f2cd0cb\Infragistics4.Win.CodedUITest.UIA.VS10.v13.1.dll. ---> System.MissingMethodException: Method not found: 'Void Microsoft.VisualStudio.TestTools.UITest.Extension.IUITestService.AddExtensionToCoreTechnologyMapping(System.String, System.String)'.. Aborting test execution.
Can you please throw some light on this error.
From the error text you send me it seems that your script is looking for Infragistics version 12.2 but it finds version 13.1. Also, in your last post you told me your application was built with version 10.3. So I am a little bit lost here. What I can suggest you is to install a licensed version of Infragistics for Windows Forms 12.2 or later. Then upgrade your solution to the version you have installed. Then try to run your existing tests. Also, try to record some new test from scratch and try to run them. For example you may follow the steps in this article from our online documentation http://help.infragistics.com/Help/Doc/WinForms/2016.1/CLR4.0/html/Using_the_Coded_UI_Test_Extension.html#_Record_and_Replay.
After you finish these tests please let me know what the results of them are.
Looking forward to your reply.