Skip to content

assertFontStyle (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • This command is useful for retrieving the css font-style attribute value applied to that element and asserts the value.
  • If the value does not match with the attribute value which we get from the UI, it aborts the execution.
  • Syntax
  • assertFontStyle(locator, pattern)
  • Target
  • locator
  • Value
  • pattern
  • Return Value
  • Returns true or false
 

Feedback and Knowledge Base