Skip to main content

Find Rows by Visual State in Scenario Editor

Find Rows by Visual State in Scenario Editor

IfUse this guidance when a test needs to identify a table row by visual state, such as highlighted, disabled, selected, warning, or error styling.

  • Prefer stable data attributes, text, or status fields over raw CSS when available.
  • Use style checks only when the userstyle wantsitself tois clickpart aof particularthe linktest forobjective.
  • Avoid withbrittle Particularrow Style

    Ex:indexes if the usertable wantscan sort, filter, or paginate.

  • Document why the visual state matters to clickthe business flow.

Validation workflow

  1. Locate the linktable whichor haslist Stylecontainer.
  2. Filter =rows background-color:rgb(1,0,0)by

    Thestable usertext, canattribute, useor thisstatus inindicator.

  3. Read the accessorvisual columnstate only after the row is visible and stable.
  4. Validate the expected row content before taking action.

cell("style==background-color:rgb(1,0,0)")


Last updated: JuneSeptember 26,20, 20232026

If you have any feedback on this topic, please contact us at documentation@appvance.ai