Last edited on Dec 05, 2019
The following example shows how to use the Qt API in Squish test scripts to test colors of Qt widgets:
check_box = waitForObject(":My QCheckBox")
c = check_box.palette.color(check_box.backgroundRole())
We would love to improve this site! For this, we ask you for permission to use
a cookie (a piece of data stored in your web browser) which helps us understand
how the site is used.
Please refer to our Privacy
Policy in case you change your mind, or if you want to learn more about how
we take care of your privacy.