|
LoadRunner 11录制脚本后,在Generation Log中有段代码如下: <td nowrap="nowrap" width="25%">
<input type="hidden" name="scheduleStatus" value="1" />
<input type="hidden" name="status" value="1" />
<input type="hidden" name="itemsContentOriginal" value="粤AF1Q25" />
<input type="checkbox" name="check"
checked="checked"
onclick="onclickCheckbox(0);" />
<input type="hidden" name="itemsId"
value="60980482" />
<!-- subIndex 和 status.index 可能不同 see s:iterator下的if -->
</td>
而代码中的60980482就是需要关联的值,关联函数如下:
web_reg_save_param("itemsId_1",
"LB=type=\"hidden\" name=\"itemsId\"\r\nvalue=\"",
"RB=\"",
"Ord=1",
"Search=Body",
LAST);
回放脚本的时候系统提示: Error -26377: No match found for the requested parameter "itemsId_1". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 1024 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
请问这个换行的数据要如何关联? |
|