Forum Discussion
- tristaanogreEsteemed Contributor
What you would do is, when setting up the "Run Script Routine", in the parameter, select "Code Expression" and then just enter the constant in the format of "UNIT.VARIABLE".
- scambiasContributor
Hi Robert,
Thank you for your answer.
I tried to, but it seems not to be working. What I get is an argument with "undefined" value.
By the way I tried also from a vbunit A to use a variabile myVar defined in unit B, by accessing with name B.myVar and it works.
- tristaanogreEsteemed Contributor
Can you post your code where you're creating these constants and then post a screenshot showing how you're attempting to use them in a Keyword test?