51Testing软件测试论坛
标题:
时间戳是否要参数化
[打印本页]
作者:
心中有彩虹
时间:
2011-10-11 15:06
标题:
时间戳是否要参数化
web_submit_data("YeWuYingXiaoBaoGaoShengQing.aspx_2",
"Action=http://172.16.165.35:4949/DFF/JingXiaoShangGuanLi/YingXiaoBaoGao/YeWuYingXiaoBaoGaoShengQing.aspx?__jsLoadData=K0&__uiFrameTag=&__uiTime=Tue+Oct+11+13%3a09%3a33+UTC+0800+2011",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://172.16.165.35:4949/DFF/JingXiaoShangGuanLi/YingXiaoBaoGao/YeWuYingXiaoBaoGaoShengQing.aspx?__jsLoadData=K0&__uiFrameTag=&__uiTime=Tue Oct 11 13:09:33 UTC+0800 2011",
"Snapshot=t18.inf",
"Mode=HTML",
ITEMDATA,
"Name=__AMIID", "Value={para2}", ENDITEM,
"Name=__LY_UI_WEBFORM_PANEL_A", "Value=/WebResource.axd?d=QD-SxSHuW-MVb10_0EOfcHpylnlTlTUihqxijnPKANPkCnasA9hyIdQoTbu9wWx8t-d6t0bAA8_rqft_t-OkQzCvp0141w5dw6vDdZrLWZA1&t=634523196543735885", ENDITEM,
"Name=__LY_UI_WEBFORM_PANEL_B", "Value=/WebResource.axd?d=QD-SxSHuW-MVb10_0EOfcHpylnlTlTUihqxijnPKANPkCnasA9hyIdQoTbu9wWx8fojIPSUbzlwV2PPDKrq1rz14iKnFzKScgHx3P99QK1A1&t=634523196543735885", ENDITEM,
"Name=__EVENTTARGET", "Value=btnAdd", ENDITEM,
"Name=__EVENTARGUMENT", "Value=", ENDITEM,
"Name=__VIEWSTATE", "Value={view2}", ENDITEM,
"Name=__strValidateIDs", "Value=,req:txtSubject,", ENDITEM,
"Name=__VIEWSTATEENCRYPTED", "Value=", ENDITEM,
"Name=__EVENTVALIDATION", "Value={para3}", ENDITEM,
"Name=txtSubject", "Value=", ENDITEM,
"Name=dpkPRO_DATE_Begin", "Value=", ENDITEM,
"Name=dpkPRO_DATE_End", "Value=", ENDITEM,
"Name=ddlStatus", "Value=-1", ENDITEM,
"Name=btnAdd", "Value=新增", ENDITEM,
"Name=pagerGrid$ctl05", "Value=1", ENDITEM,
LAST);
这段脚本,因为url上带了时间戳,所以回放提示找不到这个页面,时间戳是否需要参数化或者关联,若需要,该怎么参数化或者关联?跪求指导!
作者:
wuming_68
时间:
2011-10-18 18:49
将同样的操作录制两遍,比较差异,对不同的建关联
作者:
msnshow
时间:
2011-10-21 22:22
这个要看具体的业务情况了,如果不影响业务就不需要参数化
作者:
1421320187
时间:
2015-5-8 13:10
作者:
Lyncent
时间:
2015-5-8 15:11
二楼正解
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2