51Testing软件测试论坛
标题:
来个大神解决下
[打印本页]
作者:
ll339078961
时间:
2013-7-24 16:19
标题:
来个大神解决下
Action()
{
web_set_max_html_param_len("99999999");
/* Registering parameter(s) from source task id 72
// {Siebel_Analytic_search_id5} = "LgAAAAD86lUhX6/nR6kW/8ABHgiMAQDYwssURdLHQoAI3sxjhyPZAAAA5KymAAAB"
// */
web_reg_save_param("Siebel_Analytic_search_id5",
"LB/IC=sid=\"",
"RB/IC=\"",
"Ord=2",
"Search=Body",
LAST);
web_submit_data("auth.owa",
"Action=https://testmail.999.com.cn/owa/auth.owa",
"Method=POST",
"RecContentType=text/html",
"Referer=https://testmail.999.com.cn/owa/auth/logon.aspx?replaceCurrent=1&url=https%3a%2f%2ftestmail.999.com.cn%2fowa%2f",
"Snapshot=t3.inf",
"Mode=HTML",
ITEMDATA,
"Name=destination", "Value=https://testmail.999.com.cn/owa/", ENDITEM,
"Name=flags", "Value=0", ENDITEM,
"Name=forcedownlevel", "Value=0", ENDITEM,
"Name=trusted", "Value=0", ENDITEM,
"Name=username", "Value=testuser03", ENDITEM,
"Name=password", "Value=abcd-1234", ENDITEM,
"Name=isUtf8", "Value=1", ENDITEM,
EXTRARES,
"Url=14.2.247.5/themes/base/csssprites.png", "Referer=https://testmail.999.com.cn/owa/", ENDITEM,
"Url=14.2.247.5/themes/base/gradienth.png", "Referer=https://testmail.999.com.cn/owa/", ENDITEM,
"Url=14.2.247.5/themes/base/headerbgright.png", "Referer=https://testmail.999.com.cn/owa/", ENDITEM,
"Url=14.2.247.5/themes/base/headerbgmain.png", "Referer=https://testmail.999.com.cn/owa/", ENDITEM,
"Url=14.2.247.5/themes/base/gradientv.png", "Referer=https://testmail.999.com.cn/owa/", ENDITEM,
"Url=14.2.247.5/themes/base/csssprites2.png", "Referer=https://testmail.999.com.cn/owa/", ENDITEM,
"Url=forms/premium/plt1.aspx", "Referer=https://testmail.999.com.cn/owa/", ENDITEM,
"Url=14.2.247.5/themes/base/csssprites2.css", "Referer=https://testmail.999.com.cn/owa/", ENDITEM,
LAST);
web_custom_request("ev.owa",
"URL=https://testmail.999.com.cn/owa/ev.owa?oeh=1&ns=ClientCache&ev=Get",
"Method=POST",
"Resource=0",
"RecContentType=application/x-javascript",
"Referer=https://testmail.999.com.cn/owa/",
"Snapshot=t4.inf",
"Mode=HTML",
"EncType=",
"Body=<params><canary>c8896ba7b83944daae31992a473209c2</canary></params>",
LAST);
web_custom_request("ev.owa_2",
"URL=https://testmail.999.com.cn/owa/ev.owa?oeh=1&ns=PendingRequest&ev=FinishNotificationRequest&Fn=1&UA=0&cpc=953394;C0:0;C1:0;C2:0;C3:0;C4:0;C5:0;C6:0;C7:0;C8:0;C9:0;C10:0&pfmk=M35:1374653466739;M5:1374653466790;M2:1374653466790;M3:1374653466792;M39:1374653454701;M4:1374653466819",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=https://testmail.999.com.cn/owa/",
"Snapshot=t5.inf",
"Mode=HTML",
"EncType=",
"Body=<params><canary>c8896ba7b83944daae31992a473209c2</canary><Fn>1</Fn></params>",
LAST);
web_url("ev.owa_3",
"URL=https://testmail.999.com.cn/owa/ev.owa?UA=0&oeh=1&ns=PendingRequest&ev=PendingNotificationRequest&canary=c8896ba7b83944daae31992a473209c2",
"Resource=0",
"RecContentType=text/html",
"Referer=https://testmail.999.com.cn/owa/",
"Snapshot=t6.inf",
"Mode=HTML",
LAST);
web_convert_param("Siebel_Analytic_search_id5_URL",
"SourceString={Siebel_Analytic_search_id5}",
"SourceEncoding=HTML",
"TargetEncoding=URL",
LAST);
web_url("owa_2",
"URL=https://testmail.999.com.cn/owa/?ae=Item&a=Preview&t=IPM.Conversation&id=CID.ZF6GXGqTQhaNIhMTRiLZSA%3d%3d.{Siebel_Analytic_search_id5_URL}.oTgAAADkrKIAAAAAeQMAAAAAAAA%3d&pf=1&UA=0&canary=c8896ba7b83944daae31992a473209c2&SP=1",
"Resource=0",
"RecContentType=text/html",
"Referer=https://testmail.999.com.cn/owa/",
"Snapshot=t7.inf",
"Mode=HTML",
LAST);
web_url("owa_3",
"URL=https://testmail.999.com.cn/owa/?ae=Item&a=Preview&t=IPM.Conversation&id=CID.RH3WjrHXRjiUAkIl30t9xA%3d%3d.{Siebel_Analytic_search_id5_URL}.oTgAAADkrKIAAAAAXwMAAAAAAAA%3d&pf=1&UA=0&canary=c8896ba7b83944daae31992a473209c2&SP=1",
"Resource=0",
"RecContentType=text/html",
"Referer=https://testmail.999.com.cn/owa/",
"Snapshot=t8.inf",
"Mode=HTML",
LAST);
return 0;
}报错图在下面
作者:
goal1860
时间:
2013-7-26 07:23
跟踪一下看看Siebel_Analytic_search_id5这个参数有没有包含在响应页里。Siebel的参数有时候是动态的即录制和回放时的参数名称不一致。从命名上来看是有可能自动生成的名称。开发是可以将参数名写死的。先跟踪一下确定问题然后去找开发聊一下怎么解决。
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2