imacros 提取不检索文本
imacros extract not retrieving text
我有以下代码:
VERSION BUILD=9030808 RECORDER=FX
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://www.demostorage.com/
TAG POS=1 TYPE=A ATTR=TXT:Login<SP>To<SP>Demo
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:/sessions?password=demo_manager&username=demo_manager ATTR=*
TAG POS=1 TYPE=SPAN ATTR=TXT:Reports
TAG POS=1 TYPE=A ATTR=TXT:Management<SP>Summary
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:/reports/management_summary_data ATTR=NAME:commit
' it sometimes takes some time for the report table to display. therefore wait for the 'Payments' text
TAG POS=1 TYPE=* ATTR=TXT:Payments EXTRACT=HTM
WAIT SECONDS = 2
SAVEAS TYPE=HTM FOLDER=* FILE=mytable_{{!NOW:yymmdd_hhnnss}}.htm
如果您 运行 此代码并查看结果文件,您会发现屏幕上的数据没有出现在本应保存整个页面的已保存文件中。知道我做错了什么傻事吗?
谢谢!
尝试从您的代码中提取 extract type extract this end line
SAVEAS TYPE=EXTRACT FOLDER=* FILE=mytable_{{!NOW:yymmdd_hhnnss}}.htm
我有以下代码:
VERSION BUILD=9030808 RECORDER=FX
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://www.demostorage.com/
TAG POS=1 TYPE=A ATTR=TXT:Login<SP>To<SP>Demo
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:/sessions?password=demo_manager&username=demo_manager ATTR=*
TAG POS=1 TYPE=SPAN ATTR=TXT:Reports
TAG POS=1 TYPE=A ATTR=TXT:Management<SP>Summary
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:/reports/management_summary_data ATTR=NAME:commit
' it sometimes takes some time for the report table to display. therefore wait for the 'Payments' text
TAG POS=1 TYPE=* ATTR=TXT:Payments EXTRACT=HTM
WAIT SECONDS = 2
SAVEAS TYPE=HTM FOLDER=* FILE=mytable_{{!NOW:yymmdd_hhnnss}}.htm
如果您 运行 此代码并查看结果文件,您会发现屏幕上的数据没有出现在本应保存整个页面的已保存文件中。知道我做错了什么傻事吗?
谢谢!
尝试从您的代码中提取 extract type extract this end line
SAVEAS TYPE=EXTRACT FOLDER=* FILE=mytable_{{!NOW:yymmdd_hhnnss}}.htm