|
- web_submit_data("PredepositAccounts.aspx",
- "Action=http://192.168.1.251:8888/FillUpMoney/PredepositAccounts.aspx?type=CreateID&ID=1369",
- "Method=POST",
- "RecContentType=text/html",
- "Referer=http://192.168.1.251:8888/FillUpMoney/PredepositAccounts.aspx?type=CreateID&ID=1369",
- "Snapshot=t70.inf",
- "Mode=HTTP",
- ITEMDATA,
- "Name=__VIEWSTATE", "Value={MyViewState}", ENDITEM,
- "Name=__EVENTVALIDATION", "Value={MyEventValidation}", ENDITEM,
- "Name=txtStaffId", "Value=jiaxin3", ENDITEM,
- "Name=txtName", "Value=jiaxin3", ENDITEM,
- "Name=txtDeptName", "Value=jiaxin3", ENDITEM,
- "Name=txtDeptShortName", "Value=jiaxin3", ENDITEM,
- "Name=txtCity", "Value=沈阳", ENDITEM,
- "Name=txtThirdWord", "Value=", ENDITEM,
- "Name=txtLinkMan", "Value=jiaxin3", ENDITEM,
- "Name=txtLinkPhone", "Value=12312321321", ENDITEM,
- "Name=txtAddr", "Value=", ENDITEM,
- "Name=txtPost", "Value=123212", ENDITEM,
- "Name=txtAliPayAccount", "Value=12312@yahoo.com", ENDITEM,
- "Name=txtAdvanceAccount", "Value=112fs", ENDITEM,
- "Name=txtPhone", "Value=12345678", ENDITEM,
- "Name=txtDummyAccountCount", "Value=0", ENDITEM,
- "Name=rbtnFillUpMoney", "Value=1", ENDITEM,
- "Name=rabtnS", "Value=下级承担", ENDITEM,
- "Name=txtFL", "Value=0.0", ENDITEM,
- "Name=txtAliLinkName", "Value=ccdd", ENDITEM,
- "Name=txtAddrLink", "Value=saaa", ENDITEM,
- "Name=btnSubmit", "Value=确定", ENDITEM,
- "Name=txtHIT", "Value=1", ENDITEM,
- LAST);
复制代码 这是一个开户页面,我使用单步回放来跟踪脚本,当执行到这一步的时候,页面上已经有值传入了,但是执行完以后,该账号仍然没有成功开户.但是脚本没有报错
VIEWSTATE和EVENTVALIDATIOIN这两个参数最开始我没有关联的,不行.然后我关联上以后还是不行.
不明白到底是为什么/.. |
|