!EXTRACTDIALOG

From iMacros
Revision as of 00:10, 7 May 2008 by Tsc (Talk | contribs)

Jump to: navigation, search

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 test of a dialog box: Extract-dialog-text2.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}}