|
本帖最后由 jefeelee 于 2011-11-19 22:04 编辑
各位LR大侠,一个参数化文件,有多列,LR 11版 该怎么设置即可按列取值?
现在我遇到的问题是:参数类型如果为file,我只能获得其中1列的值;如果为table,同时会获得两列的值;
如:参数文件:userdate.dat
userid,pwd
xxxx,123
aaaa,234
下面是源代码:
web_submit_data("authorize.do",
"Action=http://111.111.111.111:8080/rdms/authorize.do?method=login",
"Method=POST",
"RecContentType=text/html",
"Referer=http://111.111.111.111:8080/rdms/login.jsp",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=productCode", "Value=Portal", ENDITEM,
"Name=extParams", "Value=", ENDITEM,
"Name=sessId", "Value=DF092EAC5B1AC9AB79BBE03A186BDEBC", ENDITEM,
"Name=username", "Value={userdate}", ENDITEM,
"Name=password", "Value={userdate}", ENDITEM,
LAST); |
|