The page contains 2 IFRAMES. When i click in one of them, the application crashes with the following stack trace. Any idea?
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at mshtml.HTMLWindow2Class.get_frameElement()
at TestRecorder.Core.Actions.ActionElementBase.SetFrame(IHTMLDocument2 doc) in C:\Work\TestRecorder\Core\Actions\ActionElementBase.cs:line 294
at TestRecorder.Core.Actions.ActionElementBase.SetFrameList(IHTMLElement element) in C:\Work\TestRecorder\Core\Actions\ActionElementBase.cs:line 277
at TestRecorder.Core.Actions.ActionElementBase.SetFindMethod(BrowserWindow browser, IHTMLElement element) in C:\Work\TestRecorder\Core\Actions\ActionElementBase.cs:line 260
at TestRecorder.WatinScript.AddClick(BrowserWindow browser, IHTMLElement activeElement) in C:\Work\TestRecorder\Core\WatinScript.cs:line 140
at TestRecorder.frmMain.HookMouseUp(Object sender, MouseHookEventArgs e) in C:\Work\TestRecorder\frmMain.cs:line 416
at Microsoft.Win32.MouseHook.OnMouseUp(MouseHookEventArgs e)
at Microsoft.Win32.MouseHook.RaiseMouseHookEvent(IntPtr wParam, MouseHookEventArgs args)
at Microsoft.Win32.MouseHook.MouseProc(Int32 code, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.UnsafeNativeMethods.GetMessageW(MSG& msg, HandleRef hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at TestRecorder.Program.Main() in C:\Work\TestRecorder\Program.cs:line 73