|
在baidu中,检查搜索结果页面是否含有“的”,使用web_find。
1 运行后,报错如下:
=================================================================
Action.c(18): Continuing after Error -27195: "web_find" failed. 0 occurrence(s) of "的" found (RightOf="", LeftOf="") [MsgId: MERR-27195]
=================================================================
2 脚本如下:
*****************************************************************
Action()
{
web_url("s_2",
"URL=http://www.baidu.com/s?wd=serena+zhang%B5%C4&cl=3",
"Resource=0",
"RecContentType=text/html",
"Referer=http://www.baidu.com/",
"Snapshot=t91.inf",
"Mode=HTML",
EXTRARES,
"URL=http://s.baidu.com/w.gif?path=http://www.baidu.com/s?wd=serena+zhang%B5%C4&cl=3&t=1191921178379", "Referer=http://www.baidu.com/s?wd=serena+zhang%B5%C4&cl=3", ENDITEM,
LAST);
web_find("web_find",
"RightOf=",
"LeftOf=",
"What=的",
LAST);
return 0;
}
*****************************************************************
3 根据网上搜索的关于“文字检查点出错”关于中文字符的设置,现设置如下:
1.recording option--advanced--选中support charset为UTF-8
2.run-time-setting-browers--brower emulation->chage设置语言为chinese(PRC)
请大家帮忙分析是什么原因? |
|