51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 3192|回复: 8
打印 上一主题 下一主题

[原创] tools-web Event Recording Configuration的问题!(请斑竹特别关注一下)

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2005-8-8 11:29:09 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我在其他帖子里看到斑竹告诉别人怎样可以增加录制Web事件时设置级别!

只是粗略说了一下,在tools-Web Event...里可以设置,但是具体怎样操作呢?
在Custom seting...里怎样操作呢?

有没有具体的文档可以咨询?

改编他的录制范围,会不会把一些不学要的东西录进去!???
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2005-8-8 14:48:40 | 只看该作者
贴图好麻烦,把图贴在Doc里面了。

[ Last edited by lovetest6 on 2005-8-8 at 15:20 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2005-8-8 14:53:42 | 只看该作者
进入后的界面

点一下Add


增加了一个New Object

改一下名字,要用标准的html tag,比如TD


右面默认的有一个事件

你可以按自己需求来加

原则是这样,如果你要QTP录下你的事件,首先要让他能监听到。比如下面的这个on blur事件。让QTP始终监听,并且录制。Ok?


呵呵,基本的时这些。还有些在你的手册里面。我主要是看看新的截图工具还用不。呵呵:)

还有什么问题么?对了,忘了说了,web object里面如果有和html object里面设置不一样的地方,那么html object里面的设置优先。

[ Last edited by lovetest6 on 2005-8-8 at 15:21 ]
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2005-8-8 15:22:31 | 只看该作者
今天忙,没空多写了。贴一段help里的文字先。

Tips for Working with Event Listening and Recording
It can sometimes be difficult to find the ideal listen and recording settings. When defining these settings, keep in mind the following guidelines:

If settings for different objects in the Objects Pane conflict, QuickTest gives first priority to settings for specific HTML Tag Objects and second priority to Web Objects settings. QuickTest only applies the settings for Any Web Object to Web objects that were not defined in the HTML Tag Object or Web Objects areas.
To record an event on an object, you must instruct QuickTest to listen for the event, and to record the event when it occurs. You can listen for an event on a child object, even if a parent object contains the handler or behavior, or you can listen for an event on a parent object, even if the child object contains the handler or behavior.
However, you must enable recording for the event on the source object (the one on which the event actually occurs, regardless of which parent object contains the handler or behavior).

For example, suppose a table cell with an onmouseover event handler contains two images. When a user touches either of the images with the mouse pointer, the event also bubbles up to the cell, and the bubbling includes information on which image was actually touched. You can record this mouseover event by:

Setting Listen on the <TD> tag mouseover event to If Handler (so that QuickTest "hears" the event when it occurs), while disabling recording on it, and then setting Listen on the <IMG> tag mouseover event to Never, while setting Record on the <IMG> tag to Enable (to record the mouseover event on the image after it is listened to at the <TD> level).
Setting Listen on the <IMG> tag mouseover event to Always (to listen for the mouseover event even though the image tag does not contain a behavior or handler), and setting Record on the <IMG> tag to Enabled (to record the mouseover event on the image).
Instructing QuickTest to listen for many events on many objects may lower performance, so try to limit listening settings to the required objects.
In rare situations, listening to the object on which the event occurs (the source object) can interfere with the event.
If you find that your application works properly until you begin recording on the application using QuickTest, your listen settings may be interfering.

If this problem occurs with a mouse event, try selecting the appropriate Use standard Windows mouse events option(s) in the Advanced Web Options dialog box. For more information, see Advanced Web Options.

If this problem occurs with a keyboard or internal event, or the Use standard Windows mouse events option does not solve your problem, set the listen settings for the event to Never on the source object (but keep the record setting enabled on the source object), and set the listen settings to Always for a parent object.
回复 支持 反对

使用道具 举报

该用户从未签到

5#
发表于 2006-3-20 10:36:03 | 只看该作者
斑竹用的截图工具推荐一下是什么?
回复 支持 反对

使用道具 举报

该用户从未签到

6#
发表于 2006-3-20 13:05:49 | 只看该作者
原帖由 木乃伊 于 2006-3-20 10:36 发表
斑竹用的截图工具推荐一下是什么?

告诉你一个简单的工具,QQ也可以截图
shift+ctrl+A就可以截图了!
回复 支持 反对

使用道具 举报

该用户从未签到

7#
发表于 2006-3-20 13:45:06 | 只看该作者
Adobe reader自带的吧,有个快照功能。哈哈
回复 支持 反对

使用道具 举报

该用户从未签到

8#
发表于 2007-10-18 15:55:11 | 只看该作者
zhichiyixia
回复 支持 反对

使用道具 举报

该用户从未签到

9#
发表于 2010-7-2 11:14:13 | 只看该作者

谢谢指教

谢谢指教
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-9-21 08:42 , Processed in 0.086116 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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