查看完整版本: 设置关联

tinafrog 2008-5-9 13:14

设置关联

我在Tree View 中 通过web-reg-save-param设置关联,设置完成后弹出错误对话框,望指点!

iori 2008-5-9 13:22

脚本贴上来

tinafrog 2008-5-9 13:39

Action()
{
web_set_option( "MaxRedirectionDepth",
                "0",
                LAST );
web_reg_save_param("google",
                                   "LB=<A HREF=\"",
                                   "RB=/",
                                   LAST);
web_url("www.google.com",
                "URL=www.google.com",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                LAST);

        return 0;
}

我直接在脚本中用web_reg_save_param进行手动关联,但是执行时,提示参数找不到Error -26377: No match found for the requested parameter "goole"

tinafrog 2008-5-9 13:43

我把"URL=www.google.com",改为"URL=google",还是报错

msnshow 2008-5-10 17:28

右边界不对吧

msnshow 2008-5-10 17:29

[quote]原帖由 [i]tinafrog[/i] 于 2008-5-9 13:43 发表 [url=http://bbs.51testing.com/redirect.php?goto=findpost&pid=965240&ptid=114291][img]http://bbs.51testing.com/images/common/back.gif[/img][/url]
我把"URL=www.google.com",改为"URL=google",还是报错 [/quote]



与这个根本没关系,你改成这样是错的

cf_inper 2008-5-11 22:17

如果碰到这种情况,建议使用抓包工具,查看在人工操作的时候,包里面的信息是否和录制脚本时的server response信息相同。
页: [1]
查看完整版本: 设置关联