VERSION BUILD=6851105
CMDLINE !DATASOURCE c:\product.csv
'Number of columns in the CSV file. This must be accurate!
SET !DATASOURCE_COLUMNS 7
'Start at line 2 to skip the header in the file
SET !LOOP 183
'Increase the current position in the file with each loop
SET !DATASOURCE_LINE {{!LOOP}}
' Fill web form
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://www.marktplaats.nl/
FRAME F=2
TAG POS=1 TYPE=IMG ATTR=HREF:
FRAME F=4
TAG POS=1 TYPE=SELECT FORM=ACTION:http://verkopen.marktplaats.nl/select_category.php ATTR=ID:l1 CONTENT=24
WAIT SECONDS=1.5
TAG POS=1 TYPE=SELECT FORM=ACTION:http://verkopen.marktplaats.nl/select_category.php ATTR=ID:l2 CONTENT=36
WAIT SECONDS=3
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:http://verkopen.marktplaats.nl/select_category.php ATTR=VALUE:Verder
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:ad_form ATTR=ID:1 CONTENT={{!COL1}}
TAG POS=1 TYPE=SPAN ATTR=TXT:Foto's<SP>toevoegen
FRAME F=5
SET !ERRORIGNORE YES
TAG POS=1 TYPE=INPUT:FILE FORM=NAME:fileform ATTR=NAME:file CONTENT={{!COL4}}
SET !ERRORIGNORE YES
WAIT SECONDS=2
FRAME F=6
TAG POS=1 TYPE=INPUT:FILE FORM=NAME:fileform ATTR=NAME:file CONTENT={{!COL5}}
SET !ERRORIGNORE YES
WAIT SECONDS=2
FRAME F=7
TAG POS=1 TYPE=INPUT:FILE FORM=NAME:fileform ATTR=NAME:file CONTENT={{!COL6}}
SET !ERRORIGNORE YES
FRAME F=4
'New page loaded
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:ad_form ATTR=ID:price CONTENT={{!COL3}}
TAG POS=1 TYPE=A ATTR=TXT:Bold
WAIT SECONDS=1
DS CMD=KEY X=0 Y=0 CONTENT={{!COL2}}
WAIT SECONDS=1
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:ad_form ATTR=ID:do_submit