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 "ONERRORDIALOG"
Line 28: | Line 28: | ||
=== Examples === | === Examples === | ||
+ | |||
+ | [[File:Demo-onerror.png|600px|thumb|center|Use CONTINUE=NO to''' detect Javascript errors''' on websites. This is useful for website monitoring and web testing.]] | ||
=== See Also === | === See Also === | ||
[[Browser_Automation#Page_Errors|Page Errors]], [[!EXTRACTDIALOG]], [[Demo-OnError]], [[ONCERTIFICATEDIALOG]], [[ONDIALOG]], [[ONDOWNLOAD]], [[ONLOGIN]], [[ONSECURITYDIALOG]], [[ONWEBPAGEDIALOG]] | [[Browser_Automation#Page_Errors|Page Errors]], [[!EXTRACTDIALOG]], [[Demo-OnError]], [[ONCERTIFICATEDIALOG]], [[ONDIALOG]], [[ONDOWNLOAD]], [[ONLOGIN]], [[ONSECURITYDIALOG]], [[ONWEBPAGEDIALOG]] |
Revision as of 21:07, 16 May 2011
If a page script error occurs on a webpage Internet Explorer opens an error dialog. This command handles such a dialog so your macros are not interrupted by script errors. By default the settings are BUTTON=YES and CONTINUE=YES. These settings are active even without an ONERRORDIALOG in your macro.
Syntax
ONERRORDIALOG BUTTON=(YES|NO) CONTINUE=(YES|NO)
Parameters
- BUTTON
- Specifies which button is clicked.
- CONTINUE
- Specifies if the macro is continued if such an error dialog comes up.
Disable Script Debugging
You can avoid Javascript error dialogs if you select "Disable Script Debugging" in Internet Explorer settings. These settings are also used by the iMacros Browser. On Internet Explorer, go to Tools/Internet Options, click on the Advanced Tab. Under Browsing you should put check marks at both "Disable script debugging". Remove the check mark for "Display a notification about every script error".
Forum
Forum posts related to this Wiki topic.
Disable Script Debugging in iMacros Browser
Examples
See Also
Page Errors, !EXTRACTDIALOG, Demo-OnError, ONCERTIFICATEDIALOG, ONDIALOG, ONDOWNLOAD, ONLOGIN, ONSECURITYDIALOG, ONWEBPAGEDIALOG