Detect ListViewCell Value

Aug 18, 2010 at 7:55 AM
Hi, i am using White Automation Testing for one of my application. While working with datagrids - I can get the 1)datagrid by Listview 2)Rows by ListViewRow and even select the rows But facing issues while working with ListViewCell - showing null reference its like - row.Cells[0]/row.Cells["Col name"] - not giving any values... can any one provide me the help?
Aug 18, 2010 at 8:23 AM

Hi

you test a WPF application right?

so Cells might be custom controls and white can't handle them on a normal way

 

There are some Discussions here describing what you can do...

 

Have a look here: Discussion WPF DataGrid

 

Throndorin

Aug 18, 2010 at 2:17 PM
I have also encountered this on all WPF DataGrids. There is a Low severity work item to address this in release 0.21 due out in late September.
Aug 18, 2010 at 5:13 PM

Thats sounds good,

 

I have written a complex structure to handle informations here in a good way

 

Throndorin