|
3#
楼主 |
发表于 2012-2-16 15:58:52
|
只看该作者
本帖最后由 yxf 于 2012-2-16 16:00 编辑
这个是脚本,帮忙看看是否需要关联?我不知道哪里应该做关联,这个只是新增功能。
Action()
{
/* Registering parameter(s) from source task id 151
// {Siebel_Analytic_ViewState8} = "/wEPDwUKLTM0NzE4NzY4OWRkvDhXsljvJFSolaUpY73MveVmoOY="
// */
web_reg_save_param("Siebel_Analytic_ViewState8",
"LB/IC=ViewState\" value=\"",
"RB/IC=\"",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
lr_think_time(7);
web_url("DiamondInfoAdd.aspx",
"URL=http://192.168.10.181/Main/DiamondBasicManage/DiamondInfoAdd.aspx",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.10.181/Main/DiamondBasicManage/DiamondInfoList.aspx",
"Snapshot=t89.inf",
"Mode=HTTP",
LAST);
web_concurrent_start(NULL);
web_url("jquery.validate.min.js",
"URL=http://192.168.10.181/Js/jquery.validate.min.js",
"Resource=1",
"RecContentType=application/x-javascript",
"Referer=http://192.168.10.181/Main/DiamondBasicManage/DiamondInfoAdd.aspx",
"Snapshot=t90.inf",
LAST);
web_url("DiamondBasic.js",
"URL=http://192.168.10.181/Js/DiamondBasic.js",
"Resource=1",
"RecContentType=application/x-javascript",
"Referer=http://192.168.10.181/Main/DiamondBasicManage/DiamondInfoAdd.aspx",
"Snapshot=t91.inf",
LAST);
web_url("jquery.validate.css",
"URL=http://192.168.10.181/Css/jquery.validate.css",
"Resource=1",
"RecContentType=text/css",
"Referer=http://192.168.10.181/Main/DiamondBasicManage/DiamondInfoAdd.aspx",
"Snapshot=t92.inf",
LAST);
web_concurrent_end(NULL);
web_url("btn_bg.gif",
"URL=http://192.168.10.181/App_Themes/SkinE/Images/btn_bg.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://192.168.10.181/Main/DiamondBasicManage/DiamondInfoAdd.aspx",
"Snapshot=t93.inf",
LAST);
web_custom_request("OnlineCount",
"URL=http://192.168.10.181/Main/Top.aspx/OnlineCount",
"Method=POST",
"Resource=0",
"RecContentType=application/json",
"Referer=http://192.168.10.181/Main/Top.aspx",
"Snapshot=t94.inf",
"Mode=HTTP",
"EncType=application/json",
"Body={}",
LAST);
lr_think_time(10);
web_custom_request("OnlineCount_2",
"URL=http://192.168.10.181/Main/Top.aspx/OnlineCount",
"Method=POST",
"Resource=0",
"RecContentType=application/json",
"Referer=http://192.168.10.181/Main/Top.aspx",
"Snapshot=t95.inf",
"Mode=HTTP",
"EncType=application/json",
"Body={}",
LAST);
lr_think_time(9);
web_custom_request("OnlineCount_3",
"URL=http://192.168.10.181/Main/Top.aspx/OnlineCount",
"Method=POST",
"Resource=0",
"RecContentType=application/json",
"Referer=http://192.168.10.181/Main/Top.aspx",
"Snapshot=t96.inf",
"Mode=HTTP",
"EncType=application/json",
"Body={}",
LAST);
lr_think_time(5);
web_url("CheckCertificateCode.ashx",
"URL=http://192.168.10.181/Main/DiamondBasicManage/CheckCertificateCode.ashx?CertificateCode=ff03",
"Resource=1",
"RecContentType=text/plain",
"Referer=http://192.168.10.181/Main/DiamondBasicManage/DiamondInfoAdd.aspx",
"Snapshot=t97.inf",
LAST);
web_submit_data("DiamondInfoAdd.aspx_2",
"Action=http://192.168.10.181/Main/DiamondBasicManage/DiamondInfoAdd.aspx",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.10.181/Main/DiamondBasicManage/DiamondInfoAdd.aspx",
"Snapshot=t98.inf",
"Mode=HTTP",
ITEMDATA,
"Name=__LastVIEWSTATE_SessionKey", "Value=19c9f455-e8d7-4360-8595-aa7fbc636567", ENDITEM,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState8}", ENDITEM,
"Name=__SCROLLPOSITIONX", "Value=0", ENDITEM,
"Name=__SCROLLPOSITIONY", "Value=0", ENDITEM,
"Name=__EVENTTARGET", "Value=", ENDITEM,
"Name=__EVENTARGUMENT", "Value=", ENDITEM,
"Name=ddlShape", "Value=", ENDITEM,
"Name=ddlColor", "Value=", ENDITEM,
"Name=ddlClarity", "Value=", ENDITEM,
"Name=ddlFluorescence", "Value=", ENDITEM,
"Name=ddlCut", "Value=", ENDITEM,
"Name=ddlPolishing", "Value=", ENDITEM,
"Name=ddlSymmetry", "Value=", ENDITEM,
"Name=ddlBlackFlaw", "Value=", ENDITEM,
"Name=ddlStorageAddress", "Value=", ENDITEM,
"Name=ddlDesktopFlaw", "Value=", ENDITEM,
"Name=ddlCreamy", "Value=", ENDITEM,
"Name=ddlChroma", "Value=", ENDITEM,
"Name=ddlCertificate", "Value=", ENDITEM,
"Name=txtCertificateCode", "Value=ff01", ENDITEM,
"Name=txtDeskWidth", "Value=", ENDITEM,
"Name=txtInternationalPrice", "Value=1000", ENDITEM,
"Name=txtAgio", "Value=2", ENDITEM,
"Name=txtUnitPrice", "Value=6120.00", ENDITEM,
"Name=txtWeight", "Value=0.8", ENDITEM,
"Name=txtCoronalHeight", "Value=", ENDITEM,
"Name=txtTotalPrices", "Value=4896.00", ENDITEM,
"Name=txtSize", "Value=", ENDITEM,
"Name=txtQuanshenbi", "Value=", ENDITEM,
"Name=txtTaikuanbi", "Value=", ENDITEM,
"Name=btnSave", "Value=鏂\xB0 澧\x9E", ENDITEM,
"Name=hidRate", "Value=6", ENDITEM,
LAST);
web_url("DiamondInfoList.aspx_2",
"URL=http://192.168.10.181/Main/DiamondBasicManage/DiamondInfoList.aspx",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.10.181/Main/DiamondFrame.aspx",
"Snapshot=t99.inf",
"Mode=HTTP",
LAST);
web_custom_request("OnlineCount_4",
"URL=http://192.168.10.181/Main/Top.aspx/OnlineCount",
"Method=POST",
"Resource=0",
"RecContentType=application/json",
"Referer=http://192.168.10.181/Main/Top.aspx",
"Snapshot=t100.inf",
"Mode=HTTP",
"EncType=application/json",
"Body={}",
LAST);
return 0;
} |
|