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:
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.
"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."
One answer
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.
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.