Forum Discussion

saurabh1484's avatar
saurabh1484
Contributor
13 years ago

How to find background color of control

Hi,



How to find out the background color of a control like textbox or label in Testcomplete.

I am not able to find any fucntions for that.



Regards,

Saurabh
  • AlexKaras's avatar
    AlexKaras
    Champion Level 3
    Hi Saurabh,



    The answer depends on the actual control you are interested in (native or .Net, name, version, etc.).

    You may also ask developers how do they set the background color for this control and then search for the same property or method in TestComplete's Object Browser (possibly, drilling down properties that reference objects - those that have a small button with ellipsis instead of the actual value).