Micro Focus QTP (UFT) Forums
get color of string in cell of a java table - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: get color of string in cell of a java table (/Thread-get-color-of-string-in-cell-of-a-java-table)



get color of string in cell of a java table - brijesh_shivnani - 04-07-2010

My application is developed in Java. I need to get color of a cell in a table. lease suggest if there is any method or property that can be used for it.


RE: get color of string in cell of a java table - manishbhalshankar - 04-08-2010

Hi

To get the background color of a cell, use:

Code:
Object.currentStyle.backgroundcolor

For color of font use:

Code:
Object.currentStyle.color



RE: get color of string in cell of a java table - brijesh_shivnani - 04-10-2010

Hi

this didn't work... any other solution??
Hello

Thanks for ur replu

this didn't work ...do u have any other solution to this?