Hi,
In my application, I have a static text displayed. This is identified as a WPFTextBlock by Silk Test Workbench 15.5.
How to get the color of that WPFTextBlock?
Dim font_colour = _desktop.WPFTextBlock("@automationId='MyMarking_Component_1a_QuotaValue'").GetProperty("currentStyle:color")
Msgbox(font_colour)
The above statement prompted an error saying that "The property 'currentStyle:color' is not supported for WPF."