googleid_114358
12 years agoContributor
TC 9.30 - Table Checkpoint support for WPF Datagrid controls using TextBlockComboBox
Hi.
I am trying to use Table Checkpoint with a standart System.Windows.Controls.DataGrid control but unfortunately, TestComplete throws an exception when it tries to retrieve datagrid content (see TC_Exception.png attached file).
As you can see the column throwing this error is the one named Type. I am able to get the same error if I try to get the wValue property from the datagrid for a cell of this column :
Possible reasons:
1. The application stopped responding.
2. The application was compiled incorrectly (see the Open Applications topic in the help system).
3. An error occurred in TestComplete.
The message will probably be useless. Anyway... If i look at the Object browser, I can see that DatagridCells of this column contain object System.Windows.Controls.DataGridComboBoxColumn+TextBlockComboBox (See ObjectSpy.png attached file)
From the Project Properties, I saw that this DataGridComboBoxColumn is supported... It is contained in the Microsoft Controls > WPF > WPFToolkitDatagrid > Combobox list.
So far, I am stuck... and I have no idea what should I do to access the wValue of this control. My guess is, as soon as I will be able to get this value, the Table Checkpoint will work.
Need some tips here.
Cheers,
Guillaume