Difference between revisions of "!EXTRACTDIALOG"

From iMacros
Jump to: navigation, search
(See Also)
(Valid Value)
Line 7: Line 7:
 
Extracting the text of a dialog box.<br>
 
Extracting the text of a dialog box.<br>
 
[[Image:Extract-dialog-text2.png]]
 
[[Image:Extract-dialog-text2.png]]
<br>
+
<br><br><br>
 
Extracting the text of a Javascript error message.<br>
 
Extracting the text of a Javascript error message.<br>
 
[[Image:Report-javascript-error.png]]
 
[[Image:Report-javascript-error.png]]

Revision as of 00:13, 7 May 2008

Extract information from a dialog. The entire text of a website dialog is extracted. The text is processed the same way as standard EXTRACT text.

Valid Value

YES|NO

Extracting the text of a dialog box.
Extract-dialog-text2.png


Extracting the text of a Javascript error message.
Report-javascript-error.png

Examples

 VERSION BUILD=6030310 
 TAB T=1
 URL GOTO=http://www.iopus.com/imacros/demo/v6/dialogs/javascript2.htm
 SET !EXTRACTDIALOG YES
 ONDIALOG POS=1 BUTTON=OK CONTENT=
 TAG POS=1 TYPE=INPUT:BUTTON FORM=NAME:NoFormName ATTR=VALUE:Popup<SP>1
 ONDIALOG POS=1 BUTTON=OK CONTENT=
 TAG POS=1 TYPE=INPUT:BUTTON FORM=NAME:NoFormName ATTR=VALUE:Ask<SP>me<SP>a<SP>question
 'Use the PROMPT command to display the value (for testing only)
 PROMPT {{!EXTRACT}}

See Also

{{!EXTRACT}}, ONDIALOG, ONERRORDIALOG,