|
web_submit_data("batchservlet",
"Action=http://192.168.0.100:8080/myclub/batchservlet",
"Method=POST",
"RecContentType=text/html",
"Referer=http://server:8080/myclub/myphotoservlet",
"Snapshot=t12.inf",
"Mode=HTML",
ITEMDATA,
"Name=operation", "Value=0", ENDITEM,
"Name=returnurl", "Value=/myclub/myphotoservlet?currentPage=1", ENDITEM,
"Name=returnmessage", "Value=你的照片库第1页", ENDITEM,
"Name=ids", "Value=42DB458A47DE3C58B9A9DA7A2201BB1DDT", ENDITEM,
EXTRARES,
"Url=images/button.jpg", "Referer=http://server:8080/myclub/batchservlet", ENDITEM,
LAST);
---------------------------------------------------------------------------------------------------------
这是用LR录制的一段代码,是打开一个网页时获取的一些数据,其中"Name=ids", "Value=42DB458A47DE3C58B9A9DA7A2201BB1DDT", 这一行中,因每次打开相应网页时,Value的对应的值(是一张图片的文件名)都不一样,但录制后始终是一个固定植,我怎样能正确获取每次的值呢? |
|