|
在做数据关联时,有的地方自动关联是不能检测出来的,需要手动建关联..比如一个出库单列表,为了虚拟多个用户选择某一出库单(暂时定为出库单编号为001)进行操作时的系统负载,我们录制了脚本,但是,001出库单在列表中的顺序是变化的,每次打开时显示的行数据都不确定,这就需要做关联..
现在我将脚本和日志贴出来,希望有人可以帮我解决
脚本一.
eb_submit_data("confirmOutputSheet.do",
"Action=http://192.168.3.242:9080/webapp/lmss_logisticsmanage/confirmOutputSheet.do",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.3.242:9080/webapp/lmss_logisticsmanage/viewOutputSheet.do?outputSheetId=4028837211df6b820112032794fc5e3b",
"Snapshot=t23.inf",
"Mode=HTML",
ITEMDATA,
"Name=outputSheetId", "Value=4028837211df6b820112032794fc5e3b", ENDITEM,
"Name=cardCategoryId", "Value=4028837211df6b820111df9f75fe00ab", ENDITEM,
web_reg_save_param("getchedIndex",web_submit_data("confirmOutputSheet.do"),LAST),
"Name=checkedIndex", "Value=0", ENDITEM, **这是出库单所在的行
"Name=storeRecordId", "Value=4028837211df6b820112027eb00c5e27", ENDITEM,
"Name=num", "Value=1", ENDITEM,
"Name=startNumber", "Value={NewParam_2}", ENDITEM,
"Name=endNumber", "Value={{NewParam_3}", ENDITEM,
"Name=storeRecordId", "Value=4028837211df6b820111fe23eb8e34e9", ENDITEM,
"Name=startNumber", "Value=", ENDITEM,
"Name=endNumber", "Value=", ENDITEM,
"Name=storeRecordId", "Value=4028837211df6b820111fe15ba5132cf", ENDITEM,
"Name=startNumber", "Value=", ENDITEM,
"Name=endNumber", "Value=", ENDITEM,
"Name=storeRecordId", "Value=4028837211df6b820111fe15ba5132d0", ENDITEM,
"Name=startNumber", "Value=", ENDITEM,
"Name=endNumber", "Value=", ENDITEM,
"Name=storeRecordId", "Value=4028837211df6b820111fe44b7203502", ENDITEM,
"Name=startNumber", "Value=", ENDITEM,
"Name=endNumber", "Value=", ENDITEM,
"Name=isMainPage", "Value=true", ENDITEM,
"Name=_Action_Button_Name", "Value=确认出库", ENDITEM,
LAST);
现在的总是是,怎么做关联使得每次虚拟用户进入列表,都能自动找到出库单001的行号,选中其所在行的选择框,进行数据录入???
求大侠帮忙分析 |
|