51Testing软件测试论坛
标题:
脚本成功录制,但是回放失败:Vuser failed to initialize extension LrXml.dll.
[打印本页]
作者:
Emma007
时间:
2008-12-11 23:17
标题:
脚本成功录制,但是回放失败:Vuser failed to initialize extension LrXml.dll.
脚本已经成功录制了,但是回放的时候报错:
Warning: Extension LrXml.dll reports error -1 on call to function ExtPerThreadInitialize
Error: Vuser failed to initialize extension LrXml.dll.
Vuser Terminated.
我重新安装了一遍,但是仍然解决不了问题,我用的是LR8.1,请各位大侠帮帮忙,不知道我的问题出在哪里了,谢谢啦。
作者:
Emma007
时间:
2008-12-13 14:05
标题:
只是录制了登录,script在下面
/* -------------------------------------------------------------------------------
Script Title :
Script Description :
Recorder Version : 1196
------------------------------------------------------------------------------- */
vuser_init()
{
web_url("com.mercurytours.servlet.WelcomeServlet",
"URL=http://localhost/servlets/com.mercurytours.servlet.WelcomeServlet",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
lr_start_transaction("Sign In");
web_submit_form("com.mercurytours.servlet.SignonServlet",
"Snapshot=t2.inf",
ITEMDATA,
"Name=userName", "Value=myuser", ENDITEM,
"Name=password", "Value=MYPASSWD", ENDITEM,
"Name=login.x", "Value=13", ENDITEM,
"Name=login.y", "Value=9", ENDITEM,
EXTRARES,
"Url=../classes/calendar/showCalendar.class", "Referer=", ENDITEM,
"Url=../classes/calendar/CalSelect.class", "Referer=", ENDITEM,
"Url=../classes/calendar/Calendar.class", "Referer=", ENDITEM,
"Url=../classes/calendar/showCalendar$SymAction.class", "Referer=", ENDITEM,
LAST);
lr_end_transaction("Sign In",LR_AUTO);
return 0;
}
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2