Hi,
The AUT has a SwfTable. This table has many rows and few of them are highlighted.
Highlighted in the sense, the cells in that row has some other color compared to other unhighlighted rows.
I want to know how can I validate this?
Please help me on this.
Thanks in Advance
Here is what worked for me:
SwfWindow("WindowName").SwfWindow("AnotherWin").SwfTable("TableName").GetCellProperty(1,"1","BackColor")
There are several ways to do validate the color of a cell. It unfortunately is drastically different depending on how your developer coded the coloration of the cell. How JSoldano mentioned is one way, and can work. Two additional methods were added as of 2010 Volume 3.
GetCellAppearance and GetRowAppearance, it accesses the Appearance property directly which is typically how many of the internal methods of the grid set appearance based changes to the cells.