Forum Discussion

pratyushdash's avatar
pratyushdash
Occasional Contributor
12 years ago

Need to access cells inside a TF1Book of a delphi application

Hi,



I have a sample Delphi Application.

I want to input certain values inside the cells from an external driver.

Input 12 in B1 and then input 13 in C1.

Can any one please help in doing this?

TC is identifying the whole TF1Book as one single block.

Unable to access the cells inside it.



Sys.Process("F1BookTest").VCLObject("TestForm").VCLObject("TestGrid")



Attached is the screenshot and the sample application.




  • Hi Pratyush,


     


    It's unlikely that you make TestComplete recognize each cell of your grid as an individual object. You need to use native methods and properties of the grid to get access to the target cell. Please refer to the controls' documentation to learn them. The What If My Control Is Not Supported? section of the "Supported Controls" article describes how to use them in TestComplete.