Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » SWTBot & EEF generated Forms(How to find ReferencesTable?)
SWTBot & EEF generated Forms [message #909720] Fri, 07 September 2012 16:38 Go to next message
John Palof is currently offline John PalofFriend
Messages: 16
Registered: July 2009
Junior Member
I am developing an EEF editor and thought it would be very useful to start using SWTBot to perform testing.

I was stuck on how to find the ReferencesTables in the UI. Since ReferencesTables is not a widget, I couldn't use widgetOfType(ReferencesTable.class) but did discover I can use ChildrenControlFinder on the Table of the ReferencesTables and find the desired table via the org.eclipse.emf.eef.widget.id property on the data.

However, while I was researching this topic I found javadoc on SWTEEFBot and SWTEEFBotHelper, which seems useful, but can't find where the code is stashed. Any pointers to the SWTEEFBot/Helper code and other SWTBot hints for EEF?

Thank you

[Updated on: Fri, 07 September 2012 16:38]

Report message to a moderator

Re: SWTBot & EEF generated Forms [message #909798 is a reply to message #909720] Fri, 07 September 2012 20:28 Go to previous messageGo to next message
John Palof is currently offline John PalofFriend
Messages: 16
Registered: July 2009
Junior Member
I found it in CVS. Sorry for the noise.
Re: SWTBot & EEF generated Forms [message #910713 is a reply to message #909720] Mon, 10 September 2012 09:00 Go to previous message
Goulwen Le Fur is currently offline Goulwen Le FurFriend
Messages: 125
Registered: July 2009
Senior Member
Hi,

The two classes which you are referring are part of an old testing
framework for EEF. We are currently developing a brand new framework for
EEF tests. You can find this work on a contributor branch here :
https://github.com/AxelRICHARD/eef/

The test framework is in the modelingBot plugin (model, edit, editor)
and you have tests samples in the eef NR plugins available here :
https://github.com/AxelRICHARD/eef/tree/master/tests/org.eclipse.emf.examples.eef.tests.junit/src/org/eclipse/emf/samples/tests/junit/modelingbot

The idea of this framework is to design a test scenario with a dedicated
EMF model and to run it with modelingBot.

I plan to released this work in the next EEF version. But you can try it
and give us feedback before :)

Regards,


--
Goulwen

Le 07/09/2012 18:38, John Palof a écrit :
> I am developing an EEF editor and thought it would be very useful to
> start using SWTBot to perform testing.
>
> I was stuck on how to find the ReferencesTables in the UI. Since
> ReferencesTables is not a widget, I couldn't use
> widgetOfType(ReferencesTable.class) but did discover I can use
> ChildrenControlFinder on the Table of the ReferencesTables and find the
> desired table via the org.eclipse.emf.eef.widget.id property on the data.
>
> However, while I was researching this topic I found javadoc on SWTEEFBot
> and SWTEEFBotHelper, which seems useful, but can't find where the code
> is stashed. Any pointers to the SWTEEFBot/Helper code and other SWTBot
> hints for EEF?
>
> Thank you
Previous Topic:[Texo] Programmatically generate POJOs in a standalone project
Next Topic:[Edapt][CDO] EDAPT with CDO
Goto Forum:
  


Current Time: Mon Nov 24 18:03:46 GMT 2014

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

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