Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Jubula: Rename a GMF element
Jubula: Rename a GMF element [message #900736] Wed, 08 August 2012 11:04 Go to next message
vidya bhat is currently offline vidya bhatFriend
Messages: 3
Registered: August 2012
Junior Member

I am writing functional test cases from a gmf application. This application has a "palette" from where the gmf elements are selected and then dropped on the "canvas". These elements can be named be clicking in the editable area inside the element.

Using Jubula "gef toolkit : figure canvas" I am able to select the element from palette and drop it on the canvas. However I am unable to find a test case through which I am name the dropped element.

I am able to identify the name of the editable area inside the element using the GEF inspector. But that isn't helping much. Is there anything I can do with it?

Jubula Object Mapping recognizes the canvas but not the individual elements inside the canvas, so "input via keyboard" option cannot be used.

Also since the elements are of the type "figure canvas" , in order to give a name to the element, do I have to find a test case of the type "figure canvas"??

I would greatly appreciate any help!!

Thank you,
Vidya Bhat
Re: Jubula: Rename a GMF element [message #901492 is a reply to message #900736] Mon, 13 August 2012 07:12 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1612
Registered: July 2009
Senior Member

The figures in a GEF canvas are addressed using their textpath as described in the User Manual and in the Reference Manual.

To perform a rename, I imagine that you'll need to write yourself a reusable module that selects (clicks) the figure, presses e.g. F2 and then enters the text, followed by ENTER.

Previous Topic:Screenshots in PostgreSQL Database
Next Topic:Can't use Excel as data source!
Goto Forum:

Current Time: Sun Jun 24 07:42:50 GMT 2018

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

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

Back to the top