Note that there are some explanatory texts on larger screens.

plurals
  1. POselenium dotnet tests from MSBuild in firefox fail
    primarykey
    data
    text
    <p>I try to execute a coded UI test (<code>BrowserWindow.CurrentBrowser = "firefox";</code>) from MSBuild but the "firefox" never launch and the build failed show the next error:</p> <pre><code>Test method SolutionX.UITests.NewTestUIX.NewtTestMethod threw exception: System.NullReferenceException: Object reference not set to an instance of an object. </code></pre> <p>Error Detail:</p> <pre><code> Microsoft.VisualStudio.TestTools.UITest.Extension.CrossBrowserProxy.ProxyFirefoxDriver.&lt;&gt;c__DisplayClass54.&lt;.ctor&gt;b__52() Microsoft.VisualStudio.TestTools.UITest.Extension.CrossBrowserProxy.FuncInvoker.InvokeMethod[T](Func`1 function) Microsoft.VisualStudio.TestTools.UITest.Extension.CrossBrowserProxy.ProxyFirefoxDriver..ctor(ProxyFirefoxProfile profile) Microsoft.VisualStudio.TestTools.UITest.Extension.CrossBrowser.BrowserServices.FirefoxBrowserService.InitializeWebDriver(String[] args) Microsoft.VisualStudio.TestTools.UITest.Extension.CrossBrowser.CrossBrowserService.&lt;.cctor&gt;b__1(String[] args) Microsoft.VisualStudio.TestTools.UITest.Extension.CrossBrowser.CrossBrowserService.Launch(Uri uri) Microsoft.VisualStudio.TestTools.UITest.Extension.CrossBrowser.CrossBrowserFactory.Launch(Uri uri) Microsoft.VisualStudio.TestTools.UITesting.BrowserWindow.LaunchPrivate(Uri uri) Microsoft.VisualStudio.TestTools.UITesting.BrowserWindow.&lt;&gt;c__DisplayClass3d.&lt;Launch&gt;b__3c() Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod[T](Func`1 function, UITestControl control, Boolean firePlaybackErrorEvent, Boolean logAsAction) Microsoft.VisualStudio.TestTools.UITesting.BrowserWindow.Launch(Uri uri) SolutionX.UITests.UIMap.StartApp() in c:\SolutionX\Builds\Agent1\SolutionX\IntegrationSolutionX\Sources\SolutionX.UITests\UIMap.Designer.cs: line 1334 SolutionX.UITests.NewTestUIX.NewtTestMethod() in c:\SolutionX\Builds\Agent1\SolutionX\IntegrationSolutionX\Sources\SolutionX.UITests\NewTestUIX.cs: line 33 </code></pre> <p>But later I try with "chrome" and it work fine, the error only appeared with "firefox".</p> <p>The coded UI tests with "firefox" in my local machine works fine, but from MSBuild did'nt work.</p> <p>I have a test scenario with a SPA (<a href="http://www.johnpapa.net/spa/" rel="nofollow">Hottowel from John Papa</a>) with the next versions:</p> <pre><code>I use Breeze 1.4.5, Durandal 2.0.1, Knockout 3.0.0, Bootstrap 3.0, jquery 2.0.3 </code></pre> <p>I have the next versions:</p> <pre><code>Firefox 25 Google Chrome 29.0.1547.76 m chromedriver_win32_2.3 selenium-dotnet-strongnamed-2.35.0 VS2013 Machine of build: Windows Server 2012 </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload