This is a migrated thread and some comments may be shown as answers.

CUIT Test support for RadGridView

33 Answers 112 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rajendar
Top achievements
Rank 1
Rajendar asked on 26 Jul 2013, 02:07 PM
Hi Everyone,

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

Sort by
0
Maya
Telerik team
answered on 26 Jul 2013, 02:13 PM
Hi Rajendar,

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.  

Regards,
Maya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Rajendar
Top achievements
Rank 1
answered on 26 Jul 2013, 02:23 PM
Hi Maya,

Are you released  telerik Q2 2013 SP1 ?

Regards,
Rajendar.
0
Maya
Telerik team
answered on 26 Jul 2013, 02:28 PM
Hi Rajendar,

We have just released it. Check out this page for more information on the release notes for it. 

Regards,
Maya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Rajendar
Top achievements
Rank 1
answered on 31 Jul 2013, 10:50 AM
Hi Maya,

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.
0
Maya
Telerik team
answered on 31 Jul 2013, 11:30 AM
Hello 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 ?  

Regards,
Maya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Rajendar
Top achievements
Rank 1
answered on 31 Jul 2013, 11:36 AM
HI Maya,

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. 
0
Maya
Telerik team
answered on 31 Jul 2013, 12:11 PM
Hello Rajendar,

I am attaching the two projects.  

Regards,
Maya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Rajendar
Top achievements
Rank 1
answered on 31 Jul 2013, 12:31 PM
Hi Maya,

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.
0
Maya
Telerik team
answered on 31 Jul 2013, 02:11 PM
Hi,

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
While for VS 2012 here:
  • 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
That is why there are differences with the two instances. 


Regards,
Maya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Rajendar
Top achievements
Rank 1
answered on 01 Aug 2013, 05:22 AM
Hi Maya,

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
Regards,
Rajendar
0
Maya
Telerik team
answered on 01 Aug 2013, 06:04 AM
Hi 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 ?

Regards,
Maya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Rajendar
Top achievements
Rank 1
answered on 01 Aug 2013, 09:45 AM
Hi Maya,

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.
0
Maya
Telerik team
answered on 01 Aug 2013, 03:19 PM
Hi 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 ?

Regards,
Maya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Rajendar
Top achievements
Rank 1
answered on 02 Aug 2013, 08:44 AM
Hi Maya,

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.
0
Maya
Telerik team
answered on 02 Aug 2013, 12:22 PM
Hi 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.

Regards,
Maya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Rajendar
Top achievements
Rank 1
answered on 06 Aug 2013, 04:59 AM
Hi Maya,

From where i can get this updated telerik controls? when will you release it?

Regards,
Rajendar.
0
Maya
Telerik team
answered on 06 Aug 2013, 06:37 AM
Hello Rajendar,

Our internal builds are usually released each Monday and can be found under your telerik account.  

Regards,
Maya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Rajendar
Top achievements
Rank 1
answered on 13 Aug 2013, 10:44 AM
Hi Maya,

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.

0
Maya
Telerik team
answered on 13 Aug 2013, 01:24 PM
Hi 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"?  

Regards,
Maya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Rajendar
Top achievements
Rank 1
answered on 13 Aug 2013, 01:41 PM
Hi Maya,
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.
0
Maya
Telerik team
answered on 13 Aug 2013, 02:13 PM
Hello 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 ?

Regards,
Maya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Rajendar
Top achievements
Rank 1
answered on 14 Aug 2013, 05:26 AM
Hi Maya,

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.
0
Ivan Ivanov
Telerik team
answered on 14 Aug 2013, 03:40 PM
Hi,

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
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Rajendar
Top achievements
Rank 1
answered on 16 Aug 2013, 07:11 AM
Hi Ivan Ivanov,

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.
0
Ivan Ivanov
Telerik team
answered on 19 Aug 2013, 11:37 AM
Hello 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
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Rajendar
Top achievements
Rank 1
answered on 19 Aug 2013, 11:58 AM
Hi Ivan Ivanov,

-->Telerik.VisualStudio.TestTools.UITest.Extension.ExtensionsCore.
Yes i am using it

We are using VS 2012

Regards,
Rajendar.
0
Ivan Ivanov
Telerik team
answered on 19 Aug 2013, 12:05 PM
Hi,

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
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Rajendar
Top achievements
Rank 1
answered on 21 Aug 2013, 10:21 AM
Hi Ivan Ivanov,

VS 2012 .Net 4.0

Regards,
Rajendar.
0
Ivan Ivanov
Telerik team
answered on 21 Aug 2013, 12:04 PM
Hi Rajendar,

Thank you. We will take care asap. I will write back to you as soon as we are ready.

Regards,
Ivan Ivanov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Rajendar
Top achievements
Rank 1
answered on 16 Oct 2013, 06:16 AM
Hi Ivan Ivanov,

May i know status of this problem?

Regards,
Rajendar.
0
Ivan Ivanov
Telerik team
answered on 18 Oct 2013, 02:22 PM
Hi,

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
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Thirugnanam
Top achievements
Rank 1
answered on 28 Feb 2014, 06:59 AM
Hi maya/rajendar
how to get  this Telerik.VisualStudio.TestTools.UITest.Extension.ExtensionsCore.dll  assembly? and how to add?
0
Maya
Telerik team
answered on 28 Feb 2014, 08:04 AM
Hello Thirugnanam,

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
Tags
GridView
Asked by
Rajendar
Top achievements
Rank 1
Answers by
Maya
Telerik team
Rajendar
Top achievements
Rank 1
Ivan Ivanov
Telerik team
Thirugnanam
Top achievements
Rank 1
Share this question
or