Skip to content

assertNotBackgroundColor (UI Automation - Interrogation)

  • Purpose
  • Generated from getBackgroundColor(locator)
  • Retrieves the CSS background-color attribute value not applied to that element.
  • Syntax
  • assertNotBackgroundColor(locator, pattern)
  • Target
  • locator - an element locator pointing to an element OR an element itself
  • Value
  • N/A
  • Return Value
  • The background-color in rgb(r, g, b) format.
 
 
 

Feedback and Knowledge Base