Completed
Last Updated: 20 Dec 2013 13:05 by ADMIN
Chery
Created on: 18 Dec 2013 04:29
Type: Bug Report
1
GridView API changes causing test failures in '2013.2.1210.0'
After I have updated my Test Studio to '2013.2.1210.0' , all my existing tests using Telerik.WebAii.Controls.Xaml.Wpf.GridView.Rows[index].Cells method is failing. Now method is able to get only objects (GridViewCell) of Visible columns in the screen. In the previous version it worked well and could get values from all the columns, including once that are not visible. Also GridViewCell property Text, which used to work correctly is not able to get Text property correctly for many 'GridViewCell', it fails with  error "[WPF Extension Error] Details: ArtOfTest.WebAii.Silverlight.NoSuchPropertyException: "

Please find few line of my code for reference,

            RadGridView TechnicalQueryGridView = Ts.PIMS.TechnicalIssues.Find.ByAutomationId<RadGridView>("Technical QueryGridView");
            IList<GridViewCell> gCells = TechnicalQueryGridView.Rows[rowNumber].Cells;


 foreach (var gCell in gCells)
            {
                    Console.WriteLine("Cell Name : " + gCell.Index + ", Cell Text: " + gCell.Text);
            }

Kindly help me, I am totally lost now.
1 comment
ADMIN
Konstantin Petkov
Posted on: 20 Dec 2013 13:04
Hello,

I realized you have a support ticket submitted as well and the team is helping there. I'm closing this item and we can reopen it if a problem is replicated.

Regards!