Demo-Upload

(Copy URL in PhpBB Forum Format - Info)

From iMacros

Jump to: navigation, search

Fill in the tricky file upload fields automatically.

This demo works with the following page: http://www.iopus.com/imacros/demo/v6/file-upload.htm

Macro Code

 VERSION BUILD=6100118     
 TAB T=1     
 TAB CLOSEALLOTHERS    
 URL GOTO=http://www.iopus.com/imacros/demo/v6/file-upload.htm      
 '
 TAG POS=1 TYPE=INPUT:FILE FORM=NAME:frm_upload ATTR=NAME:uploaded_file CONTENT={{!FOLDERIMACROS}}\license.txt
 'Display some information for the user
 TAG POS=1 TYPE=TEXTAREA FORM=NAME:frm_upload ATTR=NAME:S1  CONTENT=Done! 
 '
 WAIT SECONDS=1

How to record file uploads:

How to record file uploads

1. Select the BROWSE button on the website

2. The file upload box appears. Below this box is the iMacros dialog. Click on the Browse button on the iMacros dialog (not on the original file upload dialog).

3. A new file dialog opens. Select the file to upload. iMacros automates the original file upload dialog and inserts a TAG POS=1 TYPE=INPUT:FILE... command in the macro.

4. Edit the recorded macro. On line TAG POS=1 TYPE=INPUT:FILE... CONTENT=C:\fakepath\..., exchange the content parameter to the correct file path to be uploaded.

5. Now the macro can be replayed.

Personal tools
Home
Toolbox

Website Monitoring