任何关于“UIObject with Id ...”的消息都没有找到小虫? [英] any news regarding "UIObject with Id... was not found" bug ?

查看:96
本文介绍了任何关于“UIObject with Id ...”的消息都没有找到小虫?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://social.msdn。 microsoft.com/Forums/en/vsautotest/thread/6880d271-307c-4528-b41b-174cc4feab3e


建议的解决方法(断言每个丢失的对象)需要大量的时间..


谢谢,Ayelet

解决方案


我找到了比添加断言更容易的解决方法。 基本上,您可以将控件添加到UI控制图中。  以下是步骤。 


  1. 关闭测试版本(已经有待处理的更改,并且会显示错误"已添加与已经
    相同的商品的商品。"
  2. 重新打开"测试"构建器



  1. 单击断言十字线



  1. 将其拖到项目
  2. 单击扇出<<选项以显示UI控制图



  1. 单击"将控件添加到UI控制图"(Ctrl + C)
  2. 您会看到一条消息"已将选定的控件添加到UI控件地图中"
  3. 然后点击"生成代码"



  1. 方法没有选项,因为这只是生成对象。
  2. 点击生成



  1. 现在你可以像平常一样记录你的过程。


 


我希望它有所帮助。


 


麦克


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. 

  1. Close Test Build (Has pending changes in it already and will give the error "An item with the same key as already been added."
  2. Reopen the Test builder

  1. Click on the assertion cross hairs

  1. Drag it to the item
  2. Click the fan out << option to display the UI Control Map

  1. Click on the Add Control to UI Control Map (Ctrl+C)
  2. You see a message "Selected control has been added to the UI control map"
  3. Then click "Generate Code"

  1. There will be no option for a method because this is just generating the object.
  2. Click Generate

  1. Now you can record you process like normal.

 

I hope it helps.

 

Mike


这篇关于任何关于“UIObject with Id ...”的消息都没有找到小虫?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆