标题: Object identification 有个Enable smart identification,How to configure this? [打印本页] 作者: 7444 时间: 2008-2-26 15:01 标题: Object identification 有个Enable smart identification,How to configure this? 这个是干吗用的?如何设置?对此不清楚 望高手指点 紧急 谢谢作者: calvin_wang 时间: 2008-2-26 15:13
我翻译成:智能识别对象机制
简单讲就是如果对象在回放时不能识别了,就会开启这个功能,智能的识别对象。。有时候很好用,不过,有时候它真的是一点也不智能。作者: hsjzfling 时间: 2008-2-26 15:16
建议不启用......作者: 7444 时间: 2008-2-26 15:29 标题: 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.