Skip to content

verifyNotVisible (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • Verifies the visibility of an element in the current page. An element can be rendered invisible by setting the CSS "visibility" property to "hidden", or the "display" property to "none", either for the element itself or one if its ancestors. This method will pass if the element is not present.
  • Syntax
  • verifyNotVisible(locator)
  • Target
  • locator
  • Value
  • N/A
  • Return Value
  • true or false

 

Feedback and Knowledge Base