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
Eclipse UserFriend
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
Eclipse UserFriend
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 09 23:45:26 GMT 2025

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

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

Back to the top