Can we get JavaFX Label BackgroundFill properties?
I'm trying to access a javaFX label field property to determine the background color of the label. I drill all the way down to this property,
labelobj.background.value.BACKGROUND_COLOR.property.OleValue
but I'm getting the string "-fx-background-color" only and nothing else. Is there a way to get the actual color value in Test Complete?
In the javaFX code, they are setting the background color to this
labelobj.setBackground(new Background(new BackgroundFill(Color.GOLD, CornerRadii.EMPTY, Insets.EMPTY)));
I was able to use the same properties mentioned on this post (http://community.smartbear.com/t5/Desktop-Testing/Finding-Background-Color-in-javaFX-object-Table/m-p/98663/highlight/true#M2552)
The exact properties I extracted the color value from is
labelobj.background.value.fills.get(0).getFill().toString().OleValue;
Value returned: 0xffd700ff
I believe the value returned is of type RGBA? If anyone has any idea, please confirm. Thanks