This looks like a problem with the WatiNTestRecorder. You should ask that team for assistance.
However you do not need to use the test recorder to make tests. I think you will get better and more maintable tests if you write them by hand. I especially recommend making use of WatiN Page and Control subclasses to keep your automation code organized. Jeff On Oct 28, 2009, at 9:25 AM, Shai Pardo <[email protected]> wrote: > i try testing reports a Test Recorder , but : > > > 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) > > > > > -- > Att. > > Shaiene Pardo > Tester > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MbUnit.User" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mbunituser?hl=en -~----------~----~----~----~------~----~------~--~---
