Posted
on Feb 7, 2012
(permalink)
Hello,
I am trying to get the unit tests that are created using Telerik Testing Framework to run automatically on our build machine. When the tests run I get the following error message.
- <![CDATA[
System.NullReferenceException : Object reference not set to an instance of an object.
]]>
</message>
- <![CDATA[
at ArtOfTest.WebAii.Core.Manager.SetupDialogMonitoring()
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect)
at CFCAWeb.SC.Testing.SponsorsOnlineWeb_AccountHome.MySponsorships_TestBreadCrumb() in C:\Inetpub\wwwroot\CFCABeta\CFCAWeb.SC.Testing\Views\SponsorsOnlineWeb_AccountHome.cs:line 98
]]>
</stack-trace>
I used NUnit framework, and used windows scheduler to schedule the run. I have setup the 'Run as' userId as mine. Tests start and run fine If I stay logged on to the machine. However, when I am not logged on to the machine, all the tests fail giving the error message mentioned above. I am using ArtOfTest.WebAii.dll version 2011.2.1305.0.
Any idea how I can get around this issue?
Thanks
Bindu