|
录制了一段程序,成功完成录制;
在回放过程中,执行失败,老是到了这步失败,如下:
web_url("PersonalSettingEdit.aspx",
"URL=http://localhost/dytk1/SystemManage/PersonalSettingEdit.aspx",
"Resource=0",
"RecContentType=text/html",
"Referer=http://localhost/dytk1/SystemManage/main.htm",
"Snapshot=t6.inf",
"Mode=HTML",
EXTRARES,
"Url=../images/main/list_title.gif", ENDITEM,
"Url=../images/main/body/t.gif", ENDITEM,
"Url=../images/main/body/lt.gif", ENDITEM,
"Url=../images/main/body/rt.gif", ENDITEM,
"Url=../images/main/body/l.gif", ENDITEM,
"Url=../images/main/body/r.gif", ENDITEM,
"Url=../images/main/body/lb.gif", ENDITEM,
"Url=../images/main/body/b.gif", ENDITEM,
"Url=../images/main/body/rb.gif", ENDITEM,
LAST);
提示错误为:
vuser_init.c(81): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://localhost/dytk1/SystemManage/PersonalSettingEdit.aspx" [MsgId: MERR-26612]
vuser_init.c(81): web_url("PersonalSettingEdit.aspx") highest severity level was "ERROR", 9088 body bytes, 2470 header bytes [MsgId: MMSG-26388]
不知道错误的原因,我直接将http://localhost/dytk1/SystemManage/PersonalSettingEdit.aspx拷到ie里面执行,结果提示应用程序中服务器的错误;
后来看了下PersonalSettingEdit.aspx页面的代码,发现用到了Session["UserCode"].ToString(),Session["QYM"].ToString(),我就怀疑是不是session值没有录制下来,导致运行失败,试了几次,想把这两个session值加到web_url函数里面,都失败了,那么想请教下怎么加到web_url里面去? |
|