Accessing cells in Delphi grids
Hello,
I need to access values of cell grids in a Delphi application. Testcomplete 7.5 recognizes these grids as TStringGrid and TDrawGrid. While trying to read the cell values of such a grid the following error message appears:
Error: An error occurred.
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.
Technical information:
96 0x80020006 (Unknown name.) Columns
Instead of Columns I also get GetVisibleRowCount,ColCount or RowCount depending on the object.
Now as far as I understand creating an open Delphi application means compiling the tested application with debug symbols. My question is:
Is there ANY other way to read the values of those grid cells without shipping the whole application with debug symbols? For example feeding some additional information to Testcomplete, declaring properties inside the tested application as public or whatever? Please note that I need access to the values of all cells inside the grid, not just the ones that are currently visible on screen, so using the text recognition engine is not a good option.
Thanks in advance!