Micro Focus QTP (UFT) Forums
table output values - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: table output values (/Thread-table-output-values)



table output values - shipu - 01-24-2014

Hello,

I am trying to read the data from a specific cell of a table but I am not able to do it.

OR:
Please see the image.

Script I have so far:
Code:
VbWindow("frmMain_2").VbWindow("fBulkTestSelection").AcxTable("FarPoint Spread 3.0").Output CheckPoint("FarPoint Spread 3.0")

If I want to read the cell 7,2 then store the value into a variable, How can I do it?

Thanks.


RE: table output values - supputuri - 01-24-2014

hi there,
Please use the GetCellData method to fetch the data from the AcxTable.
Code:
msgbox VbWindow("frmMain_2").VbWindow("fBulkTestSelection").AcxTable("FarPoint Spread 3.0").GetCellData(7,2)