How to verify color legends with test complete
I had a requirement where in I need to verify the color legends of an object(Fore/Background) and validate that. I Google'd regarding this, didn't get my expected results. Referred the test complete help section too. Found a topic of Working with Colors but couldn't understand the purpose of that. Any help regarding this will be helpful.
Get the color:
TestComplete provides option to get the color using a picture object. So you can capture a picture of your control and use like in this article. The pixels property will return color contants available in TestComplete and you can compare for verification.
Get a control's background color
Also I believe if you dig in to the properties of an object in the Object Explorer tool, you will find the color object.
Thank/Like to help others if my input helped you !!!
I am speaking for myself, not for my employer nor any one.