![](/img/trans.png)
[英]how do I prevent resharper 8 from running parallel tests with nunit?
[英]Running Coded UI tests with Resharper/NUnit will not locate Silverlight components
我正在使用 Visual Studio 2010 高級版。 我在瀏覽器中的 Silverlight 應用程序上使用 Coded UI 記錄了測試。
當我使用測試運行器運行測試時,它們通過了。 當我使用 NUnit 運行它們時,它們會打開瀏覽器並正確導航到 HTML 站點,但是一旦測試到達 Silverlight 應用程序,它就無法找到元素。
有沒有人有任何想法? 這是錯誤消息:Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException:播放未能找到具有給定搜索屬性的控件。 其他詳細信息: TechnologyName:'Silverlight' ControlType:'MainPageView' ----> System.Runtime.InteropServices.COMException:對 COM 組件的調用已返回錯誤 HRESULT E_FAIL。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.