|
Action_login()
{
/* Registering parameter(s) from source task id 92
// {Siebel_Analytic_ViewState6} = "/wEPDwUKMjAxNjA5MDI2Nw9kFgJmD2QWAgIDD2QWBAIDD2QWCGYPFgIeCWlubmVyaHRtbAUvamlhYW5kbWlhbyzmgqjlpb3vvIHmrKLov47mgqjmnaXliLDnrZHln47nvZHnu5xkAgYPFgIfAAUDKDApZAIHDxYCHwAFAygwKWQCCA8WAh8ABQQoMTUpZAIFD2QWDAIBDxYCHwAFCeWwsemCo+agt2QCAg8WAh8ABQI0OWQCAw8WAh4Fd2lkdGgFAzE3JWQCBA8WAh8ABQMxNyVkAgUPFgIfAAUd5LiK5qyh55m75b2VOjIwMTAtMDctMjAgMTA6MzZkAgYPFgIfAAUDMTclZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQUsY3RsMDAkQ3RybFVzZXJNYW5hZ2VtZW50SGVhZGVyMSRJbWFnZUJ1dHRvbjHgSGdQcFKFA9EY8uZVNrO+gtZNjA=="
// */
web_reg_save_param("Siebel_Analytic_ViewState6",
"LB/IC=ViewState\" value=\"",
"RB/IC=\"",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
web_submit_data("LoginPage.aspx_2",
"Action=http://www.cutren.com/CommonEntities/LoginPage.aspx",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://www.cutren.com/CommonEntities/LoginPage.aspx",
"Snapshot=t3.inf",
"Mode=HTML",
ITEMDATA,
"Name=__EVENTTARGET", "Value=", ENDITEM,
"Name=__EVENTARGUMENT", "Value=", ENDITEM,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState3}", ENDITEM,
"Name=__EVENTVALIDATION", "Value=/wEWBQKttuO4DALQwJ/dDgLi/qahAwLLiveVBALejM6fD+lfZYQISg2mW9NIkvubKFpkASJd", ENDITEM,
"Name=userNameTextBox", "Value=xxxxxxx", ENDITEM,
"Name=passwordTextBox", "Value=123123214", ENDITEM,
"Name=loginButton", "Value=", ENDITEM,
EXTRARES,
"Url=../js/My97DatePicker/skin/WdatePicker.css", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/hi.gif", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/managerMlogo.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/spot.gif", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/managersearchboxbg.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/serachboxbg1.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/search.gif", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/managenavleft.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/managenavhome.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/managenavright.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/managerlefttop.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../UploadFiles/Logo/DesignFirm/799/%E8%A7%84%E5%88%92%E8%AE%BE%E8%AE%A1_%E6%B7%B1%E5%9C%B3%E5%B8%82%E5%BB%BA%E7%AD%91%E8%AE%BE%E8%AE%A1%E7%A0%94%E7%A9%B6%E6%80%BB%E9%99%A2.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=http://www.google-analytics.com/__utm.gif?utmwv=4.7.2&utmn=293813603&utmhn=www.cutren.com&utmcs=utf-8&utmsr=1440x900&utmsc=32-bit&utmul=zh-cn&utmje=1&utmfl=-&utmdt=%E7%AD%91%E5%9F%8E%E7%BD%91%E7%BB%9C&utmhid=1559247440&utmr=0&utmp=%2FUserManagement%2FUserManagementHomePage.aspx&utmac=UA-15551651-1&utmcc=__utma%3D33371436.605060623.1279528294.1279593520.1279593752.8%3B%2B__utmz%3D33371436.1279528294.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B", "Referer=http://www.cutren.com/"
"UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../UploadFiles/Logo/BuildingMaterial/3563/%E6%88%AA%E5%9B%BE1275027402.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../UploadFiles/Logo/Contractor/52743/QQ%E6%88%AA%E5%9B%BE%E6%9C%AA%E5%91%BD%E5%90%8D.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../UploadFiles/Logo/HousingDeveloper/28457/%E9%87%91%E9%83%BD%E6%88%BF%E4%BA%A7%E9%9B%86%E5%9B%A2%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/managenavbg.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/managenavlcenterbg.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/manbg.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/managenavtel.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/managerleft.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/mcenterbg1.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/spot3.gif", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/mcenterbg.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/mconmpanyinfrobg.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/mstatbg.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/novipmember.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/managerright.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/activeProjectIcon.gif", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/mangernews.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/mangerfav.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/mangerinfor.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/mangerxinfor.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/mangerbusiness.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
"Url=../images/zh-cn/mbanner.jpg", "Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx", ENDITEM,
LAST);
web_add_cookie("__utmb=33371436.3.10.1279593752; DOMAIN=www.cutren.com");
web_url("My97DatePicker.htm",
"URL=http://www.cutren.com/js/My97DatePicker/My97DatePicker.htm",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx",
"Snapshot=t4.inf",
"Mode=HTML",
EXTRARES,
"Url=lang/zh-cn.js", ENDITEM,
"Url=skin/default/datepicker.css", ENDITEM,
"Url=skin/whyGreen/datepicker.css", ENDITEM,
"Url=skin/default/img.gif", ENDITEM,
LAST);
return 0;
}
vuser_end()
{
web_submit_data("UserManagementHomePage.aspx",
"Action=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://www.cutren.com/UserManagement/UserManagementHomePage.aspx",
"Snapshot=t5.inf",
"Mode=HTML",
ITEMDATA,
"Name=__EVENTTARGET", "Value=ctl00$CtrlUserManagementHeader1$logoutLinkButton", ENDITEM,
"Name=__EVENTARGUMENT", "Value=", ENDITEM,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState6}", ENDITEM,
"Name=__EVENTVALIDATION", "Value=/wEWBgKOjPzMAwLgiPOGCQLq2fG7BwLkj62UBwLN1JXcBwK09bLrC9xie/z4uE7LHCQ5gJELbK9ItEy4", ENDITEM,
"Name=ctl00$CtrlUserManagementHeader1$Keywords", "Value=", ENDITEM,
"Name=ctl00$CtrlUserManagementHeader1$hdSearchType", "Value=company", ENDITEM,
"Name=ctl00$CtrlUserManagementHeader1$hdrootUrl", "Value=http://www.cutren.com:80/{0}", ENDITEM,
EXTRARES,
"Url=http://www.google-analytics.com/__utm.gif?utmwv=4.7.2&utmn=959528054&utmhn=www.cutren.com&utmcs=utf-8&utmsr=1440x900&utmsc=32-bit&utmul=zh-cn&utmje=1&utmfl=-&utmdt=%E7%AD%91%E5%9F%8E%E7%BD%91%E2%80%94%E2%80%94%E6%B3%9B%E5%9C%B0%E4%BA%A7%E4%B8%9A%E5%8A%A1%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88%E5%B9%B3%E5%8F%B0&utmhid=1908792644&utmr=0&utmp=%2FDefault.aspx&utmac=UA-15551651-1&utmcc=__utma%3D33371436.605060623.1279528294.1279593520.1279593752.8%3B%2B__utmz%3D33371436.1279528294.1.1.utmcsr%3D(direct"
")%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B", "Referer=http://www.cutren.com/Default.aspx", ENDITEM,
LAST);
return 0;
}
每次录制完成以后,在任务栏Vuser选择了分布运行,弹出一个运行时查看器,这个查看器里头总是有句:运行正在初始化,请稍候。。。。
然后接下来就无任何操作了,回放日志下面没有显示任何东西,空空的。
大哥大姐帮帮忙,我真是不知道怎么处理这个问题,已经百度很多关于这个回放的问题,也都尝试过,可是都解决不了。
其实这个只是很OK的登录例子,虽然有一大把的代码在上边。其实只是个登录而已
拜托哦! 咱们新手非常感谢你们啦!
发现有新的情况:
[Net An. Error ( b84: a58)] Request Connection: Remote Server @ 116.236.181.98:80 (Service=) NOT PROXIED! (REASON: Unable to connect to proxy: sid = 1268, rc = 10038)
出现了这个错误,我该怎么解决?大家帮帮忙嘛?因为实在是太新的新手,本人实在是解决不了,真的麻烦你们啦!
[ 本帖最后由 jiaandmiao 于 2010-7-20 13:33 编辑 ]
[ 本帖最后由 jiaandmiao 于 2010-7-21 11:33 编辑 ] |
|