# Validate text match failure question

**URL:** <https://community.dynatrace.com/t/validate-text-match-failure-question/32067>\
**Category:** Synthetic Monitoring\
**Tags:** browser-monitors, synthetic-monitoring\
**Created:** [July 9, 2021, 4:56pm UTC](https://community.dynatrace.com/t/validate-text-match-failure-question/32067 "2021-07-09T16:56:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adm](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@adm](https://community.dynatrace.com/u/adm)\
**Post date:** [July 9, 2021, 4:56pm UTC](https://community.dynatrace.com/t/validate-text-match-failure-question/32067/1 "2021-07-09T16:56:07Z")

</div>

What type of wait should I use when a text validation fails but the Actual vs Expected screenshots are the same?

The default wait was **Wait for background network activity to complete** and I’ve also tried&nbsp; **Wait for next event** , which also seems to fail.

Or maybe validating against something else would be better?

Edit: possible that I might just think that text validation is more full proof than it really is. I’m working on a big script and maybe should validate less

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [July 12, 2021, 9:26am UTC](https://community.dynatrace.com/t/validate-text-match-failure-question/32067/2 "2021-07-12T09:26:57Z")

</div>

You could try ‘Wait for a specific element to appear’ and then wait for the element that you expect the text to be in and also add that validation text into the wait.

---

<div class="post-metadata">

**Author:** ![adm](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@adm](https://community.dynatrace.com/u/adm)\
**Post date:** [July 12, 2021, 7:43pm UTC](https://community.dynatrace.com/t/validate-text-match-failure-question/32067/3 "2021-07-12T19:43:32Z")

</div>

Alright, I’ll try this out. Thanks!
