Skip to content

Verify Inequality of All Matching Elements: VERIFYALLNOTEQUAL

The Verify Inequality of All Matching Elements action ensures that all values identified by a specified locator differ from the value provided in the parameter section. If none of the values match the specified parameter, the step passes. If even one matches, the step fails.

Example: Suppose you want to confirm that no status labels on a dashboard display “Inactive.”

Steps to configure:

  1. Add a new step.
  2. Select Verify Inequality of All Matching Elements from the Action drop-down.
  3. Specify the Screen Name (e.g., “Dashboard”).
  4. In Element Key, use a locator that identifies all status labels (e.g., ‘Status’)
  5. Enter “Inactive” in the Parameter section.
  6. Click Save.

Note: While the steps for adding an action are identical in both views, the display of the steps changes:

scrn-Verify-Inequality-of-All-Matching-Elements-Tabular-View
Tabular View
scrn-Verify-Inequality-of-All-Matching-Elements-Card-View
Card View

Note: Ensure that the Screen Name and Element Key are defined before using this action.

Expected Outcome on execution:

  • If none of the located values are “Inactive,” the step passes.
  • If any value matches “Inactive,” the step fails.

Back To Top