播放无法找到具有给定搜索属性的控件(VSTS Coded Ui) [英] playback failed to find the control with the given search properties(VSTS Coded Ui)

查看:88
本文介绍了播放无法找到具有给定搜索属性的控件(VSTS Coded Ui)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以记录操作并为编码的UI测试生成代码。如果我运行Coded UI测试,我得到一个例外:


Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException:播放无法找到具有给定搜索属性的控件

  其他详细信息:

TechnologyName:  'Web'

ControlType:  '框架'

TagName:  'IFRAME'

I can record actions und generate code for the Coded UI Test. If I run the Coded UI Test, I got a exception:
Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException: The playback failed to find the control with the given search properties
 Additional Details:
TechnologyName:  'Web'
ControlType:  'Frame'
TagName:  'IFRAME'

以下是方案:我将文档上传到sharepoint2010.i我能够获得最高
add文档链接,点击添加文档后打开文件上传控件在这里我收到上述错误。

Here is the scenario :I am uploading document into sharepoint2010.i am able to acapture up to add document link ,after clicking add document it is opening with file upload control here i am getting the above error.

 如果有人可以给我一些建议,这将是对我来说非常紧急。



提前致谢,

 if someone can give me some advice, this would be great.it is very very urgent for me.

Thanks in advance,

Balanarasimha

Balanarasimha

推荐答案

嗨Balanarasimha,

Hi Balanarasimha,

在Sharepoint中,您需要检查的是您在录制中使用的ID或任何搜索属性是否已经更改为什么它开始失败

In Sharepoint you need to check is the ID or any search properties you have used in recording has been changed that why it start failing

要再次检查上述问题,请检查搜索属性并在自动更新的代码文件和XML文件中进行更新。

To overcome the above problem again check the search properites and updated in auto genaerated code file and also in XML file .

然后尝试它将起作用

谢谢

Abhishek Lohani

Abhishek Lohani


这篇关于播放无法找到具有给定搜索属性的控件(VSTS Coded Ui)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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