10-06-2009, 12:40 PM
Nope. QTP does not recognize colors displayed. It can only retrieve the color set for a static text (like forecolor,backcolor etc).
If you want to perform icon test the closet would be the bitmap checkpoint. [ However it is not a guaranteed one and has several dependencies on the Machine you record due to pixel variations. If you want to work through, from QTP 9.2 to QTP 9.5 you will need to modify the tolerance level of RGB through the Registry settings. For QTP 10.0 you can do that on the test settings->Bitmap checkpoint and increase the tolerance level ].
If you want to perform icon test the closet would be the bitmap checkpoint. [ However it is not a guaranteed one and has several dependencies on the Machine you record due to pixel variations. If you want to work through, from QTP 9.2 to QTP 9.5 you will need to modify the tolerance level of RGB through the Registry settings. For QTP 10.0 you can do that on the test settings->Bitmap checkpoint and increase the tolerance level ].
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.