Exception when tracking Web objects

Bug reports.
blatec
Posts: 1
Joined: Fri Apr 03, 2009 9:50 am

Exception when tracking Web objects

Post by blatec » Fri Apr 03, 2009 10:08 am

Start 'iGoogle' and move mouse over Webpage

Ranorex Studio Version : 2.0.1.5691
.NET Version : 2.0.50727.3082
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 2
Current culture : German (Austria) (de-AT)
Current UI language : en-US
Working Set Memory : 10212kb
GC Heap Memory : 42786kb

Exception thrown:
System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'mshtml.IHTMLDocument2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{332C4425-26CB-11D0-B483-00C04FD90119}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at Ranorex.Plugin.WebDocumentFlavorElement.GetChildLineageFromPoint(Point screenLocation, FindRefineMode& refineMode)
at Ranorex.Core.Element.FindFromPoint(Point screenLocation)
at Ranorex.Core.Element.FindFromPoint(Point screenLocation)
at Ranorex.Controls.TrackerCheckBox.DoTracking(Point location, Element rootElement)
at Ranorex.Controls.TrackerCheckBox.SearchElement_Tick(Object source, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

---- Recent log messages:
Failed to append recent log messages.
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at ICSharpCode.SharpDevelop.Sda.LogMessageRecorder.AppendRecentLogMessages(StringBuilder sb, ILog log)
at ICSharpCode.SharpDevelop.Sda.ExceptionBox.getClipboardString()

---- Post-error application state information:
Installed 3rd party AddIns: [RanorexLogViewer, Enabled=True, Action=Enable], [RxObjectRepository, Enabled=True, Action=Enable], [RxRecorder, Enabled=True, Action=Enable], [Workflow Foundation Designer, Enabled=True, Action=Enable], [ElementTree, Enabled=True, Action=Enable]
Workbench.ActiveContent: Ranorex.Addins.ElementTreePad
ProjectService.OpenSolution: [Solution: FileName=C:\Documents and Settings\bla\My Documents\RanorexStudio Projects\BLATEST2\BLATEST2.rxsln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: BLATEST2]

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Post by Support Team » Fri Apr 03, 2009 2:32 pm

Thanks for submitting.
A fix will be included in the upcoming service release V2.0.2

Michael
Ranorex Team