尝试通过MSTest运行脚本时出错 [英] Getting Error while trying to RUN the script via MSTest
问题描述
大家好,
当我从VS 2012 Ultimate Update 4运行脚本时脚本工作正常。
Script is working fine when I run the script from VS 2012 Ultimate Update 4.
但是我我试图通过 MSTest,获取以下错误消息来运行DLL:
But while I am trying to run the DLL through the MSTest, getting below error message :
无法初始化单元测试扩展名'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.
请提出您的建议。
谢谢和问候,Shasitha Kumar Dhal。
Thanks and Regards, Shasitha Kumar Dhal.
推荐答案
Hi Shasitha,
Hi Shasitha,
请问你在哪里跑步 MSTest,远程计算机?如果是这样,请记得正确配置测试控制器和代理。
May I ask where you run MSTest, a remote machine? If so, please remember to configure test controller and agent correctly.
另外请确保包含Microsoft.VisualStudio.TestTools.UITesting.dll
在文件夹中。
Also please make sure that include Microsoft.VisualStudio.TestTools.UITesting.dll within the folder.
期待您的更新。
问候,
Fletcher
这篇关于尝试通过MSTest运行脚本时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!