|
ACTION:
/*点击登录,进入登录页面*/
lr_think_time(35);
//Correlation comment - Do not change!Original value='bottom' Name ='CorrelationParameter_1'
web_reg_save_param_ex(
"ParamName=CorrelationParameter_1",
"LB=a href=\"/",
"RB=A",
SEARCH_FILTERS,
"Scope=Body",
"RequestUrl=*/bottomAction_register_auction.do*",
LAST);
web_url("bottomAction_register_auction.do",
"URL=http://test.epailive.com/bottomAction_register_auction.do?channel=1&fileName=login.jsp",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://test.epailive.com/index.shtml",
"Snapshot=t3.inf",
"Mode=HTML",
EXTRARES,
"URL=/images/login-pg-bigbgline1.gif", "Referer=http://test.epailive.com/bottomAction_register_auction.do?channel=1&fileName=login.jsp", ENDITEM,
"URL=/images/menu7_03_h.gif", "Referer=http://test.epailive.com/bottomAction_register_auction.do?channel=1&fileName=login.jsp", ENDITEM,
"URL=/images/login-pg-introRgtPic1.gif", "Referer=http://test.epailive.com/bottomAction_register_auction.do?channel=1&fileName=login.jsp", ENDITEM,
"URL=/images/login-pg-txinputBg1.gif", "Referer=http://test.epailive.com/bottomAction_register_auction.do?channel=1&fileName=login.jsp", ENDITEM,
"URL=/images/vicon_correct.gif", "Referer=http://test.epailive.com/bottomAction_register_auction.do?channel=1&fileName=login.jsp", ENDITEM,
LAST);
/*½øÈëµÇ¼²Ù×÷*/
lr_think_time(6);
web_submit_data("loginAction_login_auction.do",
"Action=http://test.epailive.com/auction/loginAction_login_auction.do",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://test.epailive.com/{CorrelationParameter_1}Action_register_auction.do?channel=1&fileName=login.jsp",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=sessionId", "Value=", ENDITEM,
"Name=isOnline", "Value=", ENDITEM,
"Name=baseMemberInfo.memberLoginName", "Value={User}", ENDITEM,
"Name=baseMemberInfo.memberLoginPw", "Value={Pwd}", ENDITEM,
"Name=rememberLoginName", "Value=on", ENDITEM,
LAST);
web_submit_data("loginAction_login_auction.do_2",
"Action=http://test.epailive.com/auction/loginAction_login_auction.do",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://test.epailive.com/auction/loginAction_login_auction.do",
"Snapshot=t5.inf",
"Mode=HTML",
ITEMDATA,
"Name=sessionId", "Value=", ENDITEM,
"Name=isOnline", "Value=", ENDITEM,
"Name=baseMemberInfo.memberLoginName", "Value=abc1@epai.hk", ENDITEM,
"Name=baseMemberInfo.memberLoginPw", "Value=a123456", ENDITEM,
"Name=rememberLoginName", "Value=on", ENDITEM,
EXTRARES,
"URL=../images/epai-main-membrWelcm.gif", "Referer=http://test.epailive.com/indexAction_index.do?channel=1", ENDITEM,
"URL=../images/epai-main-videolist-tit-hover.gif", "Referer=http://test.epailive.com/indexAction_index.do?channel=1", ENDITEM,
LAST);
/*进入登录操作*/
lr_think_time(16);
web_url("index.shtml_2",
"URL=http://test.epailive.com/member/index.shtml",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://test.epailive.com/indexAction_index.do?channel=1",
"Snapshot=t6.inf",
"Mode=HTML",
EXTRARES,
"URL=../images/my-epai_mainbac_03.jpg", ENDITEM,
"URL=../images/my-epai_maincollec_06.jpg", ENDITEM,
"URL=../images/my-epai_mainbott_03.jpg", ENDITEM,
LAST);
/*进入我的易拍全球*/
lr_think_time(7);
web_url("帐户管理",
"URL=http://test.epailive.com/member/myEpaiAccountAction_accountInfo_member.do?channel=7",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://test.epailive.com/member/index.shtml",
"Snapshot=t7.inf",
"Mode=HTML",
LAST);
/*进入资金管理页面*/
lr_think_time(10);
web_url("帐户管理",
"URL=http://test.epailive.com/memberAccountAction_account_member.do",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://test.epailive.com/member/myEpaiAccountAction_accountInfo_member.do?channel=7",
"Snapshot=t8.inf",
"Mode=HTML",
EXTRARES,
"URL=/datepicker/skin/WdatePicker.css", "Referer=http://test.epailive.com/member/memberAccountAction_consume1_member.do", ENDITEM,
"URL=/images/upcoming-main-7_03.gif", "Referer=http://test.epailive.com/member/memberAccountAction_consume1_member.do", ENDITEM,
"URL=/images/Jintian_03.gif", "Referer=http://test.epailive.com/member/memberAccountAction_consume1_member.do", ENDITEM,
"URL=/images/naironf3_9_03.gif", "Referer=http://test.epailive.com/member/memberAccountAction_consume1_member.do", ENDITEM,
LAST);
web_url("My97DatePicker.htm",
"URL=http://test.epailive.com/datepicker/My97DatePicker.htm",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://test.epailive.com/memberAccountAction_account_member.do",
"Snapshot=t9.inf",
"Mode=HTML",
EXTRARES,
"URL=lang/zh-cn.js", ENDITEM,
"URL=skin/simple/datepicker.css", ENDITEM,
"URL=skin/whyGreen/datepicker.css", ENDITEM,
"URL=skin/default/datepicker.css", ENDITEM,
"URL=skin/simple/navLeft_03.gif", ENDITEM,
"URL=skin/simple/left.gif._05.gif", ENDITEM,
"URL=skin/simple/navRight.gif_03.gif", ENDITEM,
"URL=skin/simple/right_03.gif", ENDITEM,
"URL=skin/simple/qs_03.gif", ENDITEM,
LAST);
/*进入资金管理页*/
lr_think_time(10);
web_url("payAction_recharge_authorize.do",
"URL=http://test.epailive.com/payAction_recharge_authorize.do",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://test.epailive.com/memberAccountAction_account_member.do",
"Snapshot=t10.inf",
"Mode=HTML",
EXTRARES,
"URL=/images/zhifu_15.gif", ENDITEM,
LAST);
/*进入充值页*/
/*开始充值*/
lr_think_time(29);
lr_start_transaction("³äÖµ¶¯×÷¿ªÊ¼");
web_submit_data("smsSerivce_getVerifyCode.do",
"Action=http://test.epailive.com/smsSerivce_getVerifyCode.do",
"Method=POST",
"TargetFrame=",
"Referer=http://test.epailive.com/payAction_recharge_authorize.do",
"Snapshot=t11.inf",
"Mode=HTML",
ITEMDATA,
"Name=mobile", "Value=15011547116", ENDITEM,
LAST);
/*开始充值*/
/*点击发送验证码*/
lr_think_time(29);
web_submit_data("payAction_verifyMobileVerifyCode_authorize.do",
"Action=http://test.epailive.com/payAction_verifyMobileVerifyCode_authorize.do",
"Method=POST",
"TargetFrame=",
"Referer=http://test.epailive.com/payAction_recharge_authorize.do",
"Snapshot=t12.inf",
"Mode=HTML",
ITEMDATA,
"Name=verifyCode", "Value=123456", ENDITEM,
LAST);
web_submit_data("payAction_rechargeSure_authorize.do",
"Action=http://test.epailive.com/payAction_rechargeSure_authorize.do",
"Method=POST",
"TargetFrame=",
"Referer=http://test.epailive.com/payAction_recharge_authorize.do",
"Snapshot=t13.inf",
"Mode=HTML",
ITEMDATA,
"Name=payVO.consumeType", "Value=1", ENDITEM,
"Name=payVO.commerce", "Value=", ENDITEM,
"Name=payVO.orderNo", "Value=00000000", ENDITEM,
"Name=payVO.forwardUrl", "Value=member/memberAccountAction_account_member.do", ENDITEM,
"Name=payVO.unionPrev", "Value=1064", ENDITEM,
"Name=payVO.payMode", "Value=1", ENDITEM,
"Name=payVO.whiteListId", "Value=100135", ENDITEM,
"Name=bankCardType", "Value=0", ENDITEM,
"Name=payVO.rapidMoney", "Value=1111", ENDITEM,
"Name=payVO.verifiCode", "Value=123456", ENDITEM,
"Name=payVO.unionMoney", "Value=", ENDITEM,
LAST);
web_url("memberAccountAction_account_member.do",
"URL=http://test.epailive.com/member/memberAccountAction_account_member.do",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://test.epailive.com/payAction_recharge_authorize.do",
"Snapshot=t14.inf",
"Mode=HTML",
LAST);
web_url("My97DatePicker.htm_2",
"URL=http://test.epailive.com/datepicker/My97DatePicker.htm",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://test.epailive.com/member/memberAccountAction_account_member.do",
"Snapshot=t15.inf",
"Mode=HTML",
LAST);
lr_end_transaction("充值 动作开始", LR_AUTO);
return 0; |
|