TestMace
0.0.1-beta.7
0.0.1-beta.7
  • Getting Started
  • Interface
    • The Menu
    • Interface Overview
    • Scratches
    • Node Types
    • Keyboard Shortcuts
  • Node Types
    • Project
    • Folder
    • RequestStep
    • Assertion
      • Compare
      • Contains
      • Script
      • XPath
    • Link
    • API description
      • ApiRootFolder
      • ApiFolder
      • ApiRoute
      • API Description Import
    • Broken
    • Script
  • Variables
    • User-Defined Variables
      • Static Variables
      • Dynamic Variables
    • Default Variables
    • Environment Variables
  • Working with the project
    • Cookie
    • Authorization
  • Settings
    • Proxy
  • Other features
    • Bulk Edit
    • Import & Export
      • Shared
      • cURL
      • Swagger
      • Postman
    • Default HTTP headers
Powered by GitBook
On this page
  • Error Fixing
  • File Representation

Was this helpful?

  1. Node Types
  2. Assertion

Contains

PreviousCompareNextScript

Last updated 5 years ago

Was this helpful?

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

This assertion interface is as follows:

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 documentation in the #/definitions/ContainsAssertion definition.

Assertion file representation