51Testing软件测试论坛
标题:
怎么样把一个参数送到网页得输入里?
[打印本页]
作者:
judou
时间:
2007-1-11 13:12
标题:
怎么样把一个参数送到网页得输入里?
int: year=2007;
char: *name="A8A9";
怎么把 year 值传给一个网页 year name 输入框中??
"Name=year", "Value={year}", ENDITEM,
"Name=name", "Value={name}", ENDITEM,
作者:
sidneylover
时间:
2007-1-11 19:34
itoa(year,tmp,10);
strcpy(aa,"\"Name=");
strcat(aa,lr_eval_string(tmp));
strcat(aa,"\", \"Value={year}\", ENDITEM,");
打印一下,aa就是输入year后的语句
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2