gindi_khangura
12 years agoOccasional Contributor
Get Object Background Color
Hi,
Just a question in general; I have an object (window type) that I need to retrieve the background color from.
Using the object spy functionality shows that there is no property that exists for retrieving the background color.
I have searched through the help index and have not found anything pretaining to this.
Is there a TestComplete functionality that I can leverage to retrieve the background color?
We could attempt to take an image of the object and pick certain points on the image to retrieve the pixel colors from, but such a method is not guranteed to be always correct.
Just a question in general; I have an object (window type) that I need to retrieve the background color from.
Using the object spy functionality shows that there is no property that exists for retrieving the background color.
I have searched through the help index and have not found anything pretaining to this.
Is there a TestComplete functionality that I can leverage to retrieve the background color?
We could attempt to take an image of the object and pick certain points on the image to retrieve the pixel colors from, but such a method is not guranteed to be always correct.