51Testing软件测试论坛
标题:
如何参数化,见截图,请帮忙
[打印本页]
作者:
mizhe521
时间:
2009-9-1 17:56
标题:
如何参数化,见截图,请帮忙
审核功能中,是通过点击详情按钮,进入详细页面,在详细页面中点击审核通过的按钮进行审核
但是我在脚本中,不知道该参数化哪个,才能做到多用户审核的效果,请帮忙
/*选择详情*/
lr_think_time(15);
web_submit_data("PlugInRunService.aspx_2",
"Action=http://10.10.10.64/gstydb/frame/page/PlugInRunService.aspx?menuID=e9d40a6c-fd92-4629-bf84-7ff3f7c13c73",
"Method=POST",
"RecContentType=text/html",
"Referer=http://10.10.10.64/gstydb/frame/page/PlugInRunService.aspx?menuID=e9d40a6c-fd92-4629-bf84-7ff3f7c13c73",
"Snapshot=t6.inf",
"Mode=HTML",
ITEMDATA,
"Name=__EVENTTARGET", "Value=ctl06$GridView1", ENDITEM,
"Name=__EVENTARGUMENT", "Value=GridViewAssistantDetailButton$0", ENDITEM,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState4}", ENDITEM,
"Name=ctl06$UnitTree1$unitDropDownList", "Value=621001", ENDITEM,
"Name=__VIEWSTATEENCRYPTED", "Value=", ENDITEM,
"Name=__EVENTVALIDATION", "Value=fgl4M24F0PvbBEUVo6+3kXFYkFjzO4TJqQFzM86yZTgkQHA9+3hxSI5IwSOI3TxjFoOqcMid0MDnJy294Gpjog==", ENDITEM,
LAST);
作者:
wu52wen
时间:
2009-9-2 09:41
"Name=__EVENTTARGET", "Value=ctl06$GridView1", ENDITEM,
"Name=__EVENTARGUMENT", "Value=GridViewAssistantDetailButton$0", ENDITEM,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState4}", ENDITEM,
"Name=ctl06$UnitTree1$unitDropDownList", "Value=621001", ENDITEM,
"Name=__VIEWSTATEENCRYPTED", "Value=", ENDITEM,
"Name=__EVENTVALIDATION", "Value=fgl4M24F0PvbBEUVo6+3kXFYkFjzO4TJqQFzM86yZTgkQHA9+3hxSI5IwSOI3TxjFoOqcMid0MDnJy294Gpjog==", ENDITEM,
在这个提交中只有这些传递的参数,你可以和开发人员沟通下,确实那些参数是需要参数化的
作者:
mizhe521
时间:
2009-9-2 10:31
谢谢朋友回复
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2