Check text

Check text

DoesQA lets you check an element's text to ensure it matches a specified value. You can use a variety of comparison types for greater flexibility, including:

  • Has any value

  • Equals

  • Contains

  • Starts with

  • Ends with

  • Has no value

  • Doesn't equal

  • Doesn't contain

  • Doesn't start with

  • Doesn't end with

  • Is greater than

  • Is greater than or equal to

  • Is less than

  • Is less than or equal to

  • Custom regex

These comparison types allow you to validate the text content of elements and ensure accurate behaviour in your tests.