51Testing软件测试论坛
标题:
用lr录制脚本时出现冗余信息
[打印本页]
作者:
wxy1623
时间:
2008-9-1 14:57
标题:
用lr录制脚本时出现冗余信息
用lr录制脚本,出现了一些看似冗余的信息。如下
web_add_cookie("AlexaVersion=7.2; DOMAIN=data.alexa.com");
web_url("ObX981Zdi1D0OW",
"URL=http://data.alexa.com/data/ObX981Zdi1D0OW?cli=10&dat=snba&ver=7.2&cdt=alx_vw%3D20%26wid%3D18455%26act%3D00400000000%26ss%3D1280x1024%26bw%3D1263%26t%3D0%26ttl%3D0%26vis%3D1%26rq%3D0&url=http://10.10.70.69/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
LAST);
每个动作之后都有类似这样的东西,我想把它去掉,该如何去做,请教高人指点,谢谢!
作者:
wxy1623
时间:
2008-9-1 14:58
我重装了lr也不能解决此问题。郁闷……
作者:
wxy1623
时间:
2008-9-1 17:00
怎么没有人帮我???
作者:
wxy1623
时间:
2008-9-1 17:00
怎么没有人帮我???
作者:
wxy1623
时间:
2008-9-2 11:02
把其中的url
http://data.alexa.com/data/ObX98 ... .70.69/login.action
;jsessionid=494B3E37D1F6F9987556924282272633
输入地址栏显示页面。
作者:
wxy1623
时间:
2008-9-10 09:19
问题都好几天了,管理员也不来帮我解决问题?
作者:
wxy1623
时间:
2008-9-10 13:54
我只录了登录,脚本显示如下:
Action()
{
web_add_cookie("MUZHI_NO=10018; DOMAIN=10.10.70.69");
web_add_cookie("MUZHI_PWD=111111; DOMAIN=10.10.70.69");
web_add_cookie("MUZHI_UID=350; DOMAIN=10.10.70.69");
web_url("10.10.70.69",
"URL=http://10.10.70.69/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t11.inf",
"Mode=HTML",
LAST);
web_add_cookie("AV_ccLoad=false; DOMAIN=data.alexa.com");
web_add_cookie("twymu=; DOMAIN=data.alexa.com");
web_add_cookie("twym65_disabled=false; DOMAIN=data.alexa.com");
web_add_cookie("twym65=CCA28FC6DAE39DA8629AA1D8%2521C69ACAC8EEA89CA2A1%2521; DOMAIN=data.alexa.com");
web_add_cookie("AlexaVersion=7.2; DOMAIN=data.alexa.com");
web_url("ObX981Zdi1D0OW",
"URL=http://data.alexa.com/data/ObX981Zdi1D0OW?cli=10&dat=snba&ver=7.2&cdt=alx_vw%3D20%26wid%3D19581%26act%3D00400000000%26ss%3D1280x1024%26bw%3D829%26t%3D0%26ttl%3D0%26vis%3D1%26rq%3D0&url=http://10.10.70.69/",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t12.inf",
"Mode=HTML",
LAST);
web_submit_data("login.action;jsessionid=4A4D69C75B50B5D8421A7563D59E412E",
"Action=http://10.10.70.69/login.action;jsessionid=4A4D69C75B50B5D8421A7563D59E412E",
"Method=POST",
"RecContentType=text/html",
"Referer=http://10.10.70.69/",
"Snapshot=t13.inf",
"Mode=HTML",
ITEMDATA,
"Name=mobileno", "Value=10018", ENDITEM,
"Name=password", "Value=111111", ENDITEM,
LAST);
web_url("ObX981Zdi1D0OW_2",
"URL=http://data.alexa.com/data/ObX981Zdi1D0OW?cli=10&dat=snba&ver=7.2&cdt=alx_vw%3D20%26wid%3D19581%26act%3D00000000000%26ss%3D1280x1024%26bw%3D829%26t%3D1%26ttl%3DNaN%26vis%3D1%26rq%3D1&url=http://10.10.70.69/login.action;jsessionid=4A4D69C75B50B5D8421A7563D59E412E",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t14.inf",
"Mode=HTML",
LAST);
return 0;
}
有人帮我看吗?
作者:
wxy1623
时间:
2008-9-10 14:30
妈呀,终于搞定了。
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2