|
/*
這是一個訂單編號為207100157的訂單排期錄制的腳本。如果在自動處理其他訂單編號,請問如何通過關聯處理。
。多謝謝各位大蝦。
*/
#include "web_api.h"
Action()
{
web_url("Pordin2.asp",
"URL=http://10.2.10.240/LF/ordernew/Pordin2.asp?editmode=9",
"Resource=0",
"RecContentType=text/html",
"Referer=http://10.2.10.240/LF/ordernew/",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);
lr_think_time( 6 );
web_submit_form("POrdIn2.asp",
"Snapshot=t4.inf",
ITEMDATA,
"Name=Ord", "Value=207100157", ENDITEM,
"Name=B1", "Value=½T©w", ENDITEM,
LAST);
web_url("POrdIn2.asp_2",
"URL=http://10.2.10.240/LF/ordernew/POrdIn2.asp?Ord=207100157",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t5.inf",
"Mode=HTML",
LAST);
lr_think_time( 6 );
web_url("SelTimeHour.Asp",
"URL=http://10.2.10.240/LF/ordernew/SelTimeHour.Asp?chkTime=True&temptime=2007/10/22%2006:00",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t6.inf",
"Mode=HTML",
LAST);
lr_think_time( 3 );
web_url("SelTimeHour.Asp_2",
"URL=http://10.2.10.240/LF/ordernew/SelTimeHour.Asp?chkTime=True&temptime=2007/10/22%2006:00",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t7.inf",
"Mode=HTML",
LAST);
lr_think_time( 16 );
web_submit_data("POrdIn2.asp_3",
"Action=http://10.2.10.240/LF/ordernew/POrdIn2.asp",
"Method=POST",
"RecContentType=text/html",
"Referer=http://10.2.10.240/LF/ordernew/POrdIn2.asp?Ord=207100157",
"Snapshot=t8.inf",
"Mode=HTML",
ITEMDATA,
"Name=h_no", "Value=YES018", ENDITEM,
"Name=m1", "Value=", ENDITEM,
"Name=color1", "Value=", ENDITEM,
"Name=met1", "Value=", ENDITEM,
"Name=jetA1", "Value=", ENDITEM,
"Name=jetB1", "Value=", ENDITEM,
"Name=paint1", "Value=", ENDITEM,
"Name=m2", "Value=", ENDITEM,
"Name=color2", "Value=", ENDITEM,
"Name=met2", "Value=", ENDITEM,
"Name=jetA2", "Value=", ENDITEM,
"Name=jetB2", "Value=", ENDITEM,
"Name=paint2", "Value=", ENDITEM,
"Name=Remark", "Value=", ENDITEM,
"Name=Mod1", "Value=8-9", ENDITEM,
"Name=Mod2", "Value=9/2-11", ENDITEM,
"Name= |
|