Recently I had a discussion with my colleague. He asked me, Is it possible to verify the button color by using SilkTest..? Assume that my appliction is stand alone like windows calculator. I want to find the color of all the buttons. I couldn't find any built-in functions for that. Is it possible?
I think, it is quite possible in web page. We can get the HtmlPushButton object properties and can verify the appropriate property. Any ideas..?
Bitmap compare is about the only way to do this. Not a great solution. I've had much better luck just checking a tiny portion of a control for color checking. We have a function called CheckSpot which is basically a bitmap compare of a 3 pixel by 3 pixel area.