[ 本帖最后由 rain_wind 于 2006-4-27 20:10 编辑 ]作者: qrz2000 时间: 2006-4-27 21:28
添加了后,还要启用图片检查才行的作者: jut984907 时间: 2006-4-28 10:42 标题: 呵呵 2楼说的透彻;
3楼补充的好;
赞一个作者: shengyan 时间: 2006-5-26 13:05
alt是什么意思?作者: mm_louis 时间: 2006-5-26 16:29
每天进步一点点,欢迎大家一起讨论共同提高~~~~作者: johngan 时间: 2006-5-26 17:13
int web_image_check(const char *CheckName, <List of Attributes>, "Alt=Alt", "Src=Src", LAST );
到 LR function reference里找下web_image这个函数就知道 ALT和SRC是什么了作者: Zee 时间: 2006-5-26 17:39
在tree view里添加方便点。作者: lidian36 时间: 2006-8-1 11:27
看了之后 又提高了不少 ! 谢谢!作者: jeanjing00 时间: 2006-8-2 14:27
顶啊,学习了。作者: cocochu 时间: 2006-8-3 16:35 标题: 烦,不会完善脚本 烦,不会完善脚本作者: bigbug 时间: 2006-10-18 03:04 标题: anyone has idea on that? I have this script to check the image:
web_image_check("web_image_check",
"Src=Images/test.gif",
LAST);
after I run it and I get this result:
Confirmation.c(8): Error -27191: "web_image_check" failed (0 occurrence(s) found. Alt="", Src="Images/test.gif") [MsgId: MERR-27191]
Confirmation.c(8): web_image_check highest severity level was "ERROR" [MsgId: MMSG-26391]
The source code like that:
<form method="post" action="" enctype="application/x-www-form-urlencoded">
<input type="image" name="Book Another" src="/MercuryWebTours/images/bookanother.gif" border="0" /></form>
So, anybody has idea about that? What is worng with my script?作者: bigbug 时间: 2006-10-18 03:11 标题: a little mistake sorry all,
the above script, I just add the wrong image name for my image check, but anyway, when I use the same name in the script as source code, it has same error for me.
Pls give me any suggestion? Thx!作者: bigbug 时间: 2006-10-18 04:28 标题: a little mistake sorry all,
the above script, I just add the wrong image name for my image check, but anyway, when I use the same name in the script as source code, it has same error for me.
Pls give me any suggestion? Thx!作者: jut984907 时间: 2006-10-18 09:41 标题: 看楼上用英文,比较晕啊~~ 今天有看到这个帖子,以前也不太会使用这个image检查点。下面举例说明:
录制 http://www.google.com
会打开google首页,看源文件如此 <img src="/intl/zh-CN_ALL/images/logo.gif" width=286 height=110 alt="Google"> 。
那么,我加入检查点
web_image_check("web_image_check",
"Src=intl/zh-CN_ALL/images/logo.gif",
"Alt=Google",
LAST);
在设置中使用检查点。
回放后即可成功。如果修改src为logo.gif1,或alt 为google1,则都失败。作者: jut984907 时间: 2006-10-18 09:47
至于楼上的例子,我以为这样即可
web_image_check("web_image_check",
"Src=images/bookanother.gif",
LAST);作者: bigbug 时间: 2006-10-18 22:15
I have this script to check the image:
web_image_check("web_image_check",
"Src=Images/bookanother.gif",
LAST);
sorry guys, I didn't notice what the difference with your script and mine. Am I right?作者: hmilyjch 时间: 2006-12-28 09:40
web_image_check("web_image_check",
"Alt=Images/bookanother.gif", //是alt
LAST);作者: wangyong3552128 时间: 2007-2-28 11:36
2楼可以这样,Src和Alt写道一起去,简单