Skip to content

assertNotFontSize (UI Automation - Interrogation)

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

Feedback and Knowledge Base