51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2297|回复: 3
打印 上一主题 下一主题

[原创] Object identification 有个Enable smart identification,How to configure this?

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2008-2-26 15:01:32 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
这个是干吗用的?如何设置?对此不清楚     望高手指点   紧急   谢谢
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2008-2-26 15:13:18 | 只看该作者
我翻译成:智能识别对象机制
简单讲就是如果对象在回放时不能识别了,就会开启这个功能,智能的识别对象。。有时候很好用,不过,有时候它真的是一点也不智能。
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2008-2-26 15:16:38 | 只看该作者
建议不启用......
回复 支持 反对

使用道具 举报

该用户从未签到

4#
 楼主| 发表于 2008-2-26 15:29:56 | 只看该作者

Ok I have learned that form Help Doc Than you all

When QuickTest uses the recorded description to identify an object, it searches for an object that matches every one of the property values in the description. In most cases, this description is the simplest way to identify the object and unless the main properties of the object change, this method will work.

If QuickTest is unable to find any object that matches the recorded object description, or if it finds more than one object that fits the description, then QuickTest ignores the recorded description, and uses the Smart Identification mechanism to try to identify the object.

While the Smart Identification mechanism is more complex, it is more flexible, and thus, if configured logically, a Smart Identification definition can probably help QuickTest identify an object, if it is present, even when the recorded description fails.

The Smart Identification mechanism uses two types of properties:

Base filter properties—The most fundamental properties of a particular test object class; those whose values cannot be changed without changing the essence of the original object. For example, if a Web link's tag was changed from <A> to any other value, you could no longer call it the same object.
Optional filter properties—Other properties that can help identify objects of a particular class as they are unlikely to change on a regular basis, but which can be ignored if they are no longer applicable.
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-11-15 03:43 , Processed in 0.065480 second(s), 25 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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