Skip to content

Failed Exists validation rule exception should indicate that the element could not be found / does not exist #183

@icnocop

Description

@icnocop

Hi.

When I try to verify that an element exists on a page using the Exists validation rule, but the element doesn't exist, I get the following exception:

SpecBind.Pages.ElementExecuteException: Value comparison(s) failed. See details for validation results.
| Field      | Rule   | Value             |
| My Element | Exists | <EMPTY> [<EMPTY>] |

Validation Step:

Then I see
    | Field      | Rule   | Value |
    | My Element | Exists |       |

I expected the exception to indicate that the element could not be found / does not exist.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions