|
3#
楼主 |
发表于 2006-12-28 10:24:15
|
只看该作者
刚开始学,摸着石头过河,什么也不会啊,希望大家多多指点。
这是我录制的脚本
Action()
{
web_url("222.90.60.57",
"URL=http://222.90.60.57/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"URL=/MCIS/images/picBack2.jpg", "Referer=http://tttsoft.3322.org/MCIS/DBConnect.aspx", ENDITEM,
LAST);
lr_start_transaction("11");
lr_rendezvous("ConnectSQL");
/*
* 验证数据库连接是否正确、以及连接数据库需要的时间
*
*/
web_submit_form("DBConnect.aspx",
"Snapshot=t2.inf",
ITEMDATA,
"Name=dtgConfig:_ctl2:chk", "Value=<OFF>", ENDITEM,
"Name=dtgConfig:_ctl3:chk", "Value=<OFF>", ENDITEM,
"Name=dtgConfig:_ctl4:chk", "Value=<OFF>", ENDITEM,
"Name=dtgConfig:_ctl5:chk", "Value=on", ENDITEM,
"Name=btnConnectSel", "Value=杩炴帴鏁版嵁搴\x93", ENDITEM,
EXTRARES,
"URL=images/bgTreeBar.jpg", "Referer=http://tttsoft.3322.org/MCIS/title.aspx", ENDITEM,
"URL=NodeImgs/out.gif", "Referer=http://tttsoft.3322.org/MCIS/tree.aspx", ENDITEM,
"URL=NodeImgs/tree.gif", "Referer=http://tttsoft.3322.org/MCIS/tree.aspx", ENDITEM,
"URL=NodeImgs/in.gif", "Referer=http://tttsoft.3322.org/MCIS/tree.aspx", ENDITEM,
"URL=NodeImgs/leaf.gif", "Referer=http://tttsoft.3322.org/MCIS/tree.aspx", ENDITEM,
"URL=NodeImgs/vline.gif", "Referer=http://tttsoft.3322.org/MCIS/tree.aspx", ENDITEM,
"URL=NodeImgs/Root4.JPG", "Referer=http://tttsoft.3322.org/MCIS/tree.aspx", ENDITEM,
"URL=NodeImgs/Org4.JPG", "Referer=http://tttsoft.3322.org/MCIS/tree.aspx", ENDITEM,
"URL=NodeImgs/Machine2.JPG", "Referer=http://tttsoft.3322.org/MCIS/tree.aspx", ENDITEM,
"URL=NodeImgs/Machine4.JPG", "Referer=http://tttsoft.3322.org/MCIS/tree.aspx", ENDITEM,
"URL=NodeImgs/Machine1.JPG", "Referer=http://tttsoft.3322.org/MCIS/tree.aspx", ENDITEM,
"URL=NodeImgs/Machine0.JPG", "Referer=http://tttsoft.3322.org/MCIS/tree.aspx", ENDITEM,
"URL=NodeImgs/Org0.JPG", "Referer=http://tttsoft.3322.org/MCIS/tree.aspx", ENDITEM,
"URL=NodeImgs/Org2.JPG", "Referer=http://tttsoft.3322.org/MCIS/tree.aspx", ENDITEM,
"URL=NodeImgs/Org3.JPG", "Referer=http://tttsoft.3322.org/MCIS/tree.aspx", ENDITEM,
LAST);
web_find("SubmitForm",
"RightOf=process to",
"What=checkout",
LAST);
lr_end_transaction("11", LR_AUTO);
web_url("directedTo.aspx",
"URL=http://222.90.60.57/MCIS/directedTo.aspx?Conn=1&NodeID=1&Type=Org&FirstUrl=1&temp=0.3856111346003368",
"Resource=0",
"RecContentType=text/html",
"Referer=http://tttsoft.3322.org/MCIS/MainFrame.aspx",
"Snapshot=t3.inf",
"Mode=HTML",
EXTRARES,
"URL=NodeImgs/Machine3.JPG", "Referer=http://tttsoft.3322.org/MCIS/tree.aspx", ENDITEM,
LAST);
return 0;
} |
|