Hi, I am seeing this issue with version TTF 2011.2.1117 with the following config: Win 7 x64, VS2010 with test project built against x86, NUnit 2.5.10.11092 running nunit-x86.exe, IE9. I have uninstalled and reinstalled TTF and setup IE9, but am still having the issue.
GroupCommerce.Tests.UIAutomation.CarAndDriverTests.TestBuy_IE:
System.ApplicationException : Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it.
----> System.TypeInitializationException : The type initializer for 'ArtOfTest.Common.Win32.Connector' threw an exception.
----> System.NullReferenceException : Object reference not set to an instance of an object.
at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch)
at GroupCommerce.Tests.UIAutomation.CarAndDriverTests.AutomationInitialize(BrowserType browserType) in C:\code\Backend\Tests\Automation\FrontendUIAutomation\CarAndDriverTests.cs:line 81
at GroupCommerce.Tests.UIAutomation.CarAndDriverTests.TestBuy_IE() in C:\code\Backend\Tests\Automation\FrontendUIAutomation\CarAndDriverTests.cs:line 147
--TypeInitializationException
at ArtOfTest.Common.Win32.Connector.Start(ConnectorEntryPoint entryPoint, IntPtr windowHandle)
at ArtOfTest.Common.Win32.Connector.Attach(IntPtr& handle, Boolean findTabWindow)
at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
--NullReferenceException
at ArtOfTest.Common.Win32.Connector..cctor()
What should I do to fix this?
Thanks,
CC