We are getting error when trying to launch internet explorer in a silverlight test (coded, not recorded). Internet explorer is launched correctly, but we get an exception:
Setup code:
Exception:
Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it.
Uncategorized: DialogMonitor.Start() : Using: ArtOfTest.WebAii, Version=2011.1.712.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c
Uncategorized: DialogMonitor.Start() : OS: Microsoft Windows NT 6.1.7601 Service Pack 1
DialogPlayback: Manager.SetupDialogMonitoring() : Beginning monitoring for dialogs from the set {}.
UIAutomation: UIAutomationWindowMonitor.get_Instance() : Added a(n) WindowPatternIdentifiers.WindowOpenedProperty handler on element System.Windows.Automation.AutomationElement scope Descendants.
Framework: DialogMonitor.Start() : The current ActiveBrowser is either invisible or disconnected.
Framework: InternetExplorerActions.LaunchNewBrowserInstance() : Process launched (ID=13160, Path="C:\Program Files (x86)\Internet Explorer\iexplore.exe", Arguments="-nomerge about:blank").
Framework: Manager.LaunchNewBrowser() : Attempting to attach on IE frame (HWND=924970)...
Error: [unknown]() : Unable to open key HKLM\SOFTWARE\Telerik
Framework: Context.AfterScenario() : The current ActiveBrowser is either invisible or disconnected.
Framework: Context.AfterTestRun() : The current ActiveBrowser is either invisible or disconnected.
Framework: Manager.End() : Connecting to the provisioning pipe "Pipe.ArtOfTest.WebAii.BrowserProvisioner_-464670241" in order to unblock and eventually terminate it...
Framework: Manager.End() : Provisioning pipe connected.
Framework: ExecutionContext.runTryCode() : A new client has connected to the provisioning pipe but this will be treated as a termination cue.
Framework: Manager.End() : Provisioning thread terminated.
DialogPlayback: Manager.End() : Dialog monitoring is being halted.
Search: 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.
How can we fix?
Thanks,
Jon