Find Rows by Visual State in Scenario Editor
Find Rows by Visual State in Scenario Editor
Use this guidance when a test needs to identify a table row by visual state, such as highlighted, disabled, selected, warning, or error styling.
Recommended guidance
- Prefer stable data attributes, text, or status fields over raw CSS when available.
- Use style checks only when the style itself is part of the test objective.
- Avoid brittle row indexes if the table can sort, filter, or paginate.
- Document why the visual state matters to the business flow.
Validation workflow
- Locate the table or list container.
- Filter rows by stable text, attribute, or status indicator.
- Read the visual state only after the row is visible and stable.
- Validate the expected row content before taking action.
Last updated: September 20, 2026