How to use RQM API to create or update a field in test case
My requirement is to put a URL link in a RQM test case. I think I can create a new field or use current field (ex: test description or note).
But I want to use RQM API to input the URL link into the test case, I check the API document (https://jazz.net/wiki/bin/view/Main/RqmApi), but it seems there is not an API to do this function, is it correct?
Accepted answer
You have a couple of options:
-Description field.
-Custom attribute.
-Custom section.
-Test Case Design section.
References:
https://jazz.net/wiki/bin/view/Main/RqmApi#Common_Usage_Scenarios
https://jazz.net/products/rational-quality-manager/api-doc-5.0/schemas/qm_xsd/elements/testcase.html
-Description field.
-Custom attribute.
-Custom section.
-Test Case Design section.
References:
https://jazz.net/wiki/bin/view/Main/RqmApi#Common_Usage_Scenarios
https://jazz.net/products/rational-quality-manager/api-doc-5.0/schemas/qm_xsd/elements/testcase.html
Comments
Thanks, I can use API to create/update in build-in section and custom section now. But I want to try custom attribute. I try to search it, but it seems not many document describe it. Does it mean I can add some attributes (ex: URL link) in any section (ex: summary)?
Custom attributes are not a resource type (like categories). Instead, you include custom attributes in the test resource (e.g. test case) XML. See https://jazz.net/wiki/bin/view/Main/RqmApi#ScenarioCreateTip to get started.