51Testing软件测试论坛

标题: QTP运行脚本时提示这样的错误 [打印本页]

作者: willchan    时间: 2011-6-2 10:30
标题: QTP运行脚本时提示这样的错误
如题 The "Login" object's description matches more than one of the objects currently displayed in your application. Add additional properties to the object description in order to uniquely identify the object


小弟菜鸟 求助各位大虾帮我解释一下 我明白表面的意思 但是不知道内涵在指什么 谢谢啦
作者: 17800455    时间: 2011-6-2 16:23
就是说, 这个对象有多个.

比如说. 我取name:=WebEdit
如果我只取这个属性.
界面上要是有多个WebEdit ,而且每个对象都有相同的(name = webedit)属性与属性值.
肯定会提示你说的.............\
所以看看适当用index索引去区分吧.

保证对象必须是唯一的才行.
作者: 阳光下的橙子    时间: 2011-6-3 14:15
QTP在目标中找到多个符合此属性标准的对象,需要添加唯一性对象来帮助识别




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2