一个树形菜单,如
A(一级菜单)
|---B1(二级菜单)
|---C1(二级菜单)
|---D1(二级菜单)
且二级菜单B1的属性(text) = "B1",二级菜单C1的属性(text) = "C1",类似。。。
我写的脚本是:
Browser("***").Page("***").Frame("***").Link("text :="&datatable.value("text",dtglobalsheet)).Click
脚本运行失败,提示:The "[ Link ]" 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.
可问题是我用object spy查看了页面其他所有link,并没有属性text的值是重复的啊?