Visual Studio UI 测试

Visual Studio UI Testing

我在网上搜索了一些奢侈的解决方案,但无济于事。

我正在与一个 UI 测试员一起工作,该测试员由一位已离开公司的人编写。

目前正在打开浏览器测试网站挂起

我不知道我在做什么。

BrowserWindow.CurrentBrowser = "ie";

"An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Microsoft.VisualStudio.TestTools.UITesting.dll

Additional information: Could not load file or assembly 'Microsoft.VisualStudio.TestTools.UITest.WindowsStoreUtility, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified."

找出问题所在。我不能直接运行。我必须通过参数将它传递给 MSTest.exe。

如果您不知道 MSTest.exe 在哪里,这是我的,很可能是您的。

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\MSTest.exe