we are using RadGridView one column with checkbox:
<telerik:GridViewSelectColumn/>
Please see the image for for sample application.
Test case : Here i want to add assertion to CheckBox Column to check whether this checkbox checked or not.
CUIT thoroughgoing exception as soon in the image.
Please provide support to it.
Regards,
Rajendar.
33 Answers, 1 is accepted
The issue has been resolved and the fix is available in our official release - Q2 2013 SP1. Let me know in case you have troubles with it as well.
Maya
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>

Are you released telerik Q2 2013 SP1 ?
Regards,
Rajendar.
We have just released it. Check out this page for more information on the release notes for it.
Maya
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>

I have installed latest telerik version- 2013.2.0724 and checked it. it is not resolved.
Can you please recheck and provide a solution?
Regards,
Rajendar.
I have tested the case with the binaries from our current official release and everything works as expected. My test was checking and unchecking the checkboxes in GridViewSelectColumn. Is there anything more specific that you do ?
Maya
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>

i am curious here to know how it is working for you. Can please share source of sample application and CUIT test?.
I will check what can i do from my side.
Regards,
Rajendar.
I am attaching the two projects.
Maya
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>

Thanks for quick response
I ran CUIT test which you have provided on machine but it is till failing. May i know what version of Visual Studio 2010/12 SP1 or Update 3.....are you using?
Regards,
Rajendar.
I tested the case with Visual Studio 2012. However, your question made me check out the issue with Visual Studio 2010 and indeed, I got the exception you have as well. We have resolved it and if everything is ok after our QA-s test the behavior, the fix will be available in our internal build on Monday.
On a side note, such differences comes from the fact that Visual Studio 2010 and 2012 use different binaries for the Coded UI support (even for .Net 4.0 they are different for the two instances of Visual Studio). In VS 2010 binaries are located here:
- C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies
- 4.0 - C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ReferenceAssemblies\v4.0
- 4.5 - C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ReferenceAssemblies\v4.5
Maya
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>

I am using VS 2012 and installed Update 3 but i is not working on my machine and i have installed Q2 2013 SP 1 (version 2013.2.0724) but i an not seeing below dll Do i need to anything here.?
- VS 2012 crashes on creating Coded UI test project and Telerik.VisualStudio.TestTools.UITest.Extension.ExtensionsCore.dll is added in the required folder - \11.0\UITestExtensionPackages
Rajendar
Everything should be ok with VS 2012. Could you clarify what is crashing ? Can you add reference to the Telerik.VisualStudio.TestTools.UITest.Extension.ExtensionsCore.dll ? Isn't it added automatically when it is placed in C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\11.0\UITestExtensionPackages folder ? Which dll are you not seeing ?
Maya
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>

Yes I have added "Telerik.VisualStudio.TestTools.UITest.Extension.ExtensionsCore.dll" to the project which was sent by you. please see the image for error.
Regards,
Rajendar.
Could you clarify a bit more - are you working with .Net4.5 binaries ? What is the test you make - the same as the one from my project ? Did you add the ExtensionsCore assembly in the corresponding folder - C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\11.0\UITestExtensionPackages and in GAC ?
Maya
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>

Click action is working fine on the cell, but the following action is failing:
cellControl.Checked = true;
In winforms and wpf table controls if we have a cell with checkbox, CUIT is able to set Checked status to 'true'/'false' using above line of code. But in the RadGridView table we are facing the issue.
Regards,
Rajendar.
I have managed to reproduce the same behavior with Visual Studio 2012 and without having a reference to ExtensionsCore assembly in the Coded UI Test project. The good news is that we resolved the same issue yesterday and the fix will be available in our next internal build on Monday.
Please give it a try and let me know how it goes.
Maya
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>

From where i can get this updated telerik controls? when will you release it?
Regards,
Rajendar.
Our internal builds are usually released each Monday and can be found under your telerik account.
Maya
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>

I have updated telerik to "2013.2.805.45"
Here I want to validated Telerik Gride check box cell item is checked or not. when i add assertion on cell with CUIT, it is recognized as a custom control. In simple CUIT is not able to recognize check box in cell i.e <telerik:GridViewSelectColumn/>
Can you please provide access to it?
Regards,
Rajendar.
Will it be possible to provide a bit more details on your requirement ? Do you want to work directly with the CheckBox inside the cell of GridViewSelectColumn ? Or do you want that cell to be of specific type rather than "Custom"?
Maya
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>

Yes.
Do you want to work directly with the CheckBox inside the cell of GridViewSelectColumn ? --> Yes
when i add CUIt assertion on GridViewSelectColumn i want see Checked value as show in image.
Regards,
Rajendar.
Actually, you can verify the values of the properties of the CheckBox by directly accessing it. Do you have troubles finding the CheckBox-es ?
Maya
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>

Before your telerik fix, CUIT could identify Cell with CheckBox as Cell control and there is a property 'Checked' exposed on it.
Now, the Cell with CheckBox is identified as custom control and I could see no property with name 'Checked'.
Initially, we have posted this issue as we are not able to set the checkbox value on the cell control using CUIT as follows
cellUITestControl.Checked = true;
Now, the cell is no longer recognized as Cell type and also no property exposed on it to check whether a cell is checked or not.
Hope you have understood the requirement.
Let me know if you are still not clear.
Regards,
Rajendar.
Thank you for the clarifications. We have misunderstood your initial requirement. Can you please confirm whether you are using the Telerik.VisualStudio.TestTools.UITest.Extension.ExtensionsCore extensions assembly? This feature is not supported yet, as it goes in the level 4 support section. We will discuss the implementation of certain level 4 features in the future release. I will keep you in touch.
Regards,Ivan Ivanov
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>

Sorry for confusion.
Previously, before the fix we could identify the control as Cell and we were able to check whether the control is checked or not with the help of the property 'Checked'. But after your fix we are no longer able to see the property 'Checked' on the control
Could you please revert changes done for the checkbox fix?
Regards,
Rajendar.
You are right, with this changeset GridViewCell is no longer processed as a cell, but as a container that just exposes its inner element, so the Checked property no longer exist. We will do our best to revert it and make it work for all VS versions. However, may I ask you for some additional information about your environment, so that we any further misunderstanding could be avoided? I would like to know whether you are referencing the Telerik.VisualStudio.TestTools.UITest.Extension.ExtensionsCore assembly and which version of .Net you are currently using? As far as I can see from the previous communication with Maya, the utilized IDE is VS 2012.
Regards,Ivan Ivanov
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>

-->Telerik.VisualStudio.TestTools.UITest.Extension.ExtensionsCore.
Yes i am using it
We are using VS 2012
Regards,
Rajendar.
Can you please clarify whether you are using .net 4.0, or 4.5? There are quite a few notable differences between Microsoft's testing assemblies for these versions. Unfortunately, we depend on them, so that we have to handle them internally.
Regards,Ivan Ivanov
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>

VS 2012 .Net 4.0
Regards,
Rajendar.
Thank you. We will take care asap. I will write back to you as soon as we are ready.
Regards,Ivan Ivanov
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>

May i know status of this problem?
Regards,
Rajendar.
Since we have found some examples of inconsistent behavior between the versions of visual studio, we have been working on making separate assemblies for the different IDE and framework versions. With Q3 we have shipped three separate assemblies for the different combinations between IDE and framework. We have not come to a solution for your problem yet, but are working on it. Currently, we have reverted the changeset and GridViewCell should be again treated as WpfCell. Our next step will be to research some level 4 modifications that should handle the Checked property changes.
Regards,Ivan Ivanov
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>

how to get this Telerik.VisualStudio.TestTools.UITest.Extension.ExtensionsCore.dll assembly? and how to add?
ExtensionsCore binary can be found in your local installation of the controls in \Binaries\WPF40\TestTools
There you will find folders VS2010 and VS2012 - you need to get the assembly depending on which version of Visual Studio you are working with. The next steps are illustrated in this article.
Regards,
Maya
Telerik