Hello,

I am trying to check the content of a website's form for values in a drop down field. Eg. there is a registration form with a field for the salutation offering the option to select "Mr." or "Ms." and I want to validate the the two options are available are not changed.

The andvanced http sensor seems not to cover this check. Is there any method to perform this?

Greeting Chris


Article Comments

Hi Chris,

PRTG can check everything on the website which can be seen in the HTML code of the website. Please check whether the Mr and Mrs are part of it.


Apr, 2023 - Permalink

Hi,

yes you are right checking for the salutation would work after the page is fully loaded. I have performed some debugging and it seems that the option field values are populated asynchronously. So when the main page is loaded it take some more seconds to have the field values. In this case some kind of delay parameter for the sensor would be nice to wait for the page to be fully loaded.

Any idea how to get the page fully loaded befor the sensor checks?

Greetings, Chris


Apr, 2023 - Permalink

Hi Chris,

The Sensor has no delay option available. You can try to increase the scanning interval since the timeout is then also increased. However, it's possible that this won't help. As an alternative, only a custom script could help here.


Apr, 2023 - Permalink