|
6#
楼主 |
发表于 2007-7-9 16:29:25
|
只看该作者
recording level选择HTML时是这样的脚本
web_submit_form("RegisterAction!registerUser.action",
"Snapshot=t4.inf",
ITEMDATA,
"Name=userDTO.userid", "Value=wangleilei1", ENDITEM,
"Name=userDTO.userpwd", "Value=aaaaaa1", ENDITEM,
"Name=reUserpwd", "Value=aaaaaa1", ENDITEM,
"Name=userDTO.safecode", "Value=bbbbbb1", ENDITEM,
"Name=reSafecode", "Value=bbbbbb1", ENDITEM,
"Name=validateCode", "Value=1111", ENDITEM,
EXTRARES,
"URL=http://192.168.0.42/images/top_jbzc1.jpg", ENDITEM,
"URL=http://192.168.0.42/images/boot_jbzc2.jpg", ENDITEM,
"URL=http://192.168.0.42/images/top_jbzc2.jpg", ENDITEM,
"URL=http://192.168.0.42/images/boot_jbzc1.jpg", ENDITEM,
LAST);
web_find("web_find",
"What=注册成功",
LAST); |
|