Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Retrieving running RQM Test Case Name from RFT

I have an RFT script which many test cases use. The script needs to determine which test case RQM is running in order to retrieve the correct data to execute. In 2.0, I was able to retrieve the test case name simply by getting the system property "rqm.task" and getting the <testCaseName> element. In 3.0, however, this element seems to have been removed from the rqm.task xml file.

To try to help myself, I thought I would use the executionWorkItem href listed in this xml to find the testcase href. Then I could find the test case name from that. This is all working, however, currently I have to use my own user ID and password (LDAP) to authenticate to RQM. Many other users use this script and I would like to avoid having them put their username/password somewhere in a config file.

Is there any way to use the current adapter's credentials via API? Is there any other way to get the test case name (or ID) through some other means? Is there any way the testCaseName could just be put back in the rqm.task file? :wink:

0 votes



One answer

Permanent link
This is a known regression that has been fixed in RQM 3.1.0.2.

Please see the following work item for additional details:

60673: Include test case name information in rqm system task xml file

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 27 '12, 4:33 p.m.

Question was seen: 6,950 times

Last updated: Jan 27 '12, 4:33 p.m.

Confirmation Cancel Confirm