Forum Discussion

richardw_1's avatar
richardw_1
Occasional Contributor
12 years ago

Obtain text from a cell within a WindowsForms10 data table

Hi All,



I am trying to find out if it is possible for me to obtain the text in a specific cell in a data table which is displayed in a WindowsForm10 format.



When i use the  object spy (I think it's called!) it highlights the whole table as one. Whereas I would ideally like to be able to select an individual cell and check that the data in it matches what I want or to extract that data and set it to a variable.



I've found the article for .Net application and I've checked that i have the relevant extensions installed but I still cant find a way to select the cells.



Any ideas?



Many Thanks



Rich

1 Reply


  • Hi Rich,


     


    In most cases, child objects of grid controls are internal. So, TestComplete does not recognize them as individual objects and does not show them in the Object Browser. Please refer to the "Working With Grids" article and those related that describe how to test grid controls in TestComplete.