Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Is there a way to modify external DB Tables from within a Jubula test ?
Is there a way to modify external DB Tables from within a Jubula test ? [message #1711732] Mon, 19 October 2015 13:06 Go to next message
Joost Andrae is currently offline Joost AndraeFriend
Messages: 12
Registered: January 2014
Junior Member
Hi,

I'm just planning a more complex integration test with Jubula where I need to touch some interface tables of an external PostgreSQL db.

1. do I need to add an additonal JDBC driver to Jubula ?
2. is there an API for such SQL statements ?

Kind regards, Joost
Re: Is there a way to modify external DB Tables from within a Jubula test ? [message #1711736 is a reply to message #1711732] Mon, 19 October 2015 13:20 Go to previous message
Achim Loerke is currently offline Achim LoerkeFriend
Messages: 376
Registered: July 2009
Location: Braunschweig, Germany
Senior Member

Hi Joost,

since there is no API in Jubula to support DB queries you actually would have to use one of three options:

  1. Write a function (which is called when using the ? modifier in data entries) to access the DB.
  2. Write an extension which would extend something like Application and do your DB stuff in there.
  3. Wait a few weeks until direct Java method calls are available in Jubula - at least for Java based UI toolkits. You still would have to do the DB stuff on your own.

- Achim
Previous Topic:Working with Data Sets
Next Topic:How to view the contents of embedded.h2.db file
Goto Forum:
  


Current Time: Sun Feb 25 21:12:51 GMT 2024

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

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

Back to the top