assertElementNotPresent (UI Automation - Interrogation)
Compatible with:
- Purpose
- Generated from isElementNotPresent(locator)
- It will check whether the element is present or not and returns corresponding boolean value. This command asserts/verifies that the specified element is not present on the page.
- Syntax
- assertElementNotPresent(locator)
- Target
- locator - an element locator
- Value
- N/A
- Return Value
- Returns true if the element is not present, false otherwise.