Micro Focus QTP (UFT) Forums
SAP table equivalent to GetCellProperty - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: SAP table equivalent to GetCellProperty (/Thread-SAP-table-equivalent-to-GetCellProperty)



SAP table equivalent to GetCellProperty - msacks - 10-10-2011

I am trying (as some have tried here before) to use the color of text in a cell. (The algorithm is: if the cell text is blue, click it; otherwise return an error.) In QTP help I found a function called GetCellProperty, with an example:

Code:
table.GetCellProperty(row, column, TextColor)

However, while this works with a WebTable object, the function does not exist for SAPGuiTable objects. Does anyone out there know an equivalent? Or is there a way to convert a SAPGuiTable to a WebTable in order to retrieve this information?

Thanks.