我正在尝试将图片上传到此网站的网址GOTO = http://www.kijiji.ca/p-post-ad.html?categoryId=696。
VERSION BUILD=8340723 RECORDER=CR
SET !TIMEOUT_PAGE 10
SET !ERRORIGNORE YES
TAB T=1
TAB CLOSEALLOTHERS
SET !DATASOURCE bp.csv
SET !DATASOURCE_COLUMNS 6
SET !LOOP 4
SET !DATASOURCE_LINE {{!LOOP}}
WAIT SECONDS=5
URL GOTO=http://www.kijiji.ca/p-post-ad.html?categoryId=696
WAIT SECONDS=5
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:PostAdMainForm ATTR=ID:priceAmount CONTENT={{!COL1}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:PostAdMainForm ATTR=ID:postad-title CONTENT={{!COL3}}
TAG POS=2 TYPE=INPUT:RADIO FORM=ID:PostAdMainForm ATTR=ID:forsaleby_s
TAG POS=1 TYPE=TEXTAREA FORM=ID:PostAdMainForm ATTR=ID:pstad-descrptn CONTENT={{!COL4}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:PostAdMainForm ATTR=ID:pstad-map-address CONTENT={{!COL5}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:PostAdMainForm ATTR=ID:PhoneNumber CONTENT={{!COL6}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:PostAdMainForm ATTR=ID:YoutubeURL CONTENT=https://www.youtube.com/watch?v=t6dTrQVzgio
TAG POS=1 TYPE=BUTTON FORM=ID:PostAdMainForm ATTR=ID:ImageUploadButton
TAG POS=1 TYPE=INPUT:FILE FORM=ID:PostAdMainForm ATTR=ID:ImageUpload CONTENT=C:\fakepath\GDT650SGFBB.jpg
WAIT SECONDS=20
TAG POS=1 TYPE=BUTTON FORM=ID:PostAdMainForm ATTR=NAME:saveAndCheckout
WAIT SECONDS=5
当我尝试上传并录制宏时,它会给我ATTR = ID:html5_fasdfsadfas< - code。
请你帮帮我。
谢谢
答案 0 :(得分:1)
iMacro版本9不支持上传功能,请尝试下载iMacro版本8.9.7,然后您的脚本将正常工作,脚本中没有任何错误。