I'm not sure how easy it will be to give you a reproducible example. bot.editor was working for me also and still works with other editors. There was a change made to this editor and it broke my test code. This is not code I implemented but I have taken a look at it. It is not obvious to me why the change caused the editor to no longer be found. I'll do some more work on this end and get back to you.
Thanks again for your help. Bob -----Original Message----- From: Ketan Padegaonkar [mailto:[EMAIL PROTECTED] Sent: Saturday, October 04, 2008 6:27 AM To: swtbot-users@lists.sourceforge.net Subject: Re: [SWTBot-users] RCP testing question I'm able to use bot.editor, and that's what most of the tests that we use at work use, all the time. The SWTBotEclipseEditor.findEditors() is more like convenience API which is used internally. I'm not sure how and why I marked it public. Clearly this could be a bug in SWTBot. Could you provide more information as to what's happening, along with some stacktrace on the bugzilla (bugs.swtbot.org) ? Stuff I can reproduce would be useful. -- Ketan On 04-Oct-08, at 3:42 PM, Bob Mattei wrote: > > Wow - thanks for the quick response, > > I didn't state the problem clearly. > > The problem is I can find the editor using > SWTBotEclipseEditor.findEditors() but not with bot.editor(editorName). > > Also if I try to instantiate a new SWTBotEclipseEditor > > Also, if I try to instantiate a new SWTBotEclipseEditor with the > IEditorReference returned by findEditors it throw the > WidgetNotFoundException. > > There seems to be no way for me to get an SWTBotEclipseEditor for this > editor. ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ SWTBot-users mailing list SWTBot-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/swtbot-users http://swtbot.org/ - a functional testing tool for SWT/Eclipse ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ SWTBot-users mailing list SWTBot-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/swtbot-users http://swtbot.org/ - a functional testing tool for SWT/Eclipse