Skip to content

assertNotFontFamily (UI Automation - Interrogation)

  • Purpose
  • Generated from getFontFamily(locator).
  • Retrieves the CSS font-family attribute value applied to that element.
  • It returns true if the font-style of text at the locator provided in the target is not the same as the value.
  • Syntax
  • assertNotFontFamily(locator, pattern)
  • Target
  • locator- an element locator pointing to an element
  • Value
  • N/A
  • Return Value
  • Returns the font family.
 
 
 
 
 

Feedback and Knowledge Base