Real Browser Verify Element Field

The Verify Element field allows you to configure your monitor to validate that a specific element either does or does not exist on your webpage. Utilizing this feature can help you to ensure that your page is loading the correct content without error. This feature is best utilized if the page you are monitoring does not contain text on it that could be verified with the “Verify Page Text” feature of your monitor. Verifying an Element on your page is an advanced feature that requires some technical skills in looking up the HTML identifier for the element you wish to verify. There are several different options that you can configure to setup this element verification as follows.

“Verify an element on the page” Checkbox - Enabling this checkbox will allow you to use this feature of your monitor. Leaving this checkbox unchecked will disable it, turning off the Verify Page Element feature for this monitor.

“Enter an Element Identifier from your page” Textbox – Enter an identifier specific to the element you wish to verify into this textbox to specify what element the monitor will search for on the page. Entering this information is required when “Verify an element on the page” is enabled. The Element Identifier is either the ID or Name property of the HTML element or the XPath to that element. If you need help finding the Element Identifier, see the related article listed below named “Finding an Element Identifier with AlertBot Web Recorder”.

"Must exist on page immediately” Radio Button – This option means that the monitor will verify that the specified element is displayed immediately following your page loading or the last verification (if you have other verification features enabled like “Verify Page Text”). We consider the page "loaded" when it becomes interactive for the user by default. However, you may change what is considered a loaded page via the "Verify Page Loaded" field (See the Related Article link below). If AlertBot cannot find the element immediately, it assumes that your page was not loaded correctly, fails the test and alerts you.

“Must show up on page within X sec” Radio Button – This option means that the monitor will verify that the specified element is displayed on your page and will check to see that it’s there within “X” seconds after the page is loaded or after the last verification (if you have other verification features enabled like “Verify Page Text”). We consider the page to be loaded when the value specified in the "Verify Page Loaded" field (in the "Advanced Options") is met. The distinction between this option and the option mentioned above is that this option should be used when you’re attempting to verify an element that that loads dynamically after the page is loaded (for example, content lazy loaded by JavaScript). If AlertBot cannot find the element on your page within X seconds, it assumes that your page was not loaded correctly, fails the test and alerts you.

“Must not exist on page” Radio Button – This option verifies that the specified element is NOT visible on the page immediately following your page load or the last verification (if you have other verification features enabled like “Verify Page Text”). We consider the page to be loaded when the value specified in the "Verify Page Loaded" field is met. If AlertBot finds the element on the page, it assumes that your page was not loaded correctly, fails the test and alerts you.

Do note that this is an advanced feature that is not always so simple to configure. Even with the above instructions, you may run into some issues. This is not out of the ordinary. If the page that you’re monitoring requires the use of this feature in order for it to be monitored properly and you cannot get this feature to work, please email our Help Desk. Our Provisioning Team would be happy to review the monitor for you and aid you in resolving the issue.

Updated on: 10/06/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!