Font format , object is null .

Hi ,

I want to compare my font format between fat letters to

Ho should i do that .
When i trying :
String font_bold = WebUI.getAttribute(findTestObject(‘Object Repository/test123/font_internet0’),‘font’)

println(font_bold)

image|690x420

Hello,

You can compare your fonts using GetCssValue

println WebUI.getCSSValue(findTestObject(‘yourObjectReference’),“font-weight”)

Then you can compare the value.

Value Description
normal Standard weight. Equivalent of 400 .
bold Bold weight. Equivalent of 700 .
1 Like

I will check it , soon give u answer if it works will be great :smiley: