Action()
{
web_add_cookie("eos_style_cookie=default; DOMAIN=182.180.49.196");
web_url("task.pr.prWorkLogPointQuery.do",
"URL=http://182.180.49.196:9080/fbrole/main/task.pr.prWorkLogPointQuery.do?clickCurrentMenuPath=??????->????",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t14.inf",
"Mode=HTML",
LAST);
web_submit_form("login.jsp",
"Snapshot=t15.inf",
ITEMDATA,
LAST);
lr_think_time(9);
web_submit_form("fbrole.proper.login.do",
"Snapshot=t16.inf",
ITEMDATA,
"Name=EOSOperator/userID", "Value=A074532", ENDITEM,
"Name=hciPasswordTypeEOSOperator/password", "Value=Alcatel6126", ENDITEM,
"Name=Submit", "Value=?", ENDITEM,
LAST);
web_url("blank.htm",
"URL=http://182.180.49.196:9080/pageComponent/resources/scripts/blank.htm",
"Resource=0",
"RecContentType=text/html",
"Referer=http://182.180.49.196:9080/fbrole/main/task.pr.prWorkLogSelectDateInputTaskForMain.do?calendar=2",
"Snapshot=t17.inf",
"Mode=HTML",
LAST);
web_submit_data("hiddensubmit.jsp",
"Action=http://182.180.49.196:9080/fbtools/page/hiddensubmit.jsp",
"Method=POST",
"RecContentType=text/xml",
"Referer=http://182.180.49.196:9080/fbrole/main/task.pr.prWorkLogSelectDateInputTaskForMain.do?calendar=2",
"Snapshot=t18.inf",
"Mode=HTML",
ITEMDATA,
"Name=bizAction", "Value=task.biz.bizGetDaysForTaskAlloted", ENDITEM,
"Name=startDate", "Value=2013-12-31", ENDITEM,
"Name=endDate", "Value=2014-2-1", ENDITEM,
LAST);
web_url("task.pr.prWorkLogPointQuery.do_2",
"URL=http://182.180.49.196:9080/fbrole/main/task.pr.prWorkLogPointQuery.do?clickCurrentMenuPath=日常工作管理->日报审批",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t19.inf",
"Mode=HTML",
LAST);
web_url("blank.htm_2",
"URL=http://182.180.49.196:9080/pageComponent/resources/scripts/blank.htm",
"Resource=0",
"RecContentType=text/html",
"Referer=http://182.180.49.196:9080/fbrole/main/task.pr.prWorkLogPointQuery.do?clickCurrentMenuPath=日常工作管理->日报审批",
"Snapshot=t20.inf",
"Mode=HTML",
LAST);
web_url("task.pr.prWorkLogViewByWorkLogId.do",
"URL=http://182.180.49.196:9080/fbrole/main/task.pr.prWorkLogViewByWorkLogId.do?&COWMS_T_WORKLOG/WORKLOGID=65194&tmp=0.5362331422148792",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t21.inf",
"Mode=HTML",
LAST);
web_url("blank.htm_3",
"URL=http://182.180.49.196:9080/pageComponent/resources/scripts/blank.htm",
"Resource=0",
"RecContentType=text/html",
"Referer=http://182.180.49.196:9080/fbrole/main/task.pr.prWorkLogViewByWorkLogId.do?&COWMS_T_WORKLOG/WORKLOGID=65194&tmp=0.5362331422148792",
"Snapshot=t22.inf",
"Mode=HTML",
LAST);
web_custom_request("hiddensubmit.jsp_2",
"URL=http://182.180.49.196:9080/fbtools/page/hiddensubmit.jsp",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=http://182.180.49.196:9080/fbrole/main/task.pr.prWorkLogViewByWorkLogId.do?&COWMS_T_WORKLOG/WORKLOGID=65194&tmp=0.5362331422148792",
"Snapshot=t23.inf",
"Mode=HTML",
"Body=bizAction=task.biz.bizWorkLogLeaderPointSave&COWMS_T_WORKLOG_LEADER_POINT/WORKLOGID=65194&ISPAST=2",
LAST);
web_submit_data("task.pr.prWorkLogPointQuery.do_3",
"Action=http://182.180.49.196:9080/fbrole/main/task.pr.prWorkLogPointQuery.do",
"Method=POST",
"RecContentType=text/html",
"Referer=http://182.180.49.196:9080/fbrole/main/task.pr.prWorkLogPointQuery.do?clickCurrentMenuPath=日常工作管理->日报审批",
"Snapshot=t24.inf",
"Mode=HTML",
ITEMDATA,
"Name=PageCond/length", "Value=20", ENDITEM,
"Name=PageCond/begin", "Value=0", ENDITEM,
"Name=PageCond/count", "Value=901", ENDITEM,
"Name=pageno", "Value=1", ENDITEM,
LAST);
web_url("blank.htm_4",
"URL=http://182.180.49.196:9080/pageComponent/resources/scripts/blank.htm",
"Resource=0",
"RecContentType=text/html",
"Referer=http://182.180.49.196:9080/fbrole/main/task.pr.prWorkLogPointQuery.do",
"Snapshot=t25.inf",
"Mode=HTML",
LAST);
return 0;
}
===================================
登录
Action()
{
web_url("WebTours",
"URL=http://127.0.0.1:1080/WebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
web_submit_form("login.pl",
"Snapshot=t2.inf",
ITEMDATA,
"Name=username", "Value=suv", ENDITEM,
"Name=password", "Value=888888", ENDITEM,
"Name=login.x", "Value=48", ENDITEM,
"Name=login.y", "Value=8", ENDITEM,
LAST);
return 0;
}
===============================================
Action()
{
web_url("WebTours",
"URL=http://127.0.0.1:1080/WebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t29.inf",
"Mode=HTML",
LAST);
web_submit_form("login.pl",
"Snapshot=t30.inf",
ITEMDATA,
"Name=username", "Value=suv", ENDITEM,
"Name=password", "Value=888888", ENDITEM,
"Name=login.x", "Value=43", ENDITEM,
"Name=login.y", "Value=1", ENDITEM,
LAST);
web_image("Search Flights Button",
"Alt=Search Flights Button",
"Snapshot=t31.inf",
LAST);
lr_think_time(4);
web_url("FormDateUpdate.class",
"URL=http://127.0.0.1:1080/WebTours/FormDateUpdate.class",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Mode=HTML",
LAST);
web_url("CalSelect.class",
"URL=http://127.0.0.1:1080/WebTours/CalSelect.class",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Mode=HTML",
LAST);
web_url("Calendar.class",
"URL=http://127.0.0.1:1080/WebTours/Calendar.class",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Mode=HTML",
LAST);
lr_think_time(4);
web_submit_data("reservations.pl",
"Action=http://127.0.0.1:1080/WebTours/reservations.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/reservations.pl?page=welcome",
"Snapshot=t32.inf",
"Mode=HTML",
ITEMDATA,
"Name=advanceDiscount", "Value=0", ENDITEM,
"Name=depart", "Value=Denver", ENDITEM,
"Name=departDate", "Value=12/18/2012", ENDITEM,
"Name=arrive", "Value=Denver", ENDITEM,
"Name=returnDate", "Value=12/19/2012", ENDITEM,
"Name=numPassengers", "Value=1", ENDITEM,
"Name=seatPref", "Value=Window", ENDITEM,
"Name=seatType", "Value=Business", ENDITEM,
"Name=.cgifields", "Value=roundtrip", ENDITEM,
"Name=.cgifields", "Value=seatType", ENDITEM,
"Name=.cgifields", "Value=seatPref", ENDITEM,
"Name=findFlights.x", "Value=56", ENDITEM,
"Name=findFlights.y", "Value=3", ENDITEM,
LAST);
web_submit_form("reservations.pl_2",
"Snapshot=t33.inf",
ITEMDATA,
"Name=outboundFlight", "Value=001;0;12/18/2012", ENDITEM,
"Name=reserveFlights.x", "Value=25", ENDITEM,
"Name=reserveFlights.y", "Value=15", ENDITEM,
LAST);
lr_think_time(17);
web_submit_form("reservations.pl_3",
"Snapshot=t34.inf",
ITEMDATA,
"Name=firstName", "Value=suv", ENDITEM,
"Name=lastName", "Value=suv", ENDITEM,
"Name=address1", "Value=song", ENDITEM,
"Name=address2", "Value=shanghai", ENDITEM,
"Name=pass1", "Value=suv suv", ENDITEM,
"Name=creditCard", "Value=3334433344", ENDITEM,
"Name=expDate", "Value=", ENDITEM,
"Name=saveCC", "Value=<OFF>", ENDITEM,
"Name=buyFlights.x", "Value=46", ENDITEM,
"Name=buyFlights.y", "Value=8", ENDITEM,
LAST);
web_url("welcome.pl",
"URL=http://127.0.0.1:1080/WebTours/welcome.pl?signOff=1",
"Resource=0",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/nav.pl?page=menu&in=flights",
"Snapshot=t35.inf",
"Mode=HTML",
LAST);
return 0;
}
========================================================================
Action()
{
web_service_call( "StepName=qryCIMMarketComNewCardActLog_101",
"SOAPMethod=CIMMarketComNewCardActLog|CIMMarketComNewCardActLogSOAP|qryCIMMarketComNewCardActLog",
"ResponseParam=response",
"Service=CIMMarketComNewCardActLog",
"ExpectedResponse=SoapResult",
"Snapshot=t1343114741.inf",
BEGIN_ARGUMENTS,
"xml:qryCIMMarketComNewCardActLog1="
"<qryCIMMarketComNewCardActLog1>"
"<version>1.0</version>"
"<I_CARD_NUM>6222520727167542</I_CARD_NUM>"
"</qryCIMMarketComNewCardActLog1>",
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);
lr_think_time(lr_eval_string("{response}"));
return 0;
}