How can we find the Testplan name of the currently executing test script ? USING RQM REST API
Dev K (51●28●33)
| asked Oct 28 '13, 5:46 a.m.
retagged Oct 28 '13, 6:23 a.m. by Sunil Kumar R (1.1k●1●33●44)
Hi ,
we want to know about the currently executing test script's test plan name using RQM API? what are the parameters/information needed for the same ? Thanks Regards, Dev |
Accepted answer
Yes, the TCER (or executionworkitem) contains the reference to the test plan:
https://jazz.net/products/rational-quality-manager/api-doc-4.0.4/schemas/qm_xsd/elements/executionworkitem.html#a35 However, you have to know the ID of the TCER (or executionworkitem). Dev K selected this answer as the correct answer
Comments
Dev K
commented Nov 06 '13, 6:56 a.m.
Hi Paul,
The test case can be associated to one or more test plans. You can find the test plan(s) associated to a test case by using the fields filtering (see https://jazz.net/wiki/bin/view/Main/RqmApi#FieldsExamples):
Yeah , i tried this approach also .. and its working fine . but it can return multiple testplans as at the time of execution a test case associate with only one test plan. and my requirement is to get only that testplan.
1
The only way to determine the test plan at the time of execution is to resolve the test plan associated with the TCER.
Dev K
commented Nov 07 '13, 12:21 a.m.
Hi Paul,
No, the TCER (or executionworkitem) contains the reference to the test plan:
showing 5 of 6
show 1 more comments
|
3 other answers
Hi Dev,
There is no direct association between test scripts and test plans. However, you can resolve the test case associated with the test script using the fields request parameter (see https://jazz.net/wiki/bin/view/Main/RqmApi#fields) and then the test plan associated with the test case. Comments
Dev K
commented Oct 28 '13, 8:34 a.m.
Hi Paul,
|
Hi Paul ,
how can we get TCER id using RQM REST API ? Thanks, Dev Kashyap. Comments You can either:
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.