|
刚接触LR,在录制的时候有这样的一个画面,点击复选框(全选)按钮提交表单,我在script里面看到的web_submit_data函数段如下
ITEMDATA,
"Name=ids", "Value=38-90", ENDITEM,
"Name=ids", "Value=38-91", ENDITEM,
"Name=ids", "Value=38-92", ENDITEM,
"Name=ids", "Value=38-93", ENDITEM,
"Name=ids", "Value=38-94", ENDITEM,
"Name=ids", "Value=38-95", ENDITEM,
"Name=ids", "Value=38-104", ENDITEM,
"Name=ids", "Value=38-105", ENDITEM,
"Name=ids", "Value=38-106", ENDITEM,
"Name=reason", "Value=", ENDITEM,
LAST);
复制代码当时点击全选的时候是有9条,但是回放的时候不一定是几条数据,请问下我该如何做关联?
还有一种情况是这样的 web_url("PaperAction.action",
"Url=../userspaper/UsersPaperAction_ajaxSave.action? answer=A&quersionId=255&userId=75&examId=37&isMakeupTest=0&flag=........?flag=front&paper.examId=37", ENDITEM,
.......(N条)
web_submit_form("UsersPaperAction_submit.action"
"Name=answerMap[255]", "Value=A", ENDITEM,
.......(同N条)
如上我该如何做关联。
谢谢各位大大了 |
|