Skip to content

assertNotOpacity (UI Automation - Interrogation)

Compatible with:
  • Purpose 
  • Generated from getOpacity(locator)
  • This command retrieves the CSS opacity attribute value applied to that element. 
  • Syntax
  • assertNotOpacity(locator, pattern)
  • Target
  • locator - An element locator pointing to an element or an element itself.
  • Value
  • pattern - The opacity value to be verified.
  • Return Value
  • The opacity value. This command passes when the value does not match.
 

Feedback and Knowledge Base