51Testing软件测试论坛
标题:
用LR录制脚本时,web_lik函数中总是一串空格
[打印本页]
作者:
kaitycool
时间:
2008-2-21 12:33
标题:
用LR录制脚本时,web_lik函数中总是一串空格
求助,那位高手能帮看看,我录制的脚本中web_lik函数总是一串空格,录制的脚本如下:
web_link(" ",
"Text= ",
"Ordinal=1",
"Snapshot=t4.inf",
EXTRARES,
"Url=resources/images/common/button_01a.gif", "Referer=http://192.168.11.14:8001/gzcg/module.do?todo=getModuleList", ENDITEM,
"Url=resources/images/common/oa.gif", "Referer=http://192.168.11.14:8001/gzcg/module.do?todo=getModuleList", ENDITEM,
LAST);
运行后出现如下提示:
Action.c(42): web_link(" ") highest severity level was "warning", 20064 body bytes, 1111 header bytes, 21 chunking overhead bytes [MsgId: MMSG-26387]
Action.c(62): Notify: Transaction "login" ended with "Pass" status (Duration: 3.6670).
作者:
yuanlj
时间:
2008-2-21 13:44
去查查web_link函数的意义,再问问开发人员这块是怎么写的?
作者:
zhangtao
时间:
2008-2-21 14:25
试着写一个web_url函数替换它
作者:
kaitycool
时间:
2008-2-21 15:19
还是不懂解决啊,就是打开网页,然后登录进入网页,什么都没做,怎么会web_link中有一串空格
还有因为这系统要求较高,做过代码和数据库的优化,这也不至于录制脚本录制不上啊
作者:
kaitycool
时间:
2008-2-21 15:37
用web_url替换了,web_url也出现一串空格,
web_url(" ",
"URL=http://192.168.11.14:8001/gzcg/module.do?todo=getMenuAndFunctionList&privilegeNO=5",
"TargetFrame=left",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.11.14:8001/gzcg/index.jsp",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);
作者:
kaitycool
时间:
2008-2-21 15:40
回放,还是出现warning
Action.c(60): web_url(" ") highest severity level was "warning", 16425 body bytes, 505 header bytes, 21 chunking overhead bytes [MsgId: MMSG-26387]
Action.c(74): Notify: Transaction "login" ended with "Pass" status (Duration: 0.7503).
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2