lr截获页面上产生的id
我在回放时页面上产生一个id,loarunner如何截获这个id?关联了没有用。 你没关联对,而不是关联没用 web_reg_save_param("WCSParam_Diff2",
"LB/IC=activityId=",
"RB/IC=&",
"Ord=all",
"Search=All",
LAST);
web_reg_save_param("WCSParam_Diff3",
"LB/IC=processId=",
"RB/IC=&",
"Ord=all",
"Search=All",
LAST);
web_submit_data("contrModify.so",
"Action=http://10.85.23.66:9000/sglaw/form/contrModify.so?contractId={WCSParam_Diff1}&nextActivityPartyDisName=朱元璋&nextActivityPartyName=O00000000000778&isnew=1&previouseActivityName=合同修改&handleType=postHandle&activityId={WCSParam_Diff2}&processId={WCSParam_Diff3}&currDefId=Package_d15203312d2_Wor1_Act2&finish=1&operateType=jump&JUMP_SIGN=jump",
"Method=POST",
"RecContentType=text/html",
"Referer=http://10.85.23.66:9000/sglaw/form/contdetailform.so?sotowerMethod=forupdate&sotowerPk={WCSParam_Diff1}",
"Snapshot=t27.inf",
"Mode=HTML",
ITEMDATA,
WCSParam_Diff1是用自动关联的,WCSParam_Diff2,WCSParam_Diff3是我自己手工写的!
WCSParam_Diff2,WCSParam_Diff3就是截获不到值
页:
[1]