How to check font color using QTP , for exp i have a text with red color i want to get output from QTP that its in RED color.
i tried on winobject to get the font color of text.but QTP doesnt provide any to get the font color.
if u know this plz send me the answer.
nagesh - use object.GetRoProperty("color")
I'm not a complete idiot - some parts are missing.
If color is there in property then only you can get using GetROproperty() but its windows based object , color property is not available.
nagesh, If you have a dump of the winobject in your Active Screen Tab, and the text whose color you want to check DOESN'T change, you could always use a bitmap checkpoint to verify that the text color is same as expected?