How to read rows and column values of TdxDBGrid Delphi
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to read rows and column values of TdxDBGrid Delphi
Hi All,
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.
Thanks
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Anupam, but it is not showing Parent property in name mapping window.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @pradnyadhole,
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.
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
use grid.wValue[row, colum, view] approach
regards
SivaKartheek Sreeram
