Update XML file to link Test case to artifact
Good morning,
One answer
I doubt you get an answer on this kind of question. It is as open as it gets and there are no details at all, that could help answering it, even if someone wanted to spend hours trying to answer.
Comments
Thank you for your answer. Let me explain you the process I was trying to follow:
- I have some text files produced by robot framework with information about some Test Suites.
- I parse those files using python and I produce some xml files to import into QM. The thing is that I dont know how to import a Test Suite xml either manually or using a rest api call (I have never used the rest api for QM purposes, just for RM data).
- When I create those test cases, I also need to fulfill a custom attribute called "Custom ID". Would this be possible from the XMl file or the rest api call?
- Additionally I would need to link the artifacts to the tests. I will check the documentation you provided me for that.
So this is the process I am following. My main doubts now are:
Is it possible to import test suites directly from xml?
Could you provide me an example of the rest api used to import a test case/test suite?
Is it possible to modify custom attributes from the xml file?(in this case what should I add to the xml file?)
Is it possible to modify custom attributes from the rest api call?
Thanks in advance,
There is a ETM Copy Utility that uses the Reportable REST API to copy ETM Artifacts. The Reportable REST API supports XML as content type. The code for the tool is available.
As already mentioned, you can answer your question about the custom attributes by using these APIs to export/read the data and have a look. I would assume yes until then.