White Data grid selecting a cell

Jun 14, 2012 at 12:00 PM

Hi All,

I am new to using white UI tool

I am trying to get the control of a cell of data grid view, which has a check box.

I have written the following code to get the  row of the grid view , but the of that cell is null

IUIItem uitem = mainWindow.Get(SearchCriteria.ByAutomationId("gcRole"));

 Table table = (Table) uitem;
 TableRows tr= table.Rows;
there are 2 rows  in "tr". How can I get the cell of a grid control

Jun 15, 2012 at 3:51 PM

Is it a WPF datagrid? If so, you can refer to http://white.codeplex.com/discussions/358868