> For the complete documentation index, see [llms.txt](https://ultimatewebsolutions.gitbook.io/qa-knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ultimatewebsolutions.gitbook.io/qa-knowledge-base/test-automation/assertions.md).

# Assertions

An **assertion** is a statement in a test that checks whether the **actual result matches the expected result**.

**Assertions should be in the test files, not inside the Page Object.**

The Page Object should handle **how to interact with the page**.\
The test should handle **what you want to verify**.
