|
录制一个b/s结构系统的登录页面(非域用户登录),其中一段代码如下:
web_submit_form("loginform",
"Snapshot=t3.inf",
ITEMDATA,
"Name=username", "Value=admin", ENDITEM,
"Name=password", "Value=dido", ENDITEM,
"Name=selecttask", "Value=<OFF>", ENDITEM,
"Name=x", "Value=23", ENDITEM,
"Name=y", "Value=10", ENDITEM,
LAST);
每次运行时总是提示错误: Action.c(35): Error -27979: Requested form not found [MsgId: MERR-27979]
该系统登录页面中有关form部分的代码如下:
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" scroll="no">
<form name="loginform" method="post" action="login" onsubmit="return submitLogin();">
…………
</form></body>
form的name“loginform”和web_submit_form中请求的form是同一个,为什么还会报 Requested form not found 的错误呢?
要怎么修改才能正常运行?
[ 本帖最后由 jacyxu 于 2006-10-31 10:22 编辑 ] |
|