51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2088|回复: 2
打印 上一主题 下一主题

[原创] 帮看看报的错是什么意思,有脚本代码

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2009-3-19 17:01:32 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
录的就是点开页面的"高级检索",错误信息指向在红色代码段
以下是错误信息
Action.c(81): Error -27995: Requested link ("Text=高级检索") not found          [MsgId: MERR-27995]
Action.c(81): web_link("高级检索") highest severity level was "ERROR", 0 body bytes, 0 header bytes          [MsgId: MMSG-26388]
以下是脚本代码
#include "web_api.h"


Action()
{
        web_add_cookie("JSESSIONID=00004dYY_tK0_Dv3pewjtcLi8-l:13pmdb50m; DOMAIN=vvv.ha.cp");

        web_add_cookie("IV_JCT=%2Fcgrs; DOMAIN=vvv.ha.cp");

        web_url("vvv.ha.cp",
                "URL=http://vvv.ha.cp/",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=https://vvv.ha.cp/wps/themes/html/red/images/images/top_1.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/themes/html/red/images/images/top_3.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo8/images/red2_1.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo8/images/red2_2.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo8/images/red2_3.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo3/images/red3_3.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo3/images/red3_1.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo3/images/red3_4.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo3/images/middle-1-line.jpg", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo2/images/red2_1.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo7/images/red2_1.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo7/images/red2_2.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo2/images/red2_3.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo7/images/red2_3.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo6/images/red2_2.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo6/images/red2_1.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo6/images/red2_3.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo9/images/red2_2.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo9/images/red2_3.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo9/images/red2_1.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo9/images/red2_4.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo3/images/red3_2.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo2/images/red2_2.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo4/images/vision-1title_bj_02.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/wps/skins/html/redmo9/images/red2_5.gif", "Referer=https://vvv.ha.cp/wps/myportal", ENDITEM,
                "Url=https://vvv.ha.cp/cgrs/cgrs/w5/left-arrow-1.gif", "Referer=https://vvv.ha.cp/cgrs/cgrs/w5/first.htm?para2=value2&ColumnID=4", ENDITEM,
                "Url=https://vvv.ha.cp/jccx/pics/zxzt090319.jpg", "Referer=https://vvv.ha.cp/jccx/jccx/cx.asp?para2=value2&ColumnID=5", ENDITEM,
                "Url=https://vvv.ha.cp/jccx/pics/zxzt090314.jpg", "Referer=https://vvv.ha.cp/jccx/jccx/cx.asp?para2=value2&ColumnID=5", ENDITEM,
                "Url=https://vvv.ha.cp/jccx/pics/%E4%B8%80%E5%91%A8%E7%BB%BC%E8%BF%B0.jpg", "Referer=https://vvv.ha.cp/jccx/jccx/cx.asp?para2=value2&ColumnID=5", ENDITEM,
                "Url=https://vvv.ha.cp/jccx/pics/%E5%8F%B0%E6%B9%BE%E6%83%85%E5%86%B5.jpg", "Referer=https://vvv.ha.cp/jccx/jccx/cx.asp?para2=value2&ColumnID=5", ENDITEM,
                "Url=https://vvv.ha.cp/jccx/pics/%E4%BC%9F%E5%A4%A7%E7%9A%84%E5%8E%86%E7%A8%8B.jpg", "Referer=https://vvv.ha.cp/jccx/jccx/cx.asp?para2=value2&ColumnID=5", ENDITEM,
                "Url=https://vvv.ha.cp/jccx/pics/%E5%BA%94%E5%AF%B9%E4%B8%96%E7%95%8C%E9%87%91%E8%9E%8D%E6%B5%B7%E5%95%B8%E5%B1%95%E6%9C%9B%E6%9C%AA%E6%9D%A5%E4%B8%AD%E5%9B%BD%E7%BB%8F%E6%B5%8E%E8%B5%B0%E5%8A%BF.jpg", "Referer=https://vvv.ha.cp/jccx/jccx/cx.asp?para2=value2&ColumnID=5", ENDITEM,
                "Url=https://vvv.ha.cp/jccx/pics/%E8%85%BE%E9%A3%9E%E7%9A%84%E4%B8%AD%E5%9B%BD.jpg", "Referer=https://vvv.ha.cp/jccx/jccx/cx.asp?para2=value2&ColumnID=5", ENDITEM,
                "Url=https://vvv.ha.cp/jccx/pics/%E9%AB%98%E4%B8%BE%E8%A7%A3%E6%94%BE%E6%80%9D%E6%83%B3%E7%9A%84%E4%BC%9F%E5%A4%A7%E6%97%97%E5%B8%9C.jpg", "Referer=https://vvv.ha.cp/jccx/jccx/cx.asp?para2=value2&ColumnID=5", ENDITEM,
                "Url=https://vvv.ha.cp/jccx/pics/%E6%B7%B1%E5%85%A5%E5%AD%A6%E4%B9%A0%E7%A7%91%E5%AD%A6%E5%8F%91%E5%B1%95%E8%A7%82.jpg", "Referer=https://vvv.ha.cp/jccx/jccx/cx.asp?para2=value2&ColumnID=5", ENDITEM,
                "Url=https://vvv.ha.cp/cgrs/cgrs/y1/left-arrow-1.gif", "Referer=https://vvv.ha.cp/cgrs/cgrs/y1/first.htm?para2=value2&ColumnID=5", ENDITEM,
                "Url=https://vvv.ha.cp/uniscms/jsp/image/weXX-_11.gif", "Referer=https://vvv.ha.cp/uniscms/jsp/mail.jsp?para2=value2&ColumnID=3", ENDITEM,
                "Url=https://vvv.ha.cp/uniscms/jsp/image/dqXX-_03.gif", "Referer=https://vvv.ha.cp/uniscms/jsp/notic.jsp?para2=value2&ColumnID=4", ENDITEM,
                "Url=https://vvv.ha.cp/jccx/pics/zxzt090315.jpg", "Referer=https://vvv.ha.cp/jccx/jccx/cx.asp?para2=value2&ColumnID=5", ENDITEM,
                "Url=https://vvv.ha.cp/jccx/pics/zxzt090330.jpg", "Referer=https://vvv.ha.cp/jccx/jccx/cx.asp?para2=value2&ColumnID=5", ENDITEM,
                LAST);

        lr_think_time( 6 );

        web_set_certificate_ex("CertIndex=1",
                LAST);

        web_link("高级检索",
                "Text=高级检索",
                "Snapshot=t2.inf",
                EXTRARES,
                "Url=/uniscms/jsp/image/qeXX-_02.gif", ENDITEM,
                "Url=/uniscms/jsp/image/yw_08.gif", ENDITEM,
                "Url=/uniscms/jsp/image/etXX-_05.gif", ENDITEM,
                LAST);
        return 0;

[ 本帖最后由 shangyy0124 于 2009-3-19 17:03 编辑 ]
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2009-3-20 11:00:27 | 只看该作者
呵呵,方法对,解决了,谢谢!!
回复 支持 反对

使用道具 举报

该用户从未签到

2#
发表于 2009-3-20 01:07:31 | 只看该作者
1, 打开recording options,在internet protocol下的recording中选择recording level为HTML-based scrīpt,点击HTML Advanced,选择scrīpt type为A scrīpt containing explicit.即可。

2, 选择使用URL_based scrīpt录制。
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-23 07:22 , Processed in 0.084460 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表