如何用LR对网页中下拉列表的进行修改?
本帖最后由 lovelyfeng 于 2012-6-1 15:21 编辑我目前用LR来录制修改一个会员的资料。因此需要修改会员的所在地。
目前所在地是一个下拉列表,在提交保存时。请问通过LR如何进行资料的修改保存?
http://bbs.51testing.com/attachments/swfupload/120601150891fd23b8f8b0d8d0.png
web_submit_data("memberregisty.jsp",
"Action=http://ts.opsteel.cn/opsteel/admin/member/company/memberregisty.jsp?optype=2",
"Method=POST",
"RecContentType=text/html",
"Referer=http://ts.opsteel.cn/opsteel/admin/member/company/memberregisty.jsp?id=13724643&optype=0&companyid=13724643&rnd=1338531207166",
"Snapshot=t8.inf",
"Mode=HTML",
ITEMDATA,
"Name=cname", "Value=test0020", ENDITEM,
"Name=webadd", "Value=", ENDITEM,
"Name=linkman", "Value=test0020", ENDITEM,
"Name=province", "Value=广东省", ENDITEM,
"Name=city", "Value=广州市", ENDITEM,
"Name=mobile", "Value=12345678912", ENDITEM,
"Name=address", "Value=", ENDITEM,
"Name=telno", "Value=02012345678", ENDITEM,
"Name=QQ", "Value=", ENDITEM,
"Name=email", "Value=", ENDITEM,
"Name=enterpricetype", "Value=QT", ENDITEM,
"Name=fax", "Value=02012345678", ENDITEM,
"Name=introduce", "Value=", ENDITEM,
"Name=isshowincorplib", "Value=on", ENDITEM,
"Name=remark", "Value=", ENDITEM,
"Name=id", "Value=13724643", ENDITEM,
"Name=menunum", "Value=1", ENDITEM,
"Name=selltypes", "Value=", ENDITEM,
"Name=check", "Value=0", ENDITEM,
EXTRARES,
"URL=/opsteel/js/city.xml", "Referer=http://ts.opsteel.cn/opsteel/admin/member/company/memberregisty.jsp?optype=2", ENDITEM,
LAST); Name=province", "Value=广东省", ENDITEM,
"Name=city", "Value=广州市", ENDITEM,
对这两个值进行参数化 自己做参数化配置文件,剩下的你懂的
页:
[1]