10-10-2011, 09:44 PM
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:
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.
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.