Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » SWTBot GEF element with compartiment(Element of container type)
SWTBot GEF element with compartiment [message #783348] Wed, 25 January 2012 15:07
Thiago Lima is currently offline Thiago LimaFriend
Messages: 2
Registered: January 2012
Junior Member
Helly guys, i'm using swtbot for my tests. I have a grafical aplication (GEF/GMF) in eclipse named TerraME GIMS and i don't know to test the element with compartment.

Take a look in the picture "help". So, situation is: How can i put two element of container type (first and second) inside other element of the same type "env"? Like the picture "help". The name of compartment is: compartmentEnvironment.

I try do this way:

public void canAddEnvironmentToEnvironment(String insideEnv, String outsideEnv) throws Exception{
SWTBotGefEditor editor = bot.gefEditor(bot.activeEditor().getTitle());
bot.toolbarDropDownButtonWithTooltip("Arrange All", 0).click();

But don't work. Later of i put the object "first" inside the object "env", all the objects i try put in env go inside the object first or the last object of container type put in it. Like in the picture "wrong".

So, who accept the challenge?
thx guys
  • Attachment: help.jpg
    (Size: 127.33KB, Downloaded 1104 times)
  • Attachment: wrong.jpg
    (Size: 127.70KB, Downloaded 1082 times)
Previous Topic:Most of the widgets are identified as canvas instead of table
Next Topic:SWTBot GEF element with compartiment
Goto Forum:

Current Time: Tue Jun 19 14:51:56 GMT 2018

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

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

Back to the top