问题现象:
如上图中的我想关联
<ins class="curmarker" id="cur2494"></ins><ins class="deftip">榛樿鍦板潃</ins>中的2494怎么办呢?
因为右边界是乱码
解决方法:
直接将在关联函数中将乱码写成中文即可
通过两个关联函数获取:
第一次回放,写乱码作为关联边界:
第二次用中文获取:
//Correlation comment - Do not change! Original value='2494' Name ='CorrelationParameter_1'
web_reg_save_param_ex(
"ParamName=defaultAddressId1",
"LB=<ins class=\"curmarker\" id=\"cur",
// "RB=\"></ins><ins class=\"deftip\">榛樿鍦板潃</ins>",
"RB=\"></ins><ins class=\"deftip\">默认地址</ins>",
// "RB=\"></ins><ins class=\"deftip\">",
// "RB=\">",
SEARCH_FILTERS,
"Scope=All",
"IgnoreRedirections=Yes",
"RequestUrl=*/OrderSubmitView*",
LAST); //Correlation comment - Do not change! Original value='2494' Name ='CorrelationParameter_2'
web_reg_save_param_ex(
"ParamName=defaultAddressId2",
"LB=<input type=\"hidden\" value=\"",
"RB=\" id=\"addresshidden\" />",
SEARCH_FILTERS,
"Scope=All",
"IgnoreRedirections=Yes",
"RequestUrl=*/OrderSubmitView*",
LAST);