Hi!
My automation tests made with WebAii work fine on my PC. I am trying to execute them on a different PC and get an error.
I tried to uninstall / install libraries. It does not help.
Configuration of two PC seems to look identical: WinXP SP3, IE 8.0.6001.18702
Here is the GAC info regarding WebAii libraries:
ArtOfTest.InternetExplorer, Version=2011.2.1413.0, Culture=neutral, PublicKeyToken=5339893a7cefe4d6, processorArchitecture=MSIL
ArtOfTest.ShDocVw, Version=2011.2.1413.0, Culture=neutral, PublicKeyToken=2c87ddee179cbcea, processorArchitecture=MSIL
ArtOfTest.WebAii, Version=2011.2.1413.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c, processorArchitecture=MSIL
Any ideas what may cause the error?
I have found a post simple-ie-8-navigateto-fails with similar error. The solution is clear installation on clear PC. Unfortunately, it will not work in my case.
Every little helps.
Thanks.
My automation tests made with WebAii work fine on my PC. I am trying to execute them on a different PC and get an error.
ArtOfTest.WebAii.Exceptions.ExecuteCommandException : ExecuteCommand failed!
InError set by the client. Client Error:
System.Runtime.InteropServices.COMException (0x80029C4A): Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))
at mshtml.HTMLDocumentClass.IHTMLDocument3_get_documentElement()
at ArtOfTest.InternetExplorer.IECommandProcessor.SetCurrentDocumentMarkup(BrowserCommand& response)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_9b8eedd9-e654-4b7e-aa20-b07eb0f72df9',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.Runtime.InteropServices.COMException (0x80029C4A): Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))
at mshtml.HTMLDocumentClass.IHTMLDocument3_get_documentElement()
at ArtOfTest.InternetExplorer.IECommandProcessor.SetCurrentDocumentMarkup(BrowserCommand& response)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.
TearDown : System.NullReferenceException : Object reference not set to an instance of an object.
at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
at ArtOfTest.WebAii.Core.Browser.RefreshDomTree()
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
at ArtOfTest.WebAii.Core.Browser.InternalNavigateTo(Uri uri)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(Uri uri)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(String url)
at Utilities.WebAii.Navigate(Area area, String url) in WebAii.cs: line 238
at Forms.UserUI.PageNavigator.Navigate(String url) in PageNavigator.cs: line 89
at Forms.UserUI.UserArea.Navigate(String url) in UserArea.cs: line 59
at Tests.Mixed.Test.TestTest() in Test.cs: line 86
--TearDown
at NUnit.Framework.TestContext.ResultAdapter.get_State()
at Tests.BaseTest.TearDownBase() in BaseTest.cs: line 80
I tried to uninstall / install libraries. It does not help.
Configuration of two PC seems to look identical: WinXP SP3, IE 8.0.6001.18702
Here is the GAC info regarding WebAii libraries:
ArtOfTest.InternetExplorer, Version=2011.2.1413.0, Culture=neutral, PublicKeyToken=5339893a7cefe4d6, processorArchitecture=MSIL
ArtOfTest.ShDocVw, Version=2011.2.1413.0, Culture=neutral, PublicKeyToken=2c87ddee179cbcea, processorArchitecture=MSIL
ArtOfTest.WebAii, Version=2011.2.1413.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c, processorArchitecture=MSIL
Any ideas what may cause the error?
I have found a post simple-ie-8-navigateto-fails with similar error. The solution is clear installation on clear PC. Unfortunately, it will not work in my case.
Every little helps.
Thanks.