I'm getting the following error when I attempt to run tests against Chrome, Firefox, or Safari. It does still work with IE. These tests worked prior to upgrading to 2014.2.618.
Test Name: TelerikChromeTest
Test FullName: Telerik.UnitTest1.TelerikChromeTest
Test Source: C:\Files\Visual Studio 2012\Projects\Telerik\Telerik\UnitTest1.vb : line 58
Test Outcome: Failed
Test Duration: 0:00:00.111429
Result Message:
Test method Telerik.UnitTest1.TelerikChromeTest threw exception:
System.ArgumentNullException: Value cannot be null.
Parameter name: path1
Result StackTrace:
at System.IO.Path.Combine(String path1, String path2)
at ArtOfTest.WebAii.Messaging.Process.HostsProxy.Start()
at ArtOfTest.WebAii.Messaging.Process.HostsProxy.RegisterListener(MessageListener listener)
at ArtOfTest.WebAii.Messaging.Process.ExecutionMediator.RegisterManager(Manager manager)
at ArtOfTest.WebAii.BrowserSpecialized.Chrome.ChromeActions.LaunchNewBrowserInstance(Manager manager)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser()
at Telerik.UnitTest1.TelerikChromeTest() in C:\Files\Visual Studio 2012\Projects\Telerik\Telerik\UnitTest1.vb:line 68
I was able to duplicate using this simple snippet of code:
<TestMethod()> Public Sub TelerikChromeTest()
Dim Url As String = "http://msn.com"
Dim s As New Settings
s.Web.DefaultBrowser = BrowserType.Chrome
Dim myManager = New Manager(s)
myManager.Start()
myManager.LaunchNewBrowser()
myManager.ActiveBrowser.NavigateTo(Url)
myManager.ActiveBrowser.Close()
myManager.Dispose()
End Sub
I appreciate any suggestions on resolving this issue.
Thank you.
Test Name: TelerikChromeTest
Test FullName: Telerik.UnitTest1.TelerikChromeTest
Test Source: C:\Files\Visual Studio 2012\Projects\Telerik\Telerik\UnitTest1.vb : line 58
Test Outcome: Failed
Test Duration: 0:00:00.111429
Result Message:
Test method Telerik.UnitTest1.TelerikChromeTest threw exception:
System.ArgumentNullException: Value cannot be null.
Parameter name: path1
Result StackTrace:
at System.IO.Path.Combine(String path1, String path2)
at ArtOfTest.WebAii.Messaging.Process.HostsProxy.Start()
at ArtOfTest.WebAii.Messaging.Process.HostsProxy.RegisterListener(MessageListener listener)
at ArtOfTest.WebAii.Messaging.Process.ExecutionMediator.RegisterManager(Manager manager)
at ArtOfTest.WebAii.BrowserSpecialized.Chrome.ChromeActions.LaunchNewBrowserInstance(Manager manager)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser()
at Telerik.UnitTest1.TelerikChromeTest() in C:\Files\Visual Studio 2012\Projects\Telerik\Telerik\UnitTest1.vb:line 68
I was able to duplicate using this simple snippet of code:
<TestMethod()> Public Sub TelerikChromeTest()
Dim Url As String = "http://msn.com"
Dim s As New Settings
s.Web.DefaultBrowser = BrowserType.Chrome
Dim myManager = New Manager(s)
myManager.Start()
myManager.LaunchNewBrowser()
myManager.ActiveBrowser.NavigateTo(Url)
myManager.ActiveBrowser.Close()
myManager.Dispose()
End Sub
I appreciate any suggestions on resolving this issue.
Thank you.