编码的UI测试版本问题 [英] Coded UI Test Build Issue

查看:103
本文介绍了编码的UI测试版本问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有很多编码的ui测试.我已经更新了tfs2012.当我构建它时,它给出了一个错误.谢谢,问题出在哪里.

I have a lot of coded ui test. I have updated tfs2012. It gives an error when I build it. Where is the problem,thanks.

无法初始化单元测试扩展'urn:CodedUITest':未为以下属性注册单元测试扩展:Microsoft.VisualStudio.TestTools.UITesting.CodedUITestAttribute.

Failed to initialize the unit test extension 'urn:CodedUITest': A unit test extension is not registered for the following attribute: Microsoft.VisualStudio.TestTools.UITesting.CodedUITestAttribute.

推荐答案

如果要在构建过程中运行编码的UI测试,则还必须在构建代理上安装任何测试SKU.配置构建代理作为互动过程.

If you want to run Coded UI Test as part of Build process, you have to install any test SKU on the build agent also configure the build agent  as Interactive process.

请参考下面的链接

http://social.msdn.microsoft .com/Forums/zh-CN/vsautotest/thread/ef0e4db1-66c7-4aa7-ab86-a123d5f94e61


这篇关于编码的UI测试版本问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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