但是报错:
Action.c(1414): Error -27985: There is no context for HTML-based functions. A previous function may not have used "Mode=HTML" or downloaded only non-HTML page(s), or the context has been reset (e.g., due to a GUI-based function) [MsgId: MERR-27985]
Action.c(1414): web_find highest severity level was "ERROR" [MsgId: MMSG-26391]
请问我该怎么办呢作者: ymwang119 时间: 2011-11-2 10:10
事务已经插入了,插入的检查点
web_find("文本检查点",
"What=//You have registered successfully//",
LAST);
但是报错:
Action.c(1414): Error -27985: There is no context for HTML-based functions. A previous function may not have used "Mode=HTML" or downloaded only non-HTML page(s), or the context has been reset (e.g., due to a GUI-based function) [MsgId: MERR-27985]
Action.c(1414): web_find highest severity level was "ERROR" [MsgId: MMSG-26391]
这个问题我已经解决了,web_find()用于HTML录制模式下,而我使用的是URL模式,所以会报错。
你的第2个问题,如果使用web_find()就必须要启用Enable Image and text check,而web_reg_find()则没有这种限制
最后,web_find()和web_reg_find()总结如下(仅供参考)