# Browser Synthetic - content validation

**URL:** <https://community.dynatrace.com/t/browser-synthetic-content-validation/19791>\
**Category:** Synthetic Monitoring\
**Tags:** browser-monitors, synthetic-monitoring\
**Created:** [July 10, 2020, 6:19pm UTC](https://community.dynatrace.com/t/browser-synthetic-content-validation/19791 "2020-07-10T18:19:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jordan\_rose](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jordan\_rose](https://community.dynatrace.com/u/jordan_rose)\
**Post date:** [July 10, 2020, 6:19pm UTC](https://community.dynatrace.com/t/browser-synthetic-content-validation/19791/1 "2020-07-10T18:19:29Z")

</div>

My question is regarding the content validation. Found below in the doc, but I cant tell if Dynatrace will use these rules to wait and perform the content validation or if these only apply to synthetic events in the click path.

### Amount of time to wait before the next event is triggered

While Dynatrace automatically selects an appropriate wait time for each event, you can customize this setting to define how long Dynatrace should wait before the next event is executed.

- **None**

- **Wait for page to load completely** waits for network activity to be completed after the load event is triggered. This is the default wait time used when loading a new page.

- **Wait for specific period of time** allows you to specify the number of seconds that Dynatrace should wait between this event and the next.

- **Wait for background network activity to complete** waits for all network activity to be complete following the event. This is the default wait time used for XHRs and interactions within single-page applications.

- **Wait for specific element to appear** allows wait for a specific HTML element on the page by specifying the CSS or DOM locator for the element. You can also specify to text to validate against in the element, and a timeout for locating the element.

- **Wait for next event** waits until one of the locators of the next event is found. This is basically the same as **Wait for specific element to appear** but automatically uses the locators of the next event.

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [July 10, 2020, 8:33pm UTC](https://community.dynatrace.com/t/browser-synthetic-content-validation/19791/2 "2020-07-10T20:33:36Z")

</div>

If the event is not triggered then it will raise an alarm on that. Lets say you go to [Yahoo.com](https://answers.dynatrace.com//Yahoo.com) and want to validate that “sign in” is there and then click on the sign in button and actually synthetically sign in.

Dynatrace will run the synthetic to go to [yahoo.com](https://answers.dynatrace.com//yahoo.com), wait for it to load, then validate that Sign in is present - if not then alert - if so it continues to the next step. Lets say you mixed it up and you wanted to validate that “Sports” was on the main page. It will load the page, check for the validation - Pass or fail the validation and proceed to the next step all while alerting you that Sign In or Sports validation failed.

---

<div class="post-metadata">

**Author:** ![jordan\_rose](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jordan\_rose](https://community.dynatrace.com/u/jordan_rose)\
**Post date:** [July 13, 2020, 1:14pm UTC](https://community.dynatrace.com/t/browser-synthetic-content-validation/19791/3 "2020-07-13T13:14:57Z")

</div>

Chad, thanks for the response. In some cases the validation fails and in the screenshot you can see that the page is still loading. So we get complaints that dynatrace is performing the validation too soon. So, according to your answer, the options I listed above do not impact content validation.

---

<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 13, 2020, 1:32pm UTC](https://community.dynatrace.com/t/browser-synthetic-content-validation/19791/4 "2020-07-13T13:32:50Z")

</div>

Try some of the other waits to see if you can get the page to wait for long enough for the page to fully load. Perhaps ‘Wait for specific element to appear’ or ‘Wait for Next Event’

---

<div class="post-metadata">

**Author:** ![jordan\_rose](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jordan\_rose](https://community.dynatrace.com/u/jordan_rose)\
**Post date:** [July 15, 2020, 4:34pm UTC](https://community.dynatrace.com/t/browser-synthetic-content-validation/19791/5 "2020-07-15T16:34:34Z")

</div>

Thanks, I will try to test this although it may not be easy. So are we unsure if the settings above impact the content validation timings?

---

<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 16, 2020, 6:52am UTC](https://community.dynatrace.com/t/browser-synthetic-content-validation/19791/6 "2020-07-16T06:52:09Z")

</div>

Content validation is done after the wait has completed. If you can see in the screenshot that the reason the content validation failed was due to the page not having completely loaded then trying other waits will allow you to find the best one for your site.

---

<div class="post-metadata">

**Author:** ![jordan\_rose](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jordan\_rose](https://community.dynatrace.com/u/jordan_rose)\
**Post date:** [July 20, 2020, 2:59pm UTC](https://community.dynatrace.com/t/browser-synthetic-content-validation/19791/7 "2020-07-20T14:59:28Z")

</div>

OK Thank you for the answer…
