Skip to main content

Add 'Is Visible' validation step to transactions

Transactions currently have functionality that allow checking the existence of a DOM element (‘Element should exist’) however this will validate the existence of an element, not whether it’s actually visible in the ‘browser’.

This feature request is for an ‘Element is visible’ check to be added, similar to ‘Element should exist’ but rather than checking for existence within the DOM it also detects whether or not the element is visible to the user.

For example the element:

<span style=”display:none;”>This is hidden</span>

Would return true for an ‘Element should exist’ check, but false for an ‘Element is visible’ check.

This will allow the validating of whether CSS/JS has run correctly on elements that are loaded into the DOM but whose visibility is changed by CSS/JS after page load or a particular action.

Status: Completed1 comment

Log in to comment and vote

Comments1

  • Carlos Nascimento

    Team•

    Jul 12

    Hi,

    We have added a new Check Visibility option to the following Command steps in Transaction Checks:

    Wait for Element To Exist/Not Exist
    Wait for Element To Contain Text/Not Contain Text
    Element Should/Should Not Exist
    Element Should/Should Not Contain Text

    Thank you for your feedback!