|
小弟刚刚看到描述编写脚本的地方,就拿自己的项目做实验,就过走到这里就报错,尝试在o/i中删除type这个属性还是报错,尝试不删除type 然后在描述中加入这个type:=text这个属性 还是报错。有大牛看看到底是什么问题引起的嘛?已经折腾了一上午了 ,一点头绪都没有了
代码片段- Set ObjwebeditEmail = Description.Create()
- ObjwebeditEmail("html tag").Value = "INPUT"
- ObjwebeditEmail("name").Value = "WebEdit"
- Browser(ObjBrow).Page(ObjPage).WebEdit(ObjwebeditEmail).Set "qtp_username_1"
复制代码 报错如下:
The "[ WebEdit ]" 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.
Line (33): "Browser(ObjBrow).Page(ObjPage).WebEdit(ObjwebeditEmail).Set "qtp_username_1"".
Tip: If the objects in your application have changed, the Maintenance Run Mode can
help you identify and update your steps and/or the objects in your repository. |
|