Forum Discussion

googleid_114358's avatar
googleid_114358
Contributor
12 years ago

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


  • Hi,


     


    Our R&D team has failed to reproduce this behavior in TestComplete 9.31. Could you please try using the latest product version - 9.31?


    If the issue persists, please specify the control version used in your app. Is there a way our team can get a sample app where the issue is reproduced on your side?


    If you can provide the tested app, please contact our TestComplete Support team for the further investigation.