|
2#
楼主 |
发表于 2016-12-22 10:37:05
|
只看该作者
这里是录制的脚本内容
Action()
{
web_set_max_html_param_len("1024");
/* Registering parameter(s) from source task id 3
// {Siebel_Analytic_ViewState2} = "Eg2/tI90r+UU78Pp7PJWuOhhXbxosDYCbbvnXjpluoqrNoHxMZFXsNSA2fJ9F6WtAGn5ldP516zpL9umdFXf05AOW5IVaxEZ0MMdJmubwL4="
// */
web_reg_save_param("Siebel_Analytic_ViewState2",
"LB/IC=ViewState\" value=\"",
"RB/IC=\"",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
web_url("WebForm1.aspx",
"URL=http://10.203.1.153/WebApplication2/WebForm1.aspx",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTTP",
LAST);
web_url("favicon.ico",
"URL=http://10.203.1.153/favicon.ico",
"Resource=1",
"Referer=",
LAST);
web_submit_data("WebForm1.aspx_2",
"Action=http://10.203.1.153/WebApplication2/WebForm1.aspx",
"Method=POST",
"RecContentType=text/html",
"Referer=http://10.203.1.153/WebApplication2/WebForm1.aspx",
"Snapshot=t2.inf",
"Mode=HTTP",
ITEMDATA,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState2}", ENDITEM,
"Name=__VIEWSTATEGENERATOR", "Value=C9C0A2AC", ENDITEM,
"Name=__EVENTVALIDATION", "Value=vslx78JyQpPqX1JLPln2TLvC/CDbvtnA7Z3t4lTjDIU9QGT3u8EBVXRVaQgpcPNc27GpO/04ubWPdTjioMateF0KRJ44MakGW3Dm6xUPUxqwHrMLHnEdccZcE0ITKu5kSYFNi6bpJw/twIJSCvXsGw==", ENDITEM,
"Name=TextBox1", "Value=aaa", ENDITEM,
"Name=Button1", "Value=Submit", ENDITEM,
LAST);
web_url("favicon.ico_2",
"URL=http://10.203.1.153/favicon.ico",
"Resource=1",
"Referer=",
LAST);
return 0;
}
|
|