|
录制部分脚本如下:
web_submit_data("p_choose_s.htm",
"Action=http://192.168.0.6:8080/test/p_choose_s.htm?type=new&&code=2101",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.0.6:8080/test/p_choose_s.htm?type=new&&code=2101",
"Snapshot=t20.inf",
"Mode=HTML",
ITEMDATA,
"Name=modelName", "Value=080804ceshi11", ENDITEM,
"Name=indicators", "Value=31", ENDITEM,
"Name=indicators", "Value=07", ENDITEM,
"Name=indicators", "Value=08", ENDITEM,
"Name=indicators", "Value=03", ENDITEM,
"Name=indicators", "Value=30", ENDITEM,
"Name=indicators", "Value=02", ENDITEM,
"Name=indicators", "Value=01", ENDITEM,
"Name=audience", "Value=00000000", ENDITEM,
"Name=audience", "Value=00000001", ENDITEM,
"Name=area", "Value=340400", ENDITEM,
"Name=date", "Value=73*5/6", ENDITEM,
"Name=date", "Value=74*5/7", ENDITEM,
"Name=code", "Value=2100", ENDITEM,
"Name=save", "Value=确定", ENDITEM,
LAST);
这里indicators,audience,date都是可以多选的地方,用户在实际操作中可以根据需要选择一个或者多个,参数化这三个选项之后,再怎么处理才能使用户随机选择这三选项中的一个或多个?还请各路大侠赐教。 |
|