Forum Discussion

csnana's avatar
15 years ago

Delphi : Problem getting cell value for grid

i have this  problem alongwith me .

i have a delphi grid as shown in the attachment . i need to retrive the data present in the cell

for e.g. 2,2 that is "apolu"



TC gives me the correct colcount and rowcount for the grid , as below

Call advOrderGrid.Rowcount

Call advOrderGrid.ColCount



but i am not able to retrive any data for particluaer cell .

If someone can help me it will be great , we are stuck here for three days.


1 Reply


  • Hi Nanjappa,





    I suppose that you are using the TAdvOrderGrid control. There is no special support for this control in TestComplete. To work with the grid, you need to compile your application with debug information and operate with the control via its native properties and methods. Please see the "Open Applications in Delphi" article for details. 





    You can find a list of supported controls in the "Working With Custom Controls" article. The article also contains general suggestions on working with unsupported controls.





    If you still face issues with the grid, please send us a sample application demonstrating the target control. We'll try to help you with a script sample.