Workaround: iMacros not recognizing page being fully loaded

Share your tips, tricks and favorite iMacros macros, scripts and applications for web automation in general here.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team
Post Reply
Hannes, Tech Support

Workaround: iMacros not recognizing page being fully loaded

Post by Hannes, Tech Support » Wed Aug 20, 2008 9:21 am

On some pages where certain content is added "on the fly" (e.g. depending on some selection), iMacros might not be able to detect the site being fully loaded, which results in timeout errors on replaying a macro.

Here's how to work around a TAG that leads to such a page (and thus times out on replay).

Code: Select all

' make the macro wait no longer that a few seconds (instead of the default value of 60s)
SET !TIMEOUT 5
' make the macro ignore the timeout that occurs after the !TIMEOUT interval is completed
SET !ERRORIGNORE YES
' now run the "problematic" TAG
TAG POS=... TYPE=... ATTR=...
' reset default settings
SET !TIMEOUT 60
SET !ERRORIGNORE NO
Post Reply