> For the complete documentation index, see [llms.txt](https://docs.testmace.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.testmace.com/master/node-types/assertion-node/contains.md).

# Contains

**Contains assertion** is used to check if a string contains another string.

This assertion interface is as follows:

![](/files/-LgrKr5Hl7BG0PaWPWPs)

The following assertion fields are shown in the screenshot:

* **Text** - the text to find the value in;
* **Value** - the value that needs to be found.

### Error Fixing

This assertion doesn't have any error fixing algorythm.

### File Representation

The assertion has the `contains` type in the file. The type description can be found in the[ Assertion file representation](/master/node-types/assertion-node.md#failovoe-predstavlenie) documentation in the `#/definitions/ContainsAssertion` definition.
