我试图从.csv文件创建电子邮件但是TO; IMACROS无法识别字段和BODY字段。我附上了一段视频,向您展示我所看到的内容并更好地解释了我的问题。 http://screencast.com/t/euhT6X17
以下是错误和脚本:
RuntimeError: element INPUT specified by SRC:https://webmail-be.tomtomgroup.com/owa/14.3.169.1/themes/resources/clear1x1.gif was not found, line 15 (Error code: -921)
脚本:
VERSION BUILD=8820413 RECORDER=FX
SET !DATASOURCE capterra.csv
SET !LOOP 2
SET !DATASOURCE_LINE {{!LOOP}}
URL GOTO=https://webmail-be.tomtomgroup.com/owa/?modurl=0
TAG POS=2 TYPE=SPAN ATTR=TXT:New
TAB T=2
wait seconds=4
CLICK X=114 Y=46
TAG POS=1 TYPE=DIV ATTR=ID:divTo CONTENT={{!COL5}}
wait seconds=4
TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:txtSubj CONTENT={{!COL5}}
wait seconds=4
CLICK X=28 Y=32
TAG POS=30 TYPE=INPUT:TEXT ATTR=SRC:https://webmail-be.tomtomgroup.com/owa/14.3.169.1/themes /resources/clear1x1.gif CONTENT={{!COL5}}
TAG POS=1 TYPE=SPAN ATTR=TXT:Send
SET !LOOP 2
提前感谢您的帮助。
答案 0 :(得分:0)
尝试将其更改为此。
TAG POS=30 TYPE=INPUT:TEXT ATTR=SRC:https://webmail-be.tomtomgroup.com/owa/14.3.169.1/themes/resources/clear1x1.gif CONTENT={{!COL5}}