Author Topic: XMI Export of Tests  (Read 4408 times)

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
XMI Export of Tests
« on: October 29, 2004, 02:47:16 am »
I note there is already a Request for CSV export of tests, but what about XMI export of a diagram's tests - I just want to 'cut and paste' a set of tests from one model to another.

For any other diagram information, you could just create a new package to contain what was required, and export that, but tests do not show up on the Project Browser and so it would be useful to be able to reuse them through export/reimport.

PHoehne

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: XMI Export of Tests
« Reply #1 on: March 02, 2016, 07:41:13 pm »
Is it possible meanwhile? I dont find such a function to export the test scripts to xmi, in EA 12.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +564/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: XMI Export of Tests
« Reply #2 on: March 02, 2016, 08:50:53 pm »
You can export/import the whole model (including test definitions) from and to XMI.

But I think the test scenario's will probably be in an EA specific extension format, so not much use to any tool except for EA or a custom written tool.

Geert

PHoehne

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: XMI Export of Tests
« Reply #3 on: April 29, 2016, 06:28:26 pm »
(How) Is it possible to export the "test scripts" of a use case as .csv?

So the other possibility is to extract the test scripts from the xmi export of the whole model?!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +564/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: XMI Export of Tests
« Reply #4 on: April 29, 2016, 06:51:02 pm »
I'm not sure if you can include those in a .csv.
What I usually try first is to create an SQL search that returns the results I need.
From the results of the search you can easily export to .csv

If that doesn't work (or isn't easy enough because the data is stored as xml in the database or something) then you can always write a little script to create the export using the API.

Geert