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

Can someone elaborate on the changes made in RQM 6.0.5 for Execution Variables?

The New and Noteworthy section for RQM 6.0.5 states the following:


"Execution variables can now pass from result to keyword and from keyword to result

During the execution of a manual test script, execution variables are now passed from the previous step to a keyword step. Keywords can use those variables during execution and update their values. Keyword steps can also create new execution variables.

As soon as the keyword execution is finished, updated execution variables are available in the next step as well as in the test case result. Updates to the execution variable are available in the next step, whether it is a manual keyword step, an automated keyword step, or a manual step."

However - 6.0.4 already allowed the value of test script execution variables (type Artifact Variable) to be passed to keywords wherein, if modified (via a 'Set Execution Variable Step') the new value would be available in manual steps that follow the keyword steps.

Since the Help Information on Execution Variables for 6.0.5 does not appear to be noticeably different from that provided in 6.0.4 it is difficult for me to tell what changed for Execution Variables in an operational sense.
Can someone point me to any information that elaborates on this change (beyond what was provided in the 'New and Noteworthy' notes)?

0 votes



One answer

Permanent link

The difference is "Keywords can use those variables during execution and update their values. Keyword steps can also create new execution variables."

Keyword step can set the variable and the updated value will be reflected in the next step. Basically now execution variable will be passed from parent script to keyword script and then keyword script to parent scrit again.

0 votes

Comments

Thank you - but, unfortunately, your answer does not address the fact that the behavior described for 6.0.5 doesn't seem any different that supported in version 6.0.4.  This is the basis for my question - how is it really different from the prior version(s)?.


Try this in 6.0.4

Create a Set Execution Variable Step in the keyword script. Then Try to access that variable in the main script once the keyword execution is over.

Try the same thing in 6.0.5

Also try to use automated keyword and create or set execution variable in the automated script (Commandline Script). Once the keyword execution is over, try to access it from the main script.

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
× 12,027
× 10

Question asked: May 04 '18, 5:08 p.m.

Question was seen: 2,107 times

Last updated: May 08 '18, 5:44 a.m.

Confirmation Cancel Confirm