> For the complete documentation index, see [llms.txt](https://docs.does.qa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.does.qa/test-steps/check/check-text.md).

# Check Text

Check text compares an Element’s text with the value you expect. Use it to prove a heading, label, button label, or message is correct after an action.

![Check text Test Step](https://app.does.qa/screenshots/node/check_text.png)

## When to use it

* Confirm success copy after submit, save, or login.
* Assert a label or heading after navigation.
* Prefer [Check value](/test-steps/check/check-value.md) when you need the value attribute of an input rather than visible text.

## Configure

### Basics

| Field               | What to set                                              |
| ------------------- | -------------------------------------------------------- |
| **Element**         | The [Element](/elements/creating-elements.md) to read    |
| **Comparison Type** | [Comparison Type](/test-step-options/comparison-type.md) |
| **Value**           | Expected text and/or [Values](/values/value-store.md)    |

### Advanced

| Field                                        | What to set                                                                                                                         |
| -------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| **Should the check be performed instantly?** | `Strict` (default) fails quickly when text does not match. `Tolerant` keeps checking within the step timeout while the text settles |
| **Status on fail**                           | [Failed Status](/test-step-options/failed-status.md)                                                                                |
| **When should screenshots be taken?**        | `Always` or `On Failures` (default)                                                                                                 |
| **Value Standardization**                    | [Value Standardization](/test-step-options/value-standardization.md)                                                                |

{% hint style="info" %}
**Pro tip:** Use Tolerant when the UI updates text a moment after the click. Use Strict when a mismatch should fail immediately.
{% endhint %}

## Related

* [Check value](/test-steps/check/check-value.md)
* [Check displayed](/test-steps/check/check-displayed.md)
* [Element states](/test-step-options/element-states.md)
* [Comparison Type](/test-step-options/comparison-type.md)
* [Check](/test-steps/check.md)

**Tags:** `check`, `text`, `assert`, `element`
