Hi all
Iam using an application developed in VC++. Iam using winrunner 8.0 for generating scripts, but tool is unable to recognise a data grid. Can any one tell me how to get a value of the cell in a data grid.
QTP directly cannot support DataGrid object. For that, user need to install corresponding Add-ins for support. If you are accessing Java application , install Java addins and if .Net, install .Net add-in etc...
After you install Add-in, QTP can recognize DataGrid control as WebTable object.
Browser("Bname").Page("PName").WebTable("WTName")
If you want to retrieve cell value from WebTable, use GetCellData method
Browser("Bname").Page("PName").WebTable("WTName").GetCellData(rowno, cellno)