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’)




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: