|
2#
楼主 |
发表于 2008-4-21 14:51:48
|
只看该作者
我把代码贴出来。。
web_reg_save_param("Siebel_Analytic_ViewState8",
"LB/IC=ViewState\" value=\"",
"RB/IC=\"",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
lr_think_time(18);
web_submit_data("Step1.aspx_2",
"Action=http://192.168.1.102/dsis20072/Common/Reg/Step1.aspx",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.1.102/dsis20072/Common/Reg/Step1.aspx",
"Snapshot=t55.inf",
"Mode=HTTP",
ITEMDATA,
"Name=__EVENTTARGET", "Value=", ENDITEM,
"Name=__EVENTARGUMENT", "Value=", ENDITEM,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState6}", ENDITEM,
"Name=CustomerNO", "Value=C08042100027", ENDITEM,
"Name=RecommendNO", "Value=C07012200001", ENDITEM,
"Name=RecommendNO_p", "Value=C07012200001", ENDITEM,
"Name=ParentNO", "Value=C07012200001", ENDITEM,
"Name=ParentNO_p", "Value=C07012200001", ENDITEM,
"Name=Region", "Value=1", ENDITEM,
"Name=ApplyGrade", "Value=1", ENDITEM,
"Name=ShopNO", "Value=s1000001", ENDITEM,
"Name=ShopNO_p", "Value=s1000001", ENDITEM,
"Name=BranchID", "Value=0", ENDITEM,
"Name=Nationality", "Value=CN", ENDITEM,
"Name=PersonPwd", "Value=", ENDITEM,
"Name=rePersonPwd", "Value=", ENDITEM,
"Name=PersonPwd2", "Value=", ENDITEM,
"Name=rePersonPwd2", "Value=", ENDITEM,
"Name=btnNext", "Value=下一步", ENDITEM,
"Name=__EVENTVALIDATION", "Value=/wEWGALHirLFCQK4gM43Aqu8+5MFAqq8+5MFAqTT0f0JAv2216sKAvy216sKAv+216sKApGH4OEGAqrUqOAFAsfNvokHAqrU4LQLAr7/pfoFAtvov4EKAo2Bv7UHAriBs7UHAryBw7UHArOBo7UHAruB07UHAtKx2eYOAu2V8dMEAtKxkeYOAu2ViesHArXh844KDJMF+0SGlOtHRobwU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UjdGhpcy5jbGFzc05hbWU9J2J1dHRvbl9vbm1vdXNlb3ZlcicfAgUjdGhpcy5jbGFzc05hbWU9J2J1dHRvbl9vbm1vdXNlZG93bicfAwUidGhpcy5jbGFzc05hbWU9J2J1dHRvbl9vbk1vdXNlT3V0J2QYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgEFCWNiU2VuZFNtcxc3MOX5W/YEyKT3WC/S3NA9yLHl"
// */
web_reg_save_param("Siebel_Analytic_ViewState10",
"LB/IC=ViewState\" value=\"",
"RB/IC=\"",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
web_submit_data("Step2.aspx",
"Action=http://192.168.1.102/dsis20072/Common/Reg/Step2.aspx",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.1.102/dsis20072/Common/Reg/Step2.aspx",
"Snapshot=t56.inf",
"Mode=HTTP",
ITEMDATA,
"Name=__EVENTTARGET", "Value=", ENDITEM,
"Name=__EVENTARGUMENT", "Value=", ENDITEM,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState8}", ENDITEM,
"Name=CustomerName", "Value=123", ENDITEM,
"Name=NickName", "Value=123", ENDITEM,
"Name=Sex", "Value=男", ENDITEM,
"Name=Birthday_hidden", "Value=", ENDITEM,
"Name=Birthday_input", "Value=输入或选择日期....", ENDITEM,
"Name=Birthday_DrpPnl_Calendar1", "Value=%3Cx%20PostData%3D%221975x1x-1x-1x-1%22%3E%3C/x%3E", ENDITEM,
"Name=CardType", "Value=1", ENDITEM,
"Name=CardNO", "Value=", ENDITEM,
"Name=BankName", "Value=1", ENDITEM,
"Name=BankCard", "Value=", ENDITEM,
"Name=BankUser", "Value=", ENDITEM,
"Name=Email", "Value=123", ENDITEM,
"Name=QQ", "Value=123", ENDITEM,
"Name=Mobile", "Value=1321", ENDITEM,
"Name=Phone", "Value=123", ENDITEM,
"Name=Fax", "Value=", ENDITEM,
"Name=Province", "Value=0", ENDITEM,
"Name=PostCode", "Value=", ENDITEM,
"Name=Address", "Value=", ENDITEM,
"Name=Address2", "Value=", ENDITEM,
"Name=btnNext", "Value=下一步", ENDITEM,
"Name=__EVENTVALIDATION", "Value=/wEWQQLr8cqxAgLdhYGMAgKE8PygBALmkv2sAwKiyv2sAwLvl9bCDwK6xOPLDgKdrO/XBALg5+ngCwLh5+ngCwLi5+ngCwLj5+ngCwLk5+ngCwLl5+ngCwL5luzTAgKQv/jOBQKS18aDDQLv7+bwDAKFwsiVBwKQibuWDQLcl+"
"bCDwKSkLieBAKnkLSeBAKjkMSeBAKskKSeBAKkkNSeBALFjs6PBQLajs6PBQLbjs6PBQLYjs6PBQLZjs6PBQLejs6PBQLfjs6PBQLcjs6PBQLNjs6PBQLCjs6PBQLajo6MBQLajoKMBQLajoaMBQLajrqMBQLajr6MBQLajrKMBQLajraMBQLajqqMBQLaju6PBQLajuKPBQLbjo6MBQLbjoKMBQLbjoaMBQLbjrqMBQLbjr6MBQLbjrKMBQLbjraMBQLbjqqMBQLbju6PBQLbjuKPBQLYjo6MBQLYjoKMBQLYjoaMBQLYjrqMBQK04YLJCwLLodLgCALLobquDALWs7u7BwK14fOOCoGrgMlC3tr9Vmt/nDhQLZe6E5xU", ENDITEM,
LAST);
web_submit_data("Step3.aspx",
"Action=http://192.168.1.102/dsis20072/Common/Reg/Step3.aspx",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.1.102/dsis20072/Common/Reg/Step3.aspx",
"Snapshot=t57.inf",
"Mode=HTTP",
ITEMDATA,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState10}", ENDITEM,
"Name=btnEnd", "Value=完成注册", ENDITEM,
"Name=__EVENTVALIDATION", "Value=/wEWBAL939W3AgKPjKzGCgLWs7u7BwKCk7HrDEeW0/qQeoASUUOfTLewrfWHWRVG", ENDITEM,
LAST); |
|