Skip to content

verifyNotFontFamily (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-family of text at the locator in the target is not the same as the value.
  • Syntax
  • verifyNotFontFamily(locator, pattern)
  • Target
  • locator - An element locator pointing to an element OR an element itself
  • Value
  • N/A
  • Return Value
  • Returns the font-family.
 
 
 
 
 
 

Feedback and Knowledge Base