lr 26366问题解决方案

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

1.问题描述脚本中添加web_reg_find检查点,但回放时提示如下:Action.c(97):Error-26366:Text=完整度notfoundforweb_reg_find[MsgId:MERR-26366]Action.c(97):web_submit_data(j_cas_login)highestseveritylevelwasERROR,72bodybytes,965headerbytes,11chunkingoverheadbytes[MsgId:MMSG-26387]解决方案:页面编码的问题,导致检查点没找到要检查的内容。录制选项中修改编码方式为utf-8即可。2.在LR中录制脚本时有如下问题:在录制时一切正常,而回放时提示类似如下错误:Action.c(41):Error-27979:Requestedformnotfound[MsgId:MERR-27979]Action.c(41):web_submit_formhighestseveritylevelwasERROR,0bodybytes,0headerbytes[MsgId:MMSG-27178]这时在treeview中看不到此组件的相关URL。处理方法如下:1,打开recordingoptions,在internetprotocol下的recording中选择recordinglevel为HTML-basedscrīpt,点击HTMLAdvanced,选择scrīpttype为Ascrīptcontainingexplicit.即可。2,选择使用URL_basedscrīpt录制。另外,附上帮助中的这个错误代码的说明:MessageCode27979RequestedformnotfoundTheformwasnotfoundinthepagereceivedfromtheserver.Possiblereasons:(i)ThecurrentorapreviousHTMLpagewaschangedafterthescrīptwasrecorded.(ii)Apreviousrequestnavigatedtoawrongpageorfailed.(iii)Oneormoreweb_submit_formargumentsaremissingorincorrect(especiallyformanuallycoded,parameterized,orcorrelatedfunctions).(iv)Theserverreturnedanunexpectedpage(e.g.,underexcessiveload).TroubleshootingIfthecurrentorpreviousHTMLpagewaschanged,lookforthecorrectpropertiesoftheformusedinthetext(e.g.,action),andchangeitinthescrīpt.Ifyoursnapshotsandextendedlogaredisabled,enablethemandrunthescrīptagain.(i)ToenableSnapshots:SelectToolsGeneralOptionsCorrelation,andchecktheSavecorrelationinformationduringreplaybox.(ii)ToenableExtendedLog:SelectRun-timeSettingsGeneral:Log,andcheckEnablelogging,Alwayssendmessages,Extendedlog,Datareturnedbyserver,Advancedtrace.Comparetherecordandreplaysnapshotsforeachstepinthescrīptfromthebeginning,andlocatethefirstdifference.Ifyouidentifyadifferenceinthesnapshots,locatethecorrespondingHTTPrequestinboththerecordinglogandtheextendedlog.Comparetherequestsand,iftheyaredifferent,havethereplayissueexactlythesamerequest.Thiscanbedone,forexample,byaddingweb_add_header(foraddingmissingheadersoradjustingexistingones),web_remove_auto_header(forremovingextraheaders),andweb_add_cookie(formissingcookies).Ifsomecorrelationismissing,(e.g.,therecordingandreplayrunshavedifferentsessionIDs),usethecorrelationtooltolocateandhandlesuchcases.解决方案二:3错误:ction.c(34):Error-27727:Stepdownloadtimeout(120seconds)hasexpiredwhendownloadingresource(s).SettheResourcePageTimeoutisaWarningRun-TimeSettingtoYes/Notohavethismessageasawarning/error,respectively[MsgId:MERR-27727]Action.c(34):web_link(****)highestseveritylevelwasERROR,14506915bodybytes,547headerbytes[MsgId:MMSG-26388]EndingactionAction.解决方法:取消选中runtimesettings-browseremulation-downloadnon-htmlresources.解决。

1 / 2
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功