Accessing color of QT elements
Posted: Fri Nov 25, 2016 7:26 am
Hi Team,
We are currently evaluating Ranorex for one of our QT based application. We are currently using Ranorex6.1.1 under trial version.
There are few QLineEdit elements in our application which expect a value in a range (min - max). If the value is changed from the default one, the text color changes to blue. If provided value is out of accepted range, the text changes to Red.
For test purpose, we have to identify the color of the text present in QLineEdit text box.
Using ranorex spy, when I track this element I get no color related properties present. Palette also comes as blank.
Is there any way I can access the color of the text present in my text box.
Please let me know if further input is required from my end.
Thanks in advance,
Vinay
We are currently evaluating Ranorex for one of our QT based application. We are currently using Ranorex6.1.1 under trial version.
There are few QLineEdit elements in our application which expect a value in a range (min - max). If the value is changed from the default one, the text color changes to blue. If provided value is out of accepted range, the text changes to Red.
For test purpose, we have to identify the color of the text present in QLineEdit text box.
Using ranorex spy, when I track this element I get no color related properties present. Palette also comes as blank.
Is there any way I can access the color of the text present in my text box.
Please let me know if further input is required from my end.
Thanks in advance,
Vinay