在本地机器中 运行 编码 UI 测试时没有指定 Id 消息的测试

There is no test with specified Id message while running Coded UI test in local machine

我正在尝试 运行 在我的本地机器上进行编码 UI 测试,但每次我 运行 测试用例时,我都会在输出 window 中收到以下消息。 它不是 运行 任何测试用例。

------ Run test started ------
UTA001: TestClass attribute defined on non-public class 
Raet.Testing.TestScripts.FlexBenefits.Initialization
There is no test with specified Id {ac3b157c-2594-5317-f826-52e0927cee39}.

错误列表中也没有错误信息window。

我正在使用 visual studio 专业版 2015。 我还在我的机器上安装了 Visual studio professional 2017。

在测试装配中,我正在使用 Microsoft.VisualStudio.QualityTools.CodedUITestFramework 版本 14.0

OS - Windows 10. 测试解决方案是使用 visual studio enterprise 2015 创建的 让我知道是否需要更多详细信息。 有人可以帮忙吗?

我用的是visual studio professional 2015。而且professional不支持编码UI。

https://www.visualstudio.com/vs/compare/

为了运行编码UI测试我们必须使用visual studio企业版。 使用企业版,我可以 运行 编码 UI 测试。

我遇到这个问题是因为我在 app.Config 中添加了不正确的条目,而 VS 没有验证相同的内容...删除不需要的条目后,错误没有显示