|
5#
楼主 |
发表于 2010-2-2 14:07:55
|
只看该作者
web_reg_save_param("headerID2",
"LB=name=\"rdoHeaderID\" value=\"",
"RB=\"",
"Ord=1",
"RelFrameId=1",
"Search=Body",
"SaveLen=8",
LAST);
web_reg_save_param("ordernumber",
"LB=name=\"rdoHeaderID\" value=\"",
"RB=\"",
"Ord=1",
"RelFrameId=1",
"Search=Body",
"SaveOffset=9",
"SaveLen=8",
LAST);
=== Page1:
web_url("ToDoList.aspx",
"URL=http://192.168.1.100/test/case/ToDoList.aspx",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.1.100/test/home.aspx",
"Snapshot=t168.inf",
"Mode=HTML",
EXTRARES,
"URL=/test/JavaScript/ExGridView.js", ENDITEM,
"URL=/test/images/tab-bg.gif", ENDITEM,
"URL=/test/images/subtoolbar-bg.gif", ENDITEM,
"URL=/test/images/sample-list-page-bg.gif", ENDITEM,
"URL=/test/images/sample-list-mdl-tr.gif", ENDITEM,
"URL=/test/images/sample-list-mdl-tl.gif", ENDITEM,
"URL=/test/images/sample-list-mdl-bl.gif", ENDITEM,
LAST);
== Page1_2
web_submit_data("ToDoList.aspx_2",
"Action=http://192.168.1.100/test/case/ToDoList.aspx",
"Method=POST",
"RecContentType=text/plain",
"Referer=http://192.168.1.100/test/case/ToDoList.aspx",
"Snapshot=t170.inf",
"Mode=HTML",
ITEMDATA,
"Name=rdoHeaderID", "Value={headerID2}|{ordernumber}", ENDITEM,
"Name=ctl00_pageBody_QueryBossOrder1_gvBossList_GoPage", "Value=", ENDITEM,
"Name=__ASYNCPOST", "Value=true", ENDITEM,
LAST);
== Page2:
web_url("RegisterDetail.aspx",
"URL=http://192.168.1.100/test/case/RegisterDetail.aspx?SourceType=1&CreateType=0&HeaderID={headerID2}&BossOrder={ordernumber}",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.1.100/test/case/ToDoList.aspx",
"Snapshot=t171.inf",
"Mode=HTML",
EXTRARES,
"URL=/test/javascript/jquery-1.3.2.js", "Referer=http://192.168.1.100/test/case/RegisterDetail.aspx?SourceType=1&CreateType=0&HeaderID={headerID2}&BossOrder={ordernumber}", ENDITEM,
"URL=/test/ScriptResource.axd?d=DY-3_zDfTHQ7rfiv3v-mZN7VdWjB-I-1gTCKr_0x6w5BXDZIn0KGxn-mAntTvd9X9-mK1Db_MfX2Mcd-wq7y4g2&t=3888d49", "Referer=http://192.168.1.100/test/case/RegisterDetail.aspx?SourceType=1&CreateType=0&HeaderID={headerID2}&BossOrder={ordernumber}", ENDITEM,
"URL=AjaxForm.aspx?Flag=0&CaseID=&CustomerID={applicantID}", "Referer=http://192.168.1.100/test/case/RegisterDetail.aspx?SourceType=1&CreateType=0&HeaderID={headerID2}&BossOrder={ordernumber}", ENDITEM,
LAST);
=== Page3
web_submit_data("RegisterDetail.aspx_2",
"Action=http://192.168.1.100/test/case/RegisterDetail.aspx?SourceType=1&CreateType=0&HeaderID={headerID2}&BossOrder={ordernumber}",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.1.100/test/case/RegisterDetail.aspx?SourceType=1&CreateType=0&HeaderID={headerID2}&BossOrder={ordernumber}",
"Snapshot=t173.inf",
"Mode=HTML",
ITEMDATA,
"Name=ctl00$modalDivCallbackTypeTxt", "Value=", ENDITEM,
"Name=ctl00$modalDivCallbackValueTxt", "Value=", ENDITEM,
"Name=ctl00$drpSearchType", "Value=0", ENDITEM,
"Name=ctl00$txtSearchWords", "Value=", ENDITEM,
"Name=ctl00$pageBody$ctl01$txtCaseNo", "Value=", ENDITEM,
"Name=ctl00$pageBody$ctl01$OrderNumber", "Value={ordernumber}", ENDITEM, // ReadOnly, Ordernumber 不能获取到最新值
"Name=ctl00$pageBody$ctl01$drpTeam", "Value=1", ENDITEM,
"Name=ctl00$pageBody$ctl01$txtCS", "Value=Admin", ENDITEM,
"Name=ctl00$pageBody$ctl01$txtCSID", "Value=1", ENDITEM,
"Name=ctl00$pageBody$ctl01$txtPickUpOrderNo", "Value=", ENDITEM,
LAST);
=== Generate log of RegisterDetail.aspx
</td>
<td>
<input name="ctl00$pageBody$ctl02$txtOrderNumber" type="text" value="50000421" readonly="readonly" id="ctl00_pageBody_ctl02_txtBossOrderNo" style="background-color:#efefef;width:150px;" />
</td>
<td height="20"> |
|