1
我在写一个iMacros脚本,它将在Moodle课程中发布数据。iMacros TAG字段输入无法检测到HTML字段
我试图使用标签粘贴在描述字段的内容,但它不承认领域:
<div id="fitem_id_introeditor" class="fitem fitem_feditor "><div class="fitemtitle"><label for="id_introeditor">Description </label></div><div class="felement feditor"><div><div><textarea id="id_introeditor" name="introeditor[text]" rows="10" cols="80" spellcheck="true"></textarea></div><div><input name="introeditor[format]" type="hidden" value="1" /></div><input type="hidden" name="introeditor[itemid]" value="149225125" /><noscript><div><object type='text/html' data='http://domain.com/moodle29/repository/draftfiles_manager.php?action=browse&env=editor&itemid=149225125&subdirs=1&maxbytes=0&areamaxbytes=-1&maxfiles=-1&ctx_id=35&course=4&sesskey=0cvoTuPGNP' height='160' width='600' style='border:1px solid #000'></object></div></noscript></div></div></div>
到目前为止我试图使用这些:
'TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:id_introeditoreditable CONTENT="test"
'TAG POS=1 TYPE=DIV ATTR=ID:id_introeditoreditable CONTENT="test"
'TAG POS=1 TYPE=TEXTAREA ATTR=ID:yui_3_17_2_2_1445343121435_1492 CONTENT="test"
'TAG POS=1 TYPE=INPUT:TEST/HTML ATTR=ID:id_introeditor CONTENT="test"
但以上都没有捕获该领域的粘贴。
任何建议都不胜感激。
谢谢!
尝试使用“实验事件记录模式”。 ('录制选项'按钮 - >录制喜好窗口。)这种方式可能会有所帮助。 – Shugar