Home > Running a Script > Handling Errors & Logging > Handling Object not found Error > HTML Element Not Found

HTML Element Not Found

The functions dealing with HTML objects within a web page:
provide synchronization within the script, temporarily blocking script execution until the HTML object as specified by its HTML Descriptor is completely loaded. 

If the HTML object as specified by its HTML descriptor cannot be loaded within the default timeout period of 30 seconds, the function will fail. This default timeout can be increased via the #ActionTimeout system variable. The #ActionTimeout variable can be increased just before the function and then restored to it's original value immediately following it.

Another possible reason for the HTML Element not found error is when the referenced HTML element is on the web page, but has a different HTML Descriptor than when the script was originally recorded.

Use the following step-by-step instructions to help diagnose and correct the problem.

See also

Page Not Found
UIA Element Not Found
Window Not Found