|
请教各位大侠,录制脚本后回放页面显示超时,
已经用web_reg_save_param("PeopleSoftJSessionID2",
"LB/IC=jsessionid=",
"RB/IC=?",
"Ord=1",
"Search=NoResource",
"RelFrameId=1",
LAST);
保存了sessionid,在登陆后页面显示超时:
web_submit_data("login.do;jsessionid={PeopleSoftJSessionID2}",
"Action=https://stg-fund.pingan.com.cn/etrading/integrate/login.do;jsessionid={PeopleSoftJSessionID2}",
"Method=POST",
"RecContentType=text/html",
"Referer=https://stg-fund.pingan.com.cn/etrading/",
"Snapshot=t146.inf",
"Mode=HTTP",
ITEMDATA,
"Name=method", "Value=doLogin", ENDITEM,
"Name=isNeedCert", "Value=", ENDITEM,
"Name=logtype", "Value=2", ENDITEM,
"Name=certificatetype", "Value=0", ENDITEM,
"Name=lognumber", "Value=42900619850702701X", ENDITEM,
"Name=tradepassword", "Value=12121212", ENDITEM,
"Name=authcode", "Value=2285", ENDITEM,
"Name=SECURE_TOKEN", "Value=EcPWT3UK9OR5q2kALBWD5DXT7A6fMcROMKRFTb5mA4", ENDITEM,
LAST);
完整脚本见附件 |
|