Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: ebeb on November 20, 2009, 09:00:27 pm

Title: Is there a EA API?
Post by: ebeb on November 20, 2009, 09:00:27 pm
Hi!

I was just thinking about the test cases in EA which doesn't really cover the whole workflow we want to implement or they are at least not as handy as other tools are.

So, the question is, if we are using another tool for system test e.g. is there a way to access and modify EAs data somehow? Like e.g.
Step 1: Read out system test cases from EA (especially their IDs and creating test cases in another system)
Step 2: Running tests
Step 3: Writing the resutls (failes, passed etc.) back to EA's test cases

Step 3 isn't extremely necessary... However, what could be interesting e.g. is a tool for issue tracking that can read out the components and requirements and maybe classes from EA and create issues in EA that link to a specific class or requirement.

I just read the post from paolo  (http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1258686609) who posted a VB script to accces the Jet DB directly.

Is this the best practice or is there a real API to connect to a running EA instance e.g.? The moment I write that, I start doubting because that would mean that a kind of server instance of EA needs to run somewhere permanently...

Whatever you suggest, could you point to a documentation? E.g. a data base achitecture and data type description.

Thanks,

-Jan
Title: Re: Is there a EA API?
Post by: Paolo F Cantoni on November 20, 2009, 09:55:12 pm
Quote
[size=18]...[/size]
I just read the post from paolo  (http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1258686609) who posted a VB script to access the Jet DB directly.
[size=18]...[/size]
Hi Jan,

This was a VERY special case as I wanted to get the MS Access metadata; NOT anything directly to do with EA.

There are MANY ways to interact with EA in a programmatic sense.  Just open the EA Help file and look at the SDK.

Sometimes, however, you do need to get to the DB directly - because the API doesn't provide the needed functionality.

HTH,
Paolo
Title: Re: Is there a EA API?
Post by: ebeb on November 21, 2009, 02:04:14 am
Quote
Just open the EA Help file and look at the SDK.

Perfect! I new there must be something as the EA help is VERY good. I just didn't know where to start.

Thanks!

Jan