lr26366问题解决方案

上传人:wan****21 文档编号:134126195 上传时间:2022-08-12 格式:DOCX 页数:2 大小:11.59KB
返回 下载 相关 举报
lr26366问题解决方案_第1页
第1页 / 共2页
lr26366问题解决方案_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述
1.问题描述脚本中添加web_reg_find检查点,但回放时提示如下:Action.c(97): Error -26366: Text=完整度 not found for web_reg_find MsgId: MERR-26366Action.c(97): web_submit_data(j_cas_login) highest severity level was ERROR, 72 body bytes, 965 header bytes, 11 chunking overhead bytes MsgId: MMSG-26387解决方案:页面编码的问题,导致检查点没找到要检查的内容。录制选项中修改编码方式为utf-8即可。2. 在LR中录制脚本时有如下问题:在录制时一切正常,而回放时提示类似如下错误:Action.c(41): Error -27979: Requested form not foundMsgId: MERR-27979 Action.c(41): web_submit_form highest severity level was ERROR, 0 body bytes, 0 header bytes MsgId: MMSG-27178这时在tree view中看不到此组件的相关URL。处理方法如下:1, 打开recording options,在internet protocol下的recording中选择recording level为HTML-based scrpt,点击HTML Advanced,选择scrpt type为A scrpt containing explicit.即可。2, 选择使用URLbased scrpt录制。另外,附上帮助中的这个错误代码的说明:Message Code 27979Requested form not foundThe form was not found in the page received from the server. Possible reasons: (i) The current or a previous HTML page was changed after the scrpt was recorded. (ii) A previous request navigated to a wrong page or failed. (iii) One or more web_submit_form arguments are missing or incorrect (especially for manually coded, parameterized, or correlated functions). (iv) The server returned an unexpected page (e.g., under excessive load).TroubleshootingIf the current or previous HTML page was changed, look for the correct properties of the form used in the text (e.g., action), and change it in the scrpt.If your snapshots and extended log are disabled, enable them and run the scrpt again.(i) To enable Snapshots: SelectTools General Options Correlation, and check theSave correlation information during replaybox.(ii) To enable Extended Log: SelectRun-time Settings General: Log, and checkEnable logging,Always send messages,Extended log,Data returned by server,Advanced trace.Compare the record and replay snapshots for each step in the scrpt from the beginning, and locate the first difference. If you identify a difference in the snapshots, locate the corresponding HTTP request in both the recording log and the extended log. Compare the requests and, if they are different, have the replay issue exactly the same request. This can be done, for example, by adding web_add_header (for adding missing headers or adjusting existing ones), web_remove_auto_header (for removing extra headers), and web_add_cookie (for missing cookies).If some correlation is missing, (e.g., the recording and replay runs have different session IDs), use the correlation tool to locate and handle such cases. 解决方案二:3错误:ction.c(34): Error -27727: Step download timeout (120 seconds) has expired when downloading resource(s). Set the Resource Page Timeout is a Warning Run-Time Setting to Yes/No to have this message as a warning/error, respectively MsgId: MERR-27727Action.c(34): web_link() highest severity level was ERROR, 14506915 body bytes, 547 header bytes MsgId: MMSG-26388Ending action Action.解决方法:取消选中run time settings-browser emulation-download non-html resources.解决 。
展开阅读全文
相关资源
相关搜索

最新文档


当前位置:首页 > 管理文书 > 方案规范


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!