How to read rows and column values of TdxDBGrid Delphi
I am trying to automate Delphi 5 application testing using TestComplete tool.
I want to read rows and columns of TdxDBGrid component but TestComplete considers grid as whole component while adding a checkpoint.
I checked with OCR action/checkpoint but it is not providing exact values.
I have also added TdxDBGrid in object mapping of project, but no luck.
Can someone please suggest how to read rows and columns values of TdxDBGrid grid.
Solved! Go to Solution.
1. Go to parent item of TdxDBGrid , may be it is Grid - you can click on the parent (...) three dots on the name mapping window
2. Check the rowcount properties for the grid using : Grid.wRowCount(ViewId)
do let me know if its helps?
I suggest that you start with the following article - check that TestComplete supports the control version you use in your app, and all the requirements are met:
The following article contains typical operations you can do with your control in TestComplete:
I hope it helps.
SmartBear Community and Education Manager