Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » SWTBot and Graphiti
SWTBot and Graphiti [message #942674] Sat, 13 October 2012 19:32 Go to next message
Junior Lekane Nimpa is currently offline Junior Lekane Nimpa
Messages: 23
Registered: September 2012
Junior Member
Hello all,
i have just one question.
Is it possible to test a graphiti editor with SWTBot?

Thanks
Junior
Re: SWTBot and Graphiti [message #943476 is a reply to message #942674] Sun, 14 October 2012 14:52 Go to previous messageGo to next message
Andreas Graf is currently offline Andreas Graf
Messages: 151
Registered: July 2009
Senior Member
Yes, on Eclipse Indigo, but SWTBot does seem to have a problem with Eclipse Juno.
Re: SWTBot and Graphiti [message #944811 is a reply to message #943476] Mon, 15 October 2012 05:48 Go to previous messageGo to next message
Michael Wenz is currently offline Michael Wenz
Messages: 1595
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Which problems? We use it to test the Graphiti framework itself and it works
for us with Juno.

Michael
Re: SWTBot and Graphiti [message #944869 is a reply to message #942674] Mon, 15 October 2012 06:27 Go to previous messageGo to next message
Matthias Gorning is currently offline Matthias Gorning
Messages: 81
Registered: April 2010
Location: Germany
Member
Samples can be found in the plugin "org.eclipse.graphiti.bot.tests"

BR,
Matthias
Re: SWTBot and Graphiti [message #945481 is a reply to message #944811] Mon, 15 October 2012 12:15 Go to previous messageGo to next message
Andreas Graf is currently offline Andreas Graf
Messages: 151
Registered: July 2009
Senior Member
I had problems after switching to Juno which I blamed on http://www.eclipse.org/forums/index.php/m/899339/

However, I have now switched to testing my functionality with dark feature processing a lot, so I have not tried recently.

Andreas
Re: SWTBot and Graphiti [message #946706 is a reply to message #945481] Tue, 16 October 2012 12:27 Go to previous messageGo to next message
Junior Lekane Nimpa is currently offline Junior Lekane Nimpa
Messages: 23
Registered: September 2012
Junior Member
Hello all,
where do I get the source code of the plugin
"org.eclipse.graphiti.bot.tests"?
I have the Graphiti SDK , but the above plugin is not contained .
Thanks a lot
Junior
Re: SWTBot and Graphiti [message #946833 is a reply to message #946706] Tue, 16 October 2012 14:52 Go to previous messageGo to next message
Junior Lekane Nimpa is currently offline Junior Lekane Nimpa
Messages: 23
Registered: September 2012
Junior Member
Hello Micheal,

you said that
SWTBot was used to test Graphiti under juno.

But i would like to know, which version of Juno you used to do the tests?

I use currently EClipse 4.2 and i can not test anything with SWTBot.

I am reading through the tutorial of Chris Aniszczyk, and the statement
bot.menu("File");

yield to the exception :
org.eclipse.swtbot.swt.exceptions.WidgetNotFoundException.

So I don't know, if I do something wrong or I should set something.
Did you used a specific setting?


Can someone give an hint?

Thanks a lot.
Junior
Re: SWTBot and Graphiti [message #946910 is a reply to message #946833] Tue, 16 October 2012 16:17 Go to previous messageGo to next message
Andreas Graf is currently offline Andreas Graf
Messages: 151
Registered: July 2009
Senior Member
Hi "Junior",

have a look at the bugzilla that I posted two posts above.

Andreas
Re: SWTBot and Graphiti [message #947597 is a reply to message #946706] Wed, 17 October 2012 08:20 Go to previous messageGo to next message
Michael Wenz is currently offline Michael Wenz
Messages: 1595
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Junior,

you can find the sources of that plugin in our git repo at
http://git.eclipse.org/c/gmp/org.eclipse.gmp.graphiti.git/tree/tests/org.eclipse.graphiti.bot.tests

Michael
Re: SWTBot and Graphiti [message #947598 is a reply to message #946833] Wed, 17 October 2012 08:23 Go to previous message
Michael Wenz is currently offline Michael Wenz
Messages: 1595
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Junior,

we use Eclipse 4.2 for our build and also the tests run against that
version. I can't remember changing any settings when we switched running our
tests from 3.7/3.8 to 4.2.

Michael
Previous Topic:FreeFormConnection and flexibility
Next Topic:Couple Graphiti Editor with XText DSL
Goto Forum:
  


Current Time: Sat Sep 20 02:11:02 GMT 2014

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

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