Thank you for your help. Could you please help with this problem. I am trying to read the data in a grid but non of the functions I need come up when I do dot operation. Here is the code.
var main = Sys.Process("Citadel2 - X").WinFormsObject("MainForm");
var Grid = main.WinFormsObject("MdiClient", "").WinFormsObject("SearchForm").WinFormsObject("p nlBottom").WinFormsObject("ugrdResults");
When I try to get Grid.ColCount() or Grid.ClickItem() I dont get these functions.
Your grid might be not supported by TestComplete, so the mentioned members are not added to the grid. In any case, you can try to expose your control using the advice from the "Ways to Interact With Application Objects" help topic.
Also, in the future, please create individual threads for different questions - it will help other users find your questions easier, so they will be able to give a piece of advice much faster.