任何关于“UIObject with Id ...”的消息都没有找到小虫? [英] any news regarding "UIObject with Id... was not found" bug ?
本文介绍了任何关于“UIObject with Id ...”的消息都没有找到小虫?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
http://social.msdn。 microsoft.com/Forums/en/vsautotest/thread/6880d271-307c-4528-b41b-174cc4feab3e
建议的解决方法(断言每个丢失的对象)需要大量的时间..
谢谢,Ayelet
解决方案
我找到了比添加断言更容易的解决方法。 基本上,您可以将控件添加到UI控制图中。 以下是步骤。
- 关闭测试版本(已经有待处理的更改,并且会显示错误"已添加与已经
相同的商品的商品。"- 重新打开"测试"构建器
- 单击断言十字线
- 将其拖到项目
- 单击扇出<<选项以显示UI控制图
- 单击"将控件添加到UI控制图"(Ctrl + C)
- 您会看到一条消息"已将选定的控件添加到UI控件地图中"
- 然后点击"生成代码"
- 方法没有选项,因为这只是生成对象。
- 点击生成
- 现在你可以像平常一样记录你的过程。
我希望它有所帮助。
麦克跨度>
http://social.msdn.microsoft.com/Forums/en/vsautotest/thread/6880d271-307c-4528-b41b-174cc4feab3e
the suggested work around (assertion for each missing object) takes lots of time..
thanks, Ayelet
解决方案
Hi,
I found a slightly easier workaround than adding assertions. Basically you can add the control to the UI Control Map. Here are the steps.
- Close Test Build (Has pending changes in it already and will give the error "An item with the same key as already been added."
- Reopen the Test builder
- Click on the assertion cross hairs
- Drag it to the item
- Click the fan out << option to display the UI Control Map
- Click on the Add Control to UI Control Map (Ctrl+C)
- You see a message "Selected control has been added to the UI control map"
- Then click "Generate Code"
- There will be no option for a method because this is just generating the object.
- Click Generate
- Now you can record you process like normal.
I hope it helps.
Mike
这篇关于任何关于“UIObject with Id ...”的消息都没有找到小虫?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文