It's all about the answers!

Ask a question

RQM Execution Variables !


Chandrahasa Reddy D (4714460) | asked Aug 23 '12, 8:35 a.m.

Hi,

In RQM can we create execution variables and use them across different test scripts?

for e.g. Var1 defined in Script1, is there any way same Var1 can be used for Scrip2 ?

Please suggest.

3 answers



permanent link
Jerry Shengulette (63914) | answered Aug 23 '12, 10:06 a.m.
JAZZ DEVELOPER
Your best resource would be the available help documentation.  You can start here:

http://pic.dhe.ibm.com/infocenter/clmhelp/v3r0m1/topic/com.ibm.rational.test.qm.doc/topics/c_execvar_overview.html

The link is for version 3.x.  If you're using a different version, simply seach on "Execution Variables".

permanent link
Pramod Chandoria (2.1k11120) | answered Aug 25 '12, 1:05 p.m.
JAZZ DEVELOPER
Chandra,
What is your use case.
Note that execution variables can be shared during Test suite serial execution from one test to next.
If you are using keyword then also execution variables are shared from parent script to child keyword script.
To share execution variable you just need to use same variable name. There is no global variable pool that you can choose from.


Comments
Chandrahasa Reddy D commented Aug 26 '12, 10:11 a.m.

Hi Pramod, Thanks for the input. My use case was basically can we have pool of execution variables where we can re-use these when we construct another test script.


permanent link
Pramod Chandoria (2.1k11120) | answered Aug 27 '12, 7:04 a.m.
JAZZ DEVELOPER
Hi Chandra
That is something not supported as of today

Your answer


Register or to post your answer.