My replies inline. The mailing list has moved and you'll find better 
luck finding answers at news://news.eclipse.org/eclipse.swtbot than here :)

On 16/1/09 19:24, Marc Guéguéniat wrote:
> But now I want to switch to another app (a rcp eclipse app too).
> So I opened 'run configuration' and change 'run a product' to the
> product I want to test.
>
> But then swtbot  seems to do nothing.
> My app launches well, it displays its splash screen and then a form to
> fill in.

That's because SWTBot has not received control at this point. The form 
you're referring to is loaded before SWTBot receives control.

For the sake of tests you'll need disable the form and set the form 
parameters using some different method. I recommend some JVM flag 
-Denable_test_mode that turns this off.

> Any idea?
> I can see that org.rcpmail.test has a plugin dependency with org.rcpmail.
> I don't know where this comes from. Maybe there should be a dependency
> to my app?

Having a dependency to your app is not necessary. I have a tendency to 
add it in so that I can reuse my actual code from within tests.

-- Ketan

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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

Reply via email to