TA的每日心情 | 无聊 2017-4-10 01:47 |
---|
签到天数: 2 天 连续签到: 1 天 [LV.1]测试小兵
|
7#
楼主 |
发表于 2009-8-18 14:02:53
|
只看该作者
下面 我自己自动关联了一下,
/* -------------------------------------------------------------------------------
Script Title :
Script Description :
Recorder Version : 1008
------------------------------------------------------------------------------- */
vuser_init()
{
web_set_max_html_param_len("1024");
/* Registering parameter(s) from source task id 3
// {CSRule_1_UID2} = "C1F4003C32A85142F836DFBA12396D82"
char str[20];
*/
web_set_max_html_param_len("2048");
web_reg_save_param("str",
"LB/IC=<html>",
"RB/IC=</html>",
"ord=ALL",
LAST);
lr_output_message("the response is: %s", lr_eval_string("{str}"));
// [WCSPARAM WCSParam_Diff1 32 C1F4003C32A85142F836DFBA12396D82] Parameter {WCSParam_Diff1} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff1", "LB=jsessionid=", "RB=\"", "Ord=1", "Search=Body", "RelFrameId=1", LAST );
// [WCSPARAM WCSParam_Diff2 4 gggf] Parameter {WCSParam_Diff2} created by Correlation Studio
lr_output_message("the response is: %s", lr_eval_string("{WCSParam_Diff1}"));
web_reg_save_param( "WCSParam_Diff2", "LB= z.dtid=\"", "RB=\"", "Ord=1", "Search=Body", "RelFrameId=1", LAST );
lr_output_message("the response is: %s", lr_eval_string("{WCSParam_Diff2}"));
web_url("login.zul",
"URL=http://192.168.1.15:8080/cablegis/login.zul",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=zkau/web/zul/img/button/z-btn-trendy-corner.gif", ENDITEM,
"Url=zkau/web/zul/img/button/z-btn-trendy-x.gif", ENDITEM,
"Url=zkau/web/zul/img/button/z-btn-trendy-y.gif", ENDITEM,
"Url=zkau/web/zul/img/button/z-btn-trendy-ctr.gif", ENDITEM,
"Url=zkau/web/zul/img/grid/text-bg.gif", ENDITEM,
"Url=zkau/web/_zv08120909/_zcbzk.ald-0/js/zul/wnd2.js;jsessionid={CSRule_1_UID2}", ENDITEM,
"Url=zkau/web/_zv08120909/_zcbzk.ald-1/js/zul/vd.js;jsessionid={CSRule_1_UID2}", ENDITEM,
"Url=zkau/web/_zv08120909/_zcbzk.ald-2/js/zul/btn.js;jsessionid={CSRule_1_UID2}", ENDITEM,
"Url=zkau/web/_zv08120909/_zcbzk.ald-3/js/zul/zul.js;jsessionid={CSRule_1_UID2}", ENDITEM,
"Url=zkau/web/_zv08120909/_zcbzk.ald-4/js/zul/lang/msgzul*.js;jsessionid={CSRule_1_UID2}", ENDITEM,
LAST);
lr_think_time(5);
web_submit_data("zkau;jsessionid={WCSParam_Diff1}",
"Action=http://192.168.1.15:8080/cablegis/zkau;jsessionid={CSRule_1_UID2}?dtid={WCSParam_Diff2}&cmd.0=onClick&uuid.0=z_gg_v1&data.0=24&data.0=14&data.0=",
"Method=POST",
"RecContentType=text/xml",
"Referer=http://192.168.1.15:8080/cablegis/login.zul",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
LAST);
web_url("index.zul",
"URL=http://192.168.1.15:8080/cablegis/index.zul",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
EXTRARES,
"Url=zkau/web/zul/img/button/tb-bg.png", ENDITEM,
"Url=zkau/web/zul/img/button/tb-btn-arrow.gif", ENDITEM,
"Url=zkau/web/zul/img/menu2/pp-bg.gif", ENDITEM,
"Url=img/comm/DateReportForm.gif", ENDITEM,
"Url=img/themeZk/tab-strip-bg.png", ENDITEM,
"Url=zkau/web/zul/img/button/combobtn.gif", ENDITEM,
"Url=img/themeZk/splt-v.png", ENDITEM,
"Url=img/themeZk/splt-h.png", ENDITEM,
"Url=zkau/web/_zv08120909/_zcbzk.ald-0/js/zul/wnd2.js", ENDITEM,
"Url=zkau/web/_zv08120909/_zcbzk.ald-1/js/zkex/zul/borderlayout.js", ENDITEM,
"Url=zkau/web/_zv08120909/_zcbzk.ald-4/js/zul/menu2.js", ENDITEM,
"Url=zkau/web/_zv08120909/_zcbzk.ald-2/js/zul/widget.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/_zcbzk.ald-3/js/dojoz/dojo.js", ENDITEM,
"Url=zkau/web/_zv08120909/_zcbzk.ald-5/js/zul/grid.js", ENDITEM,
"Url=zkau/web/_zv08120909/_zcbzk.ald-6/js/zul/cb.js", ENDITEM,
"Url=zkau/web/_zv08120909/_zcbzk.ald-7/js/zul/btn.js", ENDITEM,
"Url=zkau/web/_zv08120909/_zcbzk.ald-8/js/zkmax/zul/portallayout.js", ENDITEM,
"Url=zkau/web/_zv08120909/_zcbzk.ald-9/js/zul/tab2.js", ENDITEM,
"Url=zkau/web/_zv08120909/_zcbzk.ald-10/js/zul/zul.js", ENDITEM,
"Url=zkau/web/_zv08120909/_zcbzk.ald-12/js/zul/vd.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/_zcbzk.ald-11/js/ext/dojo/dojo.js", ENDITEM,
"Url=zkau/web/_zv08120909/_zcbzk.ald-13/js/zul/lang/msgzul*.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/FisheyeList.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/__package__.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/js/ext/dojo/src/xml/Parse.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/Widget.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/js/ext/dojo/src/lang/declare.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/js/ext/dojo/src/ns.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/Manager.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/js/ext/dojo/src/a11y.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/js/ext/dojo/src/uri/__package__.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/Parse.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/DomWidget.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/HtmlWidget.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/js/ext/dojo/src/html/util.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/js/ext/dojo/src/lfx/toggle.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/js/ext/dojo/src/html/selection.js", ENDITEM,
"Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/templates/images/tab_close.gif", ENDITEM,
"Url=zkau/web/_zv0.4.1/js/ext/dojo/src/widget/templates/FisheyeList.css", ENDITEM,
"Url=img/shortcut/logout.bmp", ENDITEM,
"Url=img/themeZk/wtp-r.png", ENDITEM,
"Url=img/themeZk/wtp-m.png", ENDITEM,
"Url=img/themeZk/panel-tb.png", ENDITEM,
"Url=img/themeZk/tool-btn.gif", ENDITEM,
LAST);
web_submit_data("zkau;jsessionid={WCSParam_Diff1}_2",
"Action=http://192.168.1.15:8080/cablegis/zkau;jsessionid={CSRule_1_UID2}?dtid={WCSParam_Diff2}&cmd.0=rmDesktop",
"Method=POST",
"RecContentType=text/xml",
"Referer=http://192.168.1.15:8080/cablegis/login.zul",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
LAST);
return 0;
} |
|