Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Suggested built-in actions for database, file manipulation
Suggested built-in actions for database, file manipulation [message #882705] Thu, 07 June 2012 02:37 Go to next message
Andrew H is currently offline Andrew HFriend
Messages: 7
Registered: June 2012
Junior Member
Do you guys have plans to provide actions for running sql scripts, and file and directory manipulation (i.e. copy, move, delete)?

I understand that scripts can be called from the executeExternalCommand action to do this, however as set up for databases/config files with test data for an AUT is very common, I think it would be great to have some built-in support for this in Jubula.


[Updated on: Thu, 07 June 2012 03:05]

Report message to a moderator

Re: Suggested built-in actions for database, file manipulation [message #882769 is a reply to message #882705] Thu, 07 June 2012 06:54 Go to previous message
Achim Loerke is currently offline Achim LoerkeFriend
Messages: 357
Registered: July 2009
Location: Braunschweig, Germany
Senior Member

The problem here is creating a generic implementation which covers most use cases. This is not that hard for file and directory operations but those are covered quite good by external scripts.

We have thought about database DDL and DML statements but we ran into several problems.
a) We would have to support (at least) all major database systems. Since DDL is not really standardized, this would create a maintenance nightmare.
b) To access the database, drivers would be necessary. Since most of them are not EPL conform, another maintenance and configuration problem would arise.
c) To provide a good user experience, editors and other tools would be necessary. We just don't have the resources to do this.

If you can provide good requirements/use cases/solutions to these topics (or even better some code) we would be happy to investigate further.

As a do-it-yourself solution you may (ab)use the newly introduced functions for parameter values and implement database or filesystem access yourself. This can easily be done by adding functions to an extension point. Please make it generic and contribute Wink
Previous Topic:Quick question about TestCase collaboration
Next Topic:Screenshot comparison
Goto Forum:
  


Current Time: Sat Dec 20 20:25:23 GMT 2014

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

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