The renewal maintenance has officially ended for Progress iMacros effective November 30, 2023.
This Wiki site will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely, The Progress Team
Difference between revisions of "!ERRORIGNORE"
Line 15: | Line 15: | ||
=== Examples === | === Examples === | ||
− | |||
− | |||
− | |||
SET !TIMEOUT_STEP 1 | SET !TIMEOUT_STEP 1 | ||
Line 27: | Line 24: | ||
SET !ERRORIGNORE NO | SET !ERRORIGNORE NO | ||
SET !TIMEOUT_STEP 6 | SET !TIMEOUT_STEP 6 | ||
+ | |||
+ | === Related Forum Posts === | ||
+ | |||
+ | * [http://forum.iopus.com/viewtopic.php?f=11&t=5723 "OR" function for buttons?] | ||
+ | * [http://forum.iopus.com/viewtopic.php?f=2&t=5843 Use one of two links (depending on which one is there)] | ||
+ | * [http://forum.iopus.com/viewtopic.php?f=11&t=5627 Ignore the error and keep runing code] | ||
=== See Also === | === See Also === | ||
[[Command_Reference#Error_Handling|Error Handling]], [[TIMEOUT_STEP]] | [[Command_Reference#Error_Handling|Error Handling]], [[TIMEOUT_STEP]] |
Revision as of 20:58, 5 January 2011
Tells iMacros to ignore errors. The replay of macros continues even if one or more commands fail.
Value
YES|NO
Set By
[ ] Internal
[X] SET
Internal means that the iMacros program itself sets the value of the variable during program run. SET means that the user can set this value via the SET command inside a macro.
Tip: If you use this command to skip not-existing (only sometimes existing) web page elements (TAG), then it can be useful to reduce the default time iMacros waits for a missing TAG to appear (6 seconds). Use the !TIMEOUT_STEP paramter for this.
Examples
SET !TIMEOUT_STEP 1 SET !ERRORIGNORE YES 'Commands that fail sometimes (element missing) TAG... TAG... 'Restore defaults SET !ERRORIGNORE NO SET !TIMEOUT_STEP 6
Related Forum Posts
- "OR" function for buttons?
- Use one of two links (depending on which one is there)
- Ignore the error and keep runing code