Skip to content

assertNotFontStyle (UI Automation - Interrogation)

  • Purpose
  • Generated from getFontStyle(locator)
  • Retrieves the CSS font-style attribute value applied to that element.
  • It returns true if the font-style of text at the locator in the target is not the same as the value.
  • Syntax
  • assertNotFontStyle(locator, pattern)
  • Target
  • locator- an element locator pointing to an element
  • Value
  • Font size to be verified. EX: normal
  • Return Value
  • Returns the font size.
 
 
 
 
 

Feedback and Knowledge Base