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 #783355] Wed, 25 January 2012 15:16
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 below, should look this way. So, situation is: How can i put two element of container type (firstEnv and secondEnv) inside other element of the same type (env)? Like in the picture below. The name of compartment is: EnvironmentCompartment.


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, looks like in the picture below and it's wrong. 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.


So, who accept the challenge?
thx guys
  • Attachment: help.jpg
    (Size: 127.33KB, Downloaded 178 times)

[Updated on: Wed, 25 January 2012 15:20]

Report message to a moderator

Previous Topic:SWTBot GEF element with compartiment
Next Topic:Integration Testing
Goto Forum:

Current Time: Sun Oct 23 06:13:38 GMT 2016

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

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