Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Object Mapping not propagated from reused project
Object Mapping not propagated from reused project [message #949001] Thu, 18 October 2012 15:35 Go to next message
Jim Chandler is currently offline Jim Chandler
Messages: 2
Registered: October 2012
Junior Member
We have a team of three testers, all of whom are set up with copies of the same projects. The base project is a set of reusable test cases. It has an AUT set up and working, and object mapping has been carried out on the AUT such that the project's test cases all work.

We are importing this library project into our own workspaces, and using it as a reusable project (basically a set of library test cases) inside our own test projects.

Unfortunately, we are finding that the test cases in the library project all fail with the error "Incomplete Object Mapping for AUT "<our_AUT>".

Our "main" projects are all set to use the same AUT as the library project, and the library project is set to be reusable.

We don't want to have to re-do all of our object mappings on three machines, with all the synchronisation issue that implies.

Is there a way to propagate the object mappings from the library project up into our "main" projects?
Re: Object Mapping not propagated from reused project [message #949079 is a reply to message #949001] Thu, 18 October 2012 17:06 Go to previous messageGo to next message
Achim Loerke is currently offline Achim Loerke
Messages: 349
Registered: July 2009
Location: Braunschweig, Germany
Senior Member

OM is not exported from a project. We would very much like to do it but every time we thought we had a way of doing it someone came up with a case which wouldn't work. But we are open to suggestions. Just keep in mind that the solution must work in every case, including somebody redefining an AUT or OMs, reusing names, mixing in different projects which overlapping AUTs etc.

Achim
Re: Object Mapping not propagated from reused project [message #949588 is a reply to message #949079] Fri, 19 October 2012 05:22 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 1155
Registered: July 2009
Senior Member
Another thing I thought of while reading your post was why the three testers are using copies of the project. Would it not make more sense for them to work in a multi user database on the main project? That way, you still have to perform the object mapping, yes, but only once (I'd then do it in the main project, not in the library project).

Hope that helps,
Alex
Re: Object Mapping not propagated from reused project [message #986900 is a reply to message #949588] Thu, 22 November 2012 10:19 Go to previous messageGo to next message
Jim Chandler is currently offline Jim Chandler
Messages: 2
Registered: October 2012
Junior Member
Thanks all. Not being able to export OM is a problem, but as Alex points out, it's probably mostly because we should be using a database to centralise our tests. We are looking into this now.
Re: Object Mapping not propagated from reused project [message #1049236 is a reply to message #986900] Thu, 25 April 2013 14:49 Go to previous messageGo to next message
Diane Mising name is currently offline Diane Mising name
Messages: 22
Registered: June 2011
Junior Member
We are running into this same issue. We are using a centralized database for our projects. All of our projects are in the same database (some are reusable), but every time we use the reusable project we have to remap our components in the active project. Is this what you would expect or should the object mapping be carried forward when all the projects reside in the same database?
Re: Object Mapping not propagated from reused project [message #1051886 is a reply to message #1049236] Mon, 29 April 2013 10:21 Go to previous message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 1155
Registered: July 2009
Senior Member
Hi,

Yes, this is the expected behaviour. The Object Mapping is not shared between projects.

Best regards,
Alex
Previous Topic:Databasedriver missing/not found
Next Topic:New version of jar available to allow testing of dynamic menus
Goto Forum:
  


Current Time: Mon Oct 20 13:10:33 GMT 2014

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

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