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 07:04 Go to next message
vidya bhat is currently offline vidya bhat
Messages: 3
Registered: August 2012
Junior Member
Hi,

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 03:12 Go to previous message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 1052
Registered: July 2009
Senior Member
Hi,

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.

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


Current Time: Wed Apr 16 18:48:31 EDT 2014

Powered by FUDForum. Page generated in 0.02519 seconds