How do I read the name of the Test Environment of the currently executing RQM test from RFT test script ?
In my Rational Functional Tester Java script I want to be able to read the Test Environment of the currently executing RQM test case. Is there some way of doing this ?
|
Accepted answer
Hi Paul, This was introduced in 4.0. https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/35822 Thanks, Deepa Paul Sandie selected this answer as the correct answer
|
One other answer
Hi Paul,
You could use the built-in execution variables to obtain information about the test environment. RQM_CONFIGURATION execution variables given below are test environment related. https://jazz.net/library/article/809 has a section on how to use the built in variables in a Command Line script through an environment variable. These built-in variables should be available within the RFT script similarly. Thanks Deepa Built-in execution variablesIn certain cases your test might need to obtain information about the test execution environment it is running in, such as the name of the test suite or the test case that is being run. Built-in execution variables provide environment information. To enable built-in variables, select the Include built-in variables check box in the Execution Variables section of the test script editor.
When this check box is selected, the following additional execution variables are created:
Comments
Paul Sandie
commented Oct 29 '13, 9:56 a.m.
Hi Deepa,
|
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.