|
这个应该很像了吧,自己对着改
web_reg_save_param("Siebel_Analytic_ViewState",
"LB/IC=ViewState\" value=\"",
"RB/IC=\"",
"Ord=1",
"Search=Body",
LAST);
web_url("login.aspx",
"URL=xxxxxxxxxxxxxxxxx",
"Resource=0",
"RecContentType=text/html",
"Mode=HTTP",
LAST);
web_submit_data("login.aspx_2",
"Action=xxxxxxxxxxxxxxxxxxx",
"Method=POST",
"RecContentType=text/html",
"Mode=HTTP",
ITEMDATA,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState}", ENDITEM,
"Name=username", "Value=test", ENDITEM,
"Name=password", "Value=1234", ENDITEM,
"Name=CheckCode", "Value=1111", ENDITEM,
"Name=btnSubmit.x", "Value=1", ENDITEM,
"Name=btnSubmit.y", "Value=1", ENDITEM,
LAST); |
|