Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Running SWTbot test heedlessly (Place to download org.eclipse.swtbot.eclipse.test-2.0.0.187-dev.zip)
Running SWTbot test heedlessly [message #1063927] Sun, 16 June 2013 03:13 Go to next message
Yatin Phatak is currently offline Yatin PhatakFriend
Messages: 2
Registered: June 2013
Junior Member
I am new to SWTbot testing framework. I wrote sample test and I want to run that test against sample product from command line.I was following http://wiki.eclipse.org/SWTBot/Ant this article and it requires you to download org.eclipse.swtbot.eclipse.test-2.0.0.187-dev.zip and I am not sure from where to download this file. Can anyone help with that.

Thanks
Re: Running SWTbot test heedlessly [message #1064265 is a reply to message #1063927] Tue, 18 June 2013 13:47 Go to previous messageGo to next message
Deepak Malhotra is currently offline Deepak MalhotraFriend
Messages: 2
Registered: June 2013
Junior Member
I am also looking for the download location of the headless zip of swtbot so that I can run my tests from Jenkins and through command line. Is the support for running swtbot tests headlessly still there?

Re: Running SWTbot test heedlessly [message #1064291 is a reply to message #1064265] Tue, 18 June 2013 14:50 Go to previous messageGo to next message
Yatin Phatak is currently offline Yatin PhatakFriend
Messages: 2
Registered: June 2013
Junior Member
Hello Deepak

Required org.eclipse.swtbot.eclipse.junit.headless_XX.jar is located in $Eclipse_Home\plugin folder itself.

I was able to run test from ant only if I export my RCP product with test plugin.

But What i want to achieve is export my test plugin in my already existed RCP product and then run test. I am not able to do that till now. Problem is when I copy my test plugin with its dependencies in my RCP product plugin folder it doesnt change $Eclipse_Home\configuration\ org.eclipse.osgi\.bundledata file [which has plugin names that needs to load @ start] and I dont know how to change that file manually. Since that file dont have information about org.eclipse.swtbot.eclipse.junit.headless_XX.jar and my test plugin , both doesnt load @ runtime

Do anyone know how to achieve that ?

Thanks
Yatin
Re: Running SWTbot test heedlessly [message #1064402 is a reply to message #1064291] Wed, 19 June 2013 06:10 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 769
Registered: July 2009
Location: Grenoble, France
Senior Member
Why don't you use the p2-based approach, which is much better and safer
than the manual zip based one? It's explained a few lines above the zip
based approach on the same page.

--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Previous Topic: SWT Bot upgradation issues
Next Topic:swtBot UI tests execution using maven tycho
Goto Forum:
  


Current Time: Wed Nov 26 05:39:51 GMT 2014

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

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