Hi,
Is anyone able to tell me whether it's possible to use the WinForms CodedUI Extension for Coded UI Testing with Visual Studio 2013?
Thanks.
Visual Studio 2010 SP1 and/or 2012 are required for the Coded UI Test Extension.
VS 2013 is compatible with Infragistics 2013 volume 2 and later but does not include a CUIT assembly for VS 2013. The Infragistics installer checks for each version of Visual Studio installed and places a registry entry. So the short answer is no but may work if VS 2012 is installed. Do you have Visual Studio 2012 installed on your development machine? If so, I recommend testing this to see if it works. Let me know what happens.
I did not have VS2012 installed so I did the following steps.
Uninstalled Infragistics Coded UI Extension.
Installed VS2012
Installed Infragistics Coded UI Extension (After this I had the Infragistics4.Win.CodedUITest.UIA.VS11.v13.2.dll in Program Files which I did not have before)
I was able to use VS2012 to create a simple CUIT using Infragistics toolbar & grid controls. The test could be run successfully.
When creating the CUIT Project in VS2012 the reference to Infragistics4.Win.CodedUITest.UIA.VS11.v13.2 was added automatically.
I then opened the solution in VS2013 but the test I had created in VS2012 was not detected in test explorer.
I then created a new CUIT Project using VS2013.
The reference to the Coded UI Test Extension was not added automatically.
I added the reference and recorded a similar test but was not able to successfully run the test.
When comparing the test created in VS 2012 & VS 2013 there is a difference in the variable declarations in the UIMap.
e.g. In VS2012 the toolbar button is UltraUiaMenuItem but in VS2013 it is WinMenuItem/WinMenu
In VS2012 the grid cell for editing is UltraUiaEdit but in VS2013 it is WinEdit
So it looks like this does not currently work with VS013.
Do you know whether there is a plan to release CUIT extension that will work with VS2013?
We currently do not have an ETA for this nor do we have any scheduled development planned for this to be implemented. For more information regarding system requirements please visit the following documentation page.
http://help.infragistics.com/Doc/WinForms/Current/CLR4.0/?page=Coded_UI_Test_Extension_Overview.html