|
C#的web产品,录的html模式里面的第一二个选项都试过,脚本回放时老报500错误,
手动操作一切正常。
脚本如下:
Action()
{
web_url("WaitTask.aspx",
...
web_submit_data("bottom.aspx",
...
web_url("WaitProblem.aspx",
...
return 0;
}
里面的部分就不复制来了,反正都是些文件头,页面元素值,指向 等等...
报错如下:
Starting iteration 1.
Starting action Action.
Action.c(4): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://192.168.11.223/dtscspcmsnew/NewDesktop/WaitTask.aspx" [MsgId: MERR-26612]
Action.c(4): web_url("WaitTask.aspx") highest severity level was "ERROR", 5543 body bytes, 240 header bytes [MsgId: MMSG-26388]
Ending action Action.
Ending iteration 1.
手工操作页面无问题, 怎么解决? |
|