cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Synthetic monitoring with video playback

vpasi
Newcomer

Hello everyone, one of our customers would like to configure synthetic monitors. We know how to configure the monitor and they work. However, we would like to know if you can check whether a video on the web page is correctly loaded and played.

Thank you very much

3 REPLIES 3

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

Can you check that from JavaScript? If yes, that is possible with JavaScript event.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Create a browser clickpath which navigates to the site and and in the end plays the video. Now follow the same steps yourself (just access the website in your own browser) and use the developer tool on the website to check the code. Try to find a unique element, which is only present when the video loads (or is being played).

Something that would only be available when it plays is for example the element showing the remaining duration or maybe the pause button? 

If you found something, add it to your click path as a content element check after playing the video. I would maybe let the previous action wait for a few seconds before triggering the one including the check so that there is enough time for the element to appear.

marina_pollehn_0-1712909517833.png

Here is how you can add the element check (not sure if element or text in element is better for you to use, depends on what you pick as element or component in the end):

marina_pollehn_1-1712909631229.png

Now the clickpath will fail if the element is not present.

 

I have used this method before to check, whether the location of a company was loading on the website (based on google maps).

A Dynatrace Professional nerd working for Conclusion Xforce

vpasinelli
Visitor

Thank you so much for the advice 🙂

Featured Posts