Verify Absence of Element: VERIFYNOTPRESENT
The Verify Absence of Element action checks to ensure that a specific element is not visible on the screen. This is useful when an element, like a button, message, or other UI component, should be hidden or removed in certain conditions. The element to be checked is identified by a locator (page and element).
Example: Let’s verify that an Edit button is not visible on a confirmation page to prevent further changes.
Steps to configure:
- Add a new step.
- Select Verify Absence Of Element from the Action drop-down.
- In the Screen Name field, select the screen where the element should be absent (e.g., Confirmation Page).
- In the Element Key field, select the element representing the LHS value (e.g., Edit button).
- Leave Parameters box blank.
- Click Save.
Note: While the steps for adding an action command are identical in both views, the display of the steps changes:


Note: Ensure that the Screen Name and Element Key are defined before using this action.
Expected Outcome on execution:
- The Verify Absence Of Element action will verify that the specified element (e.g., Edit button) is not visible on the screen.
- If the element is absent, the action will pass, confirming it is hidden as expected.
- If the element is present, the action will fail, indicating that it is visible when it should not be.