Skip to main content



      Home
Home » Eclipse Projects » SWTBot » Testing RCP application with Ant
Testing RCP application with Ant [message #501116] Tue, 01 December 2009 02:07 Go to next message
Eclipse UserFriend
Hi,

I followed the steps mentioned in http://wiki.eclipse.org/SWTBot/Ant to automate the testing of my RCP application, but it always launch eclipse instead of my RCP application and doesnot do anything. It works fine if I run tests from eclipse.

Regards,
Anubhav Manak
Re: Testing RCP application with Ant [message #502383 is a reply to message #501116] Mon, 07 December 2009 17:21 Go to previous messageGo to next message
Eclipse UserFriend
Anubhav Manak wrote:
> Hi,
>
> I followed the steps mentioned in http://wiki.eclipse.org/SWTBot/Ant to
> automate the testing of my RCP application, but it always launch eclipse
> instead of my RCP application and doesnot do anything. It works fine if
> I run tests from eclipse.
>
> Regards,
> Anubhav Manak
I ran into a similar problem and didn't realize there was a
testApplication (or testProduct) switch to the swtbottestapplication.
If you look at the command line example from the link you specified,
you will see where to include the -testApplication or -testProduct
option. If you have an RCP app, you've probably defined the application
and product so just specify that in the call below. Ketan also
recommended using his ant build.xml example since that has a little bit
error checking if you have bad options
Re: Testing RCP application with Ant [message #502415 is a reply to message #502383] Tue, 08 December 2009 00:36 Go to previous message
Eclipse UserFriend
Hi,

Thanks for reply, I followed the steps mentioned in following link and able to run SWTbot test and generate reports

http://xerus.zugaina.org/dotclear/index.php?post/2009/09/15/ Building-an-RCP-application-including-SWTbot-tests%2C-Cobert ura-coverage

Regards,
Anubhav Manak
Previous Topic:running ui and non-ui tests with swtbot
Next Topic:About testing the TabbedProperty View using SWTBot
Goto Forum:
  


Current Time: Tue Jul 08 22:34:23 EDT 2025

Powered by FUDForum. Page generated in 0.03892 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top