51Testing软件测试论坛
标题:
如何测试mercuryWebTours的新建用户登录?
[打印本页]
作者:
软件测试论坛
时间:
2008-2-27 15:01
标题:
如何测试mercuryWebTours的新建用户登录?
web_submit_form("login.pl",
"Snapshot=t3.inf",
ITEMDATA,
"Name=username", "Value=username001", ENDITEM,
"Name=password", "Value=1234567890", ENDITEM,
"Name=passwordConfirm", "Value=1234567890", ENDITEM,
"Name=firstName", "Value=user", ENDITEM,
"Name=lastName", "Value=name001", ENDITEM,
"Name=address1", "Value=whereuserlives", ENDITEM,
"Name=address2", "Value=whereuserfrom", ENDITEM,
"Name=register.x", "Value=44", ENDITEM,
"Name=register.y", "Value=4", ENDITEM,
LAST);
这里面的username,password,passwordConfirm,firstName,lastName,address1,address2,register.x,register.y分别替换为什么样的参数比较恰当?
作者:
软件测试论坛
时间:
2008-2-28 10:05
注册的时候本来为了好记用“软件测试”的,可是已经被别人抢掉了
作者:
iori
时间:
2008-2-28 10:32
参数化时,楼主认为比较有意义的参数比较恰当
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2