|
3#
楼主 |
发表于 2007-10-22 21:46:17
|
只看该作者
SOS 求助 如何進行這一個案例的關聯
/---在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=P_Date1", "Value=2007/10/22", ENDITEM,
"Name=Model11", "Value=200", ENDITEM,
"Name=Model12", "Value=210", ENDITEM,
"Name=Count1", "Value=410", ENDITEM,
"Name=PinCount1", "Value=0", ENDITEM,
"Name=PinCount2", "Value=0", ENDITEM,
"Name=PinCount", "Value=0", ENDITEM,
"Name=pP_Date1", "Value=2007/10/22", ENDITEM,
"Name=prodArea1", "Value=", ENDITEM,
"Name=pModel1d1", "Value=200", ENDITEM,
"Name=pModel1d2", "Value=210", ENDITEM,
"Name=pCount1", "Value=410", ENDITEM,
"Name=pPinCount1", "Value=0", ENDITEM,
"Name=pPinCount2", "Value=0", ENDITEM,
"Name=pPinCount", "Value=0", ENDITEM,
"Name=recRemark", "Value=", ENDITEM,
"Name=IfMode", "Value=0", ENDITEM,
"Name=EditMode", "Value=2", ENDITEM,
"Name=IsPOrd", "Value=T", ENDITEM,
"Name=IsPSch", "Value=F", ENDITEM,
"Name=pRecCount", "Value=0", ENDITEM,
"Name=RecCount", "Value=1", ENDITEM,
"Name=ModCount", "Value=2", ENDITEM,
"Name=Ord", "Value=207100157", ENDITEM,
"Name=RemMode", "Value=0", ENDITEM,
LAST);
return 0;
} |
|