Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi,
I am currently using the IFF (Item Interchange Format).
In fact I have a Test Suite in Integrity with different levels (with test cases and Test Suites included).
I succeed in exporting my Test Suite in IIF format with the field I need, and I succed in parsing it to keep only Test Cases with a specific category.
So at this moment I have an XML file and for instance I modify some fields in this file.
Then I want to re-import it in Integrity. So I parsed it into an IIF file.
But as I keep only Test Cases with a specific category when I parsed it into an IIF file, I have lost the hierarchy of my Test Suite. And when I want to reimport the data which were updated, Integrity wants to erase the previous hierachy of my Test Suite. But what I want is only to update in the hierachy the Test Cases of the Test Suite that I am trying to reimport.
I try to configure the mapping file by using the property owner like that :
<set-property name="owner" value="internal"/>
But the document being imported overrides the document in Integrity which should be the contrary withe the value internal.
If someone has understand my problem and has an explanation, it will be great
Thank you
Nico
Hello Nico,
I think you have done the following:
I suspect this is as designed, because when you import or export a document, you are doing that with the entire document, not just the content in it! In other words, changing the document structure before you import will change the document structure within.
Instead of stripping out the content to prevent it from being modified in some other interface/by scripts, change your interface/script so that the only content that should be modified does get modified.
I hope that helps.
Regards,
Kael